Commit Graph

52 Commits

Author SHA1 Message Date
hardya
68f300c2ca Fixes made for #102, #103, #49, #108
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3504 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 16:23:12 +00:00
hardya
073c5f5230 Updated enquiries in response to #102.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3502 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 15:32:27 +00:00
hardya
791472e9a6 Add Qmax to modules.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3498 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 13:47:04 +00:00
hardya
224e841305 Add module Qmax to bulk load process and quotation generation.
Add tripartite_agreement_message to mip_quotation.pck (supported by mip_tripartite.pck). Produces a message when enquiry does not meet tripartite requirements.

Removed extraneous role types for Seed/prtp.ctl and Seed/rt.ctl.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3497 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 12:25:46 +00:00
hardya
ee3dcd0ad9 Alter bulk_load routines to match discussions with Gareth regarding costs.
Added 'quotation_text' and 'contact_text' to regions, to be used during quote document generation.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3494 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-07 17:52:22 +00:00
hardya
60256b0834 Include missing '/'
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3491 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-07 17:09:34 +00:00
hardya
12f2693a5c Changes to schema and code to place 'id' as PK field in quote_events and enquiry_events as part of ticket #78.
Changed BULK_LOAD.xls to have two tabs to represent costs. Also includes QMAX against module - none of these changes are represented in the current code.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3480 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-06 17:28:44 +00:00
hardya
e4547a542b Add support for system calls (ticket #77).
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3465 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-05 10:28:17 +00:00
hardya
5fc6600a34 Added missing row_number to the select list.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3458 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-04 17:43:14 +00:00
hardya
6c4617b1c3 Bulk Load: Latest version of POSTCODES.csv.
Data/Seed and Data/Test: Correction to apau.ctl to remove duplicates.

Modules/compile.sql: Correction to 'report' query.

Schema/ext...: Check whether external tables have been defined before attempting to drop them.

Schema/v_...: Force creation of views that rely on PL/SQL code. Explicitly name the column returned by V_QUOTE_DETAILS.vw so that the comments can be applied.



git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3452 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-04 10:49:50 +00:00
PriestJ
f9672916f0 ah made changes to build scripts to fix a few errors
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3416 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 13:11:12 +00:00
hardya
7e4f08658b Amend mip_quotation to refer to a permanent table for validation results.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3409 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 11:33:37 +00:00
hardya
db78bf5c4c DatabaseItemToFunctionalSpecificationReference.xls - renamed METY_CODE to EXISTING_METY_CODE, included DISPLAY_SEQUENCE to be used in the generation of emails, etc.
Minor internal changes to operation of cout_assert.pck and cout_err.pck.
mip_quotation.pck - made validation routines open to external processes. Added enquiry entry details to manual quotes.

Schema - Removed data_items table and amended data_item_roles to support display_sequence requirements.



git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3407 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-28 18:41:24 +00:00
hardya
8638b8b2ae Modules/mip_helper_special_cases.pck - correction to rule OM-4
Modules/mip_quotation.pck - add prty_id and owner_prty_id to quote status procedures to record the relevant roles. Add debug routine 'pl' to write a log file of processing. Tidy-up email wording.
Modules/mip_regions.pck - convert given postcode to uppercase before processing.
Modules/mip_virus_check.pck - started work on the virus checking module. So far, just have the ability to write a document to the filesystem. Added new directory, 'WEBMIP_VIRUS' to store these files in.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3381 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-23 18:24:40 +00:00
hardya
7311d92835 Seed/enst.ctl - add INVALID status
Documentation/Design/DatabaseItemToFunctionalSpecificationReference.xls - add rule O-M5
Documentation/pldoc - regenerated
Modules/mip_helper_special_cases.pck - make reference to Tripartite rule O-M5 (handled by mip_quotation.pck and mip_tripartite.pck
Schema - removed DATA_ITEM_ROLES_IMPORT, added views of enquiries and quote statuses

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3354 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-22 17:59:56 +00:00
hardya
e3911c7920 Added missing ext_dataitem_role.pdc
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3324 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 19:09:21 +00:00
hardya
32dac70391 Updated 'mandatory' field checks.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3322 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 18:56:25 +00:00
hardya
564c5ef063 Schema Changes:
Enquiries - renamed LOGGER_REQUIRED to EXISTING_LOGGER
Enquiries - renamed METY_CODE to EXISTING_METY_CODE

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3310 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 11:03:06 +00:00
hardya
e9b5c5a125 mip_quotation.pck - produce quotes for 'EXCHANGE'
V_QUOTE_DETAILS.vw - include hou_code

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3303 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-18 16:04:45 +00:00
mullenm
7864d2d918 Added Qmin and column comments to make it easier for other people.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3263 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-16 14:46:43 +00:00
hardya
13c9c0ca97 Changes made to support Bulk Load.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3255 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-15 18:45:58 +00:00
mullenm
eb64acbad1 git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3241 248e525c-4dfb-0310-94bc-949c084e9493 2008-01-15 11:20:32 +00:00
mullenm
156c554e00 Added a new view v_quote_details to display details of the quotes to end users for selection purposes.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3193 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-10 15:39:07 +00:00
hardya
79abbc473b Changes to the number of columns in the external tables.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3182 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-09 20:10:56 +00:00
hardya
f3c3bb281f Add external table definitions to support bulk loading.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3172 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-08 18:15:32 +00:00
hardya
01b5b4c979 Add V_LACO.vw - shows labour costs
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3149 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-07 17:29:06 +00:00
hardya
d20518e58a Changed quote_items to have primary key on column 'id'. Sequence quit_seq added to service this PK.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3061 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-21 17:35:45 +00:00
hardya
0bde1c86c3 Schema changes
New Tables:
Quote_reasoning - record internal processes against quote
additional_items - moved from within Costs

Changed Tables:
Costs
Quote_items
Bases
Housings
Quotes
Meters
Modules

Views: As listed against this revision.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3057 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-21 11:29:21 +00:00
mullenm
5d03fac7f4 git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3030 248e525c-4dfb-0310-94bc-949c084e9493 2007-12-19 17:08:09 +00:00
mullenm
843d4688c4 new view - v_current_contact_mechanisms
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3029 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-19 17:02:57 +00:00
mullenm
c3ef18948b Created new view to display the current address for each party in the system.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3022 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-18 17:30:02 +00:00
mullenm
b03c49fb3b Created new view to display the current address for each party in the system.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3020 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-18 17:27:54 +00:00
hardya
2e88e639ca Add views of COSTS table, include effectivity details.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3017 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-18 17:13:38 +00:00
PriestJ
c71e701c68 we only need the id of the party in the party_addresses view, not the names username etc.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3012 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-18 15:30:14 +00:00
hardya
bb77d61785 Added support for Tripartite agreement:
Table REGI_ENQU_EXCLUSIONS to intersect Region, Enquiry Type and (optionally) Additional Item - used to record all the things that a Non-Tripartite cannot do.
Table PARTIES has column TRIPARTITE_MEMBER (YES/NO) added for use of Market Participant.

Removed EXISTING_SVCP_CODE from ENQUIRIES table - not required.


git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3005 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-14 15:15:30 +00:00
hardya
429ac5f909 Documentation
New and amended ERDs.

Schema
Added support for documents.
Added modules to costs.

Data
Added document role types.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2983 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-12 16:30:57 +00:00
mullenm
fdf867a445 New views added for new user management screens.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2969 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-11 18:05:45 +00:00
mullenm
672bbd5c8d changed some column names to fit in with the schema.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2950 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-06 16:28:33 +00:00
mullenm
af84aa6416 New view the list eh supplier administrator associated with each supplier in the system.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2949 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-06 15:05:32 +00:00
mullenm
2e32554efb Added new view v_supplier_administrators to list the administrators associated with each supplier in the system.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2948 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-06 15:05:07 +00:00
hardya
7877296419 Changed InstallMIP.cmd to allow 6th parameter to indicate data to be loaded after the Seed.
Added missing schema tables.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2893 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-27 16:23:36 +00:00
hardya
2920f4d016 Scheme Changes:
Replaced Access_Controls with APEX_AUTHORISATION
Created POSTCODES, ERROR_LOGS and SYSTEM_CONFIGURATION.
Added missing columns to ENQUIRIES, REGULATORS, etc.
Added views V_PROFILE_RT_CODE_FOR_ENRO.vw, V_PARTY_RELATIONSHIPS.vw, V_LATEST_RT_CODE_FOR_ENRO.vw.

Modules:

Added cout_err.pck, cout_system_configuration.pck.

Data:

Added Data/Demo files
Added Data/Seed files for postcodes, regions and DatabaseItemToFunctionalSpecificationReference.csv

Documentation:

Added Documentation/pldoc for plsqldoc-generated files.
Added Documentation/SupportingDocumentation/Regions to hold region definition information.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2890 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-27 11:48:13 +00:00
hardya
b736bb6136 Modules:
Added cout_assert.pck - provides assertion utilities.
Added cout_err.pck - 'standard' error logging utilities.
Added gen_mandatory.prc - generates packages to provided mandatory field checks.

Schema:
Changed primary key of ENQUIRIES to an ID (also made sequence ENQU_SEQ available).
Changes ENQUIRIES.CONSUMER_NAME to FIRST_CONTACT_NAME.
Added tables DATA_ITEMS and DATA_ITEM_ROLES to support Modules/gen_mandatory.prc.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2865 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-16 16:43:58 +00:00
hardya
f174ac7747 Schema Changes:
Attributes (generally size and dimensions) added to REGULATORS, BASES and HOUSINGS.
Changed primary keys on CONNECTION_ORIENTATIONS, FILTERS, REGULATORS to be 'code' rather than 'id'-based.
Altered ENQUIRIES to make contact names, addresses and contact mechanisms explicit within the enquiry rather than using the general contact mechanism.

Seed Data:
Changed 'code' values for HOUSING_TYPES, METER_TYPES, REGULATOR_TYPES and SERVICE_PRESSURES to match their descriptions.

Documentation:
Updated Documentation/Design/DatabaseItemToFunctionalSpecificationReference.xls in line with schema changes.

Demo Data:
Includes modules and related data from the MIP140306 Access database.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2857 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-15 10:29:55 +00:00
hardya
fcbdbb3d4b Modified METERS and MODULES tables to have standard dimension columns as per MIP5.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2854 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-14 10:05:59 +00:00
hardya
63161f1e4a Added Documentation/Design/DatabaseItemToFunctionalSpecificationReference.xls as a cross reference between table columns and Functional Specification appendix data items. Incomplete - requires completion of mandatory column information.
Schema Modifications: Removed column 'Outlet Pressure' from ENQUIRIES table.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2852 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-13 17:17:01 +00:00
hardya
010740d3ce Added table BYPASS_REASONS
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2850 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-13 15:24:20 +00:00
hardya
e18a8f6cb7 Removed 'not null' requirements from ENQUIRIES table to allow the saving of an incomplete enquiry.
Corrected Data/Seed/enrt.ctl and Data/Seed/part.ctl to allow enquiry roles to be loaded.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2845 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-12 17:21:32 +00:00
hardya
f5e160010b New tables:
PASSWORDS - holds history of passwords for parties
 ACCESS_CONTROLS - hold page, item / role information for authorization purposes.

Modified tables:
 ENQUIRIES - meter size removed. Replaced by foreign key to METER_SIZE_CODES.
 COSTS - includes AICO_CODE and DESCRIPTION for use as cost details for Additional Items.

General modifications:
 Yes/No columns modified to VARCHAR2(3)

Modules:
 Added mip_security.pck. Supports Authentication and Authorization (update of the original POC version)

Respository:
 Created new directory structure to hold persistent data. Currently includes Data/Seed for base table values and Data/Demo to populate various party and relationship tables.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2838 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-12 12:07:25 +00:00
hardya
edbf2fc279 Added tables service_pressure_types and meter_size_codes.
Added missing attributes to enquiries table.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2829 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-08 15:13:45 +00:00