Add processing to make it clearer which application build has been produced and to link the schema with the correct application (AssociateSchema.sql, SetSubstitution.sql, bulk_load.sql and InstallMIP.cmd)

Changes to schema: METERS now have 'MESC_CODE'. Associated changes in the bulk_load routines and initial changes to mip_quotation.pck (needs confirmation testing).

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3830 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2008-03-04 12:03:03 +00:00
parent bb5a22951a
commit dbcb349c45
14 changed files with 250 additions and 81 deletions

View File

@@ -1,4 +1,4 @@
COLUMN_NAME ,Appendix Reference,INSTALL,STD INSTALL,OFMAT,EXCHANGE,STD EXCHANGE,REMOVE,STD REMOVE,ADVERSARIAL,ALTERATION,CHANGE CAPACITY,"ADDONS(EMS,AMR)",OTHER,Notes,DisplaySequence
COLUMN_NAME ,Appendix Reference,INSTALL,STD INSTALL,OFMAT,EXCHANGE,STD EXCHANGE,REMOVE,STD REMOVE,ADVERSARIAL,ALTERATION,CHANGE CAPACITY,ADDONS(EMS,AMR),OTHER,Notes,DisplaySequence
INSTALL_BUILDING,Address.Building,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,,1
INSTALL_CITY,Address.City,M,M,M,M,M,M,M,M,M,M,M,M,,2
FIRST_CONTACT_NAME,Address.Contact Name,M,M,M,M,M,M,M,M,M,M,M,M,,3
@@ -23,10 +23,10 @@ FIRST_CONTACT_TELEPHONE_1,Contact Address.Telephone1,M,M,M,M,M,M,M,M,M,M,M,M,,21
SECOND_CONTACT_TELEPHONE_1,Contact Address.Telephone1,O,O,O,O,O,O,O,O,O,O,O,O,,22
FIRST_CONTACT_TELEPHONE_2,Contact Address.Telephone2,O,O,O,O,O,O,O,O,O,O,O,O,,23
SECOND_CONTACT_TELEPHONE_2,Contact Address.Telephone2,O,O,O,O,O,O,O,O,O,O,O,O,,24
AMR_REQUIRED,Job Information.Additional Services.AMR,O-M5,O-M5,H,O-M5,O-M5,H,H,H,O-M5,O-M5,O-M5,O-M5,"The AMR may only be available for the Tripartite suppliers or BG, GW to confirm!",25
AMR_REQUIRED,Job Information.Additional Services.AMR,O-M5,O-M5,H,O-M5,O-M5,H,H,H,O-M5,O-M5,O-M5,O-M5,The AMR may only be available for the Tripartite suppliers or BG, GW to confirm!,25
BASE_REQUIRED,Job Information.Additional Services.Base,M,M,H,M,M,H,H,H,M,M,H,M,,26
BYPASS_REQUIRED,Job Information.Additional Services.By-pass,O,O,H,O,O,H,H,H,O,O,O,O,"If yes, warn user if twin stream is no",27
CONVERTOR_REQUIRED,Job Information.Additional Services.Convertor,M,M,H,M,M,M,M,M,M,M,M,M,this can be an add-on for removals,28
BYPASS_REQUIRED,Job Information.Additional Services.By-pass,O,O,H,O,O,H,H,H,O,O,O,O,If yes, warn user if twin stream is no,27
CONVERTOR_REQUIRED,Job Information.Additional Services.Convertor,M,M,H,M,M,H,H,H,M,M,M,M,this can be an add-on for removals,28
EMS_REQUIRED,Job Information.Additional Services.EMS,M,M,H,M,M,H,H,H,M,M,M,M,,29
HOUSING_REQUIRED,Job Information.Additional Services.Housing,M,M,H,M,M,H,H,H,M,M,H,M,,30
TWIN_STREAM_REQUIRED,Job Information.Additional Services.Twin Stream,M,M,H,M,M,H,H,H,M,M,H,M,,31
@@ -47,7 +47,7 @@ MARKET_SECTOR_CODE,Job Information.Market Sector Code,O,O,O,O,O,O,O,O,O,O,O,O,,4
QMAX,Job Information.Measuring Capacity Qmax,M,O-M2,O,M,O-M2,O,O,O,O,M,O,O,,46
QMIN,Job Information.Measuring Capacity Qmin,O,O,O,O,O,O,O,O,O,O,O,O,,47
REQUIRED_MESC_CODE,Job Information.Meter Size,H,O-M2,H,H,O-M2,H,H,H,H,O,H,O,,48
EXISTING_METER_MODEL,Job Information.Model Code,H,H,O,O,O,O,O,O,O,O,O,O,,49
EXISTING_METER_MODEL,Job Information.Model Code,H,H,M,M,M,M,M,M,O,O,O,O,,49
OTHER_INFORMATION,Job Information.Other Information,O,O,O,O,O,O,O,O,O,O,O,O,,50
OTHER_PROJECT_REFERENCE,Job Information.Other Related Projects,O,O,O,O,O,O,O,O,O,O,O,O,,51
REQUIRED_METERING_PRESSURE,Job Information.Required Meter Pressure,M,M,M,M,M,M,M,M,M,M,O,O,,52
@@ -70,8 +70,8 @@ AGENT_COMT_CODE,Supplier Agent.Telephone1/Telephone2/Fax/Email,M,M,M,M,M,M,M,M,M
AGENT_CONTACT_VALUE,Supplier Agent.Telephone1/Telephone2/Fax/Email,M,M,M,M,M,M,M,M,M,M,M,M,,69
ID,Enquiry Reference (not in spec appendix),M,M,M,M,M,M,M,M,M,M,M,M,,70
EXISTING_LOGGER,Job Information.Logger,H,H,H,O,O,O,O,O,O,O,O,O,,71
EXISTING_CONVERTOR,Job Information.Existing Convertor,H,H,O,M,M,M,M,M,M,M,O,O,,72
CREATED_BY,,,,,,,,,,,,,,,
EXISTING_CONVERTOR,Job Information.Existing Convertor,H,H,O,M,M,M,M,M,O,O,O,O,,72
EXISTING_MANUFACTURER,Job Information.Existing Manufacturer,H,H,M,M,M,M,M,M,O,O,O,O,,
CREATED_ON,,,,,,,,,,,,,,,
UPDATED_BY,,,,,,,,,,,,,,,
UPDATED_ON,,,,,,,,,,,,,,,
1 COLUMN_NAME COLUMN_NAME ,Appendix Reference,INSTALL,STD INSTALL,OFMAT,EXCHANGE,STD EXCHANGE,REMOVE,STD REMOVE,ADVERSARIAL,ALTERATION,CHANGE CAPACITY,ADDONS(EMS,AMR),OTHER,Notes,DisplaySequence Appendix Reference INSTALL STD INSTALL OFMAT EXCHANGE STD EXCHANGE REMOVE STD REMOVE ADVERSARIAL ALTERATION CHANGE CAPACITY ADDONS(EMS,AMR) OTHER Notes DisplaySequence
2 INSTALL_BUILDING INSTALL_BUILDING,Address.Building,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,O-M1,,1 Address.Building O-M1 O-M1 O-M1 O-M1 O-M1 O-M1 O-M1 O-M1 O-M1 O-M1 O-M1 O-M1 1
3 INSTALL_CITY INSTALL_CITY,Address.City,M,M,M,M,M,M,M,M,M,M,M,M,,2 Address.City M M M M M M M M M M M M 2
4 FIRST_CONTACT_NAME FIRST_CONTACT_NAME,Address.Contact Name,M,M,M,M,M,M,M,M,M,M,M,M,,3 Address.Contact Name M M M M M M M M M M M M 3
23 SECOND_CONTACT_TELEPHONE_1 SECOND_CONTACT_TELEPHONE_1,Contact Address.Telephone1,O,O,O,O,O,O,O,O,O,O,O,O,,22 Contact Address.Telephone1 O O O O O O O O O O O O 22
24 FIRST_CONTACT_TELEPHONE_2 FIRST_CONTACT_TELEPHONE_2,Contact Address.Telephone2,O,O,O,O,O,O,O,O,O,O,O,O,,23 Contact Address.Telephone2 O O O O O O O O O O O O 23
25 SECOND_CONTACT_TELEPHONE_2 SECOND_CONTACT_TELEPHONE_2,Contact Address.Telephone2,O,O,O,O,O,O,O,O,O,O,O,O,,24 Contact Address.Telephone2 O O O O O O O O O O O O 24
26 AMR_REQUIRED AMR_REQUIRED,Job Information.Additional Services.AMR,O-M5,O-M5,H,O-M5,O-M5,H,H,H,O-M5,O-M5,O-M5,O-M5,The AMR may only be available for the Tripartite suppliers or BG, GW to confirm!,25 Job Information.Additional Services.AMR O-M5 O-M5 H O-M5 O-M5 H H H O-M5 O-M5 O-M5 O-M5 The AMR may only be available for the Tripartite suppliers or BG, GW to confirm! 25
27 BASE_REQUIRED BASE_REQUIRED,Job Information.Additional Services.Base,M,M,H,M,M,H,H,H,M,M,H,M,,26 Job Information.Additional Services.Base M M H M M H H H M M H M 26
28 BYPASS_REQUIRED BYPASS_REQUIRED,Job Information.Additional Services.By-pass,O,O,H,O,O,H,H,H,O,O,O,O,If yes, warn user if twin stream is no,27 Job Information.Additional Services.By-pass O O H O O H H H O O O O If yes, warn user if twin stream is no 27
29 CONVERTOR_REQUIRED CONVERTOR_REQUIRED,Job Information.Additional Services.Convertor,M,M,H,M,M,H,H,H,M,M,M,M,this can be an add-on for removals,28 Job Information.Additional Services.Convertor M M H M M M M M M M M M this can be an add-on for removals 28
30 EMS_REQUIRED EMS_REQUIRED,Job Information.Additional Services.EMS,M,M,H,M,M,H,H,H,M,M,M,M,,29 Job Information.Additional Services.EMS M M H M M H H H M M M M 29
31 HOUSING_REQUIRED HOUSING_REQUIRED,Job Information.Additional Services.Housing,M,M,H,M,M,H,H,H,M,M,H,M,,30 Job Information.Additional Services.Housing M M H M M H H H M M H M 30
32 TWIN_STREAM_REQUIRED TWIN_STREAM_REQUIRED,Job Information.Additional Services.Twin Stream,M,M,H,M,M,H,H,H,M,M,H,M,,31 Job Information.Additional Services.Twin Stream M M H M M H H H M M H M 31
47 QMAX QMAX,Job Information.Measuring Capacity Qmax,M,O-M2,O,M,O-M2,O,O,O,O,M,O,O,,46 Job Information.Measuring Capacity Qmax M O-M2 O M O-M2 O O O O M O O 46
48 QMIN QMIN,Job Information.Measuring Capacity Qmin,O,O,O,O,O,O,O,O,O,O,O,O,,47 Job Information.Measuring Capacity Qmin O O O O O O O O O O O O 47
49 REQUIRED_MESC_CODE REQUIRED_MESC_CODE,Job Information.Meter Size,H,O-M2,H,H,O-M2,H,H,H,H,O,H,O,,48 Job Information.Meter Size H O-M2 H H O-M2 H H H H O H O 48
50 EXISTING_METER_MODEL EXISTING_METER_MODEL,Job Information.Model Code,H,H,M,M,M,M,M,M,O,O,O,O,,49 Job Information.Model Code H H O O O O O O O O O O 49
51 OTHER_INFORMATION OTHER_INFORMATION,Job Information.Other Information,O,O,O,O,O,O,O,O,O,O,O,O,,50 Job Information.Other Information O O O O O O O O O O O O 50
52 OTHER_PROJECT_REFERENCE OTHER_PROJECT_REFERENCE,Job Information.Other Related Projects,O,O,O,O,O,O,O,O,O,O,O,O,,51 Job Information.Other Related Projects O O O O O O O O O O O O 51
53 REQUIRED_METERING_PRESSURE REQUIRED_METERING_PRESSURE,Job Information.Required Meter Pressure,M,M,M,M,M,M,M,M,M,M,O,O,,52 Job Information.Required Meter Pressure M M M M M M M M M M O O 52
70 AGENT_CONTACT_VALUE AGENT_CONTACT_VALUE,Supplier Agent.Telephone1/Telephone2/Fax/Email,M,M,M,M,M,M,M,M,M,M,M,M,,69 Supplier Agent.Telephone1/Telephone2/Fax/Email M M M M M M M M M M M M 69
71 ID ID,Enquiry Reference (not in spec appendix),M,M,M,M,M,M,M,M,M,M,M,M,,70 Enquiry Reference (not in spec appendix) M M M M M M M M M M M M 70
72 EXISTING_LOGGER EXISTING_LOGGER,Job Information.Logger,H,H,H,O,O,O,O,O,O,O,O,O,,71 Job Information.Logger H H H O O O O O O O O O 71
73 EXISTING_CONVERTOR EXISTING_CONVERTOR,Job Information.Existing Convertor,H,H,O,M,M,M,M,M,O,O,O,O,,72 Job Information.Existing Convertor H H O M M M M M M M O O 72
74 CREATED_BY EXISTING_MANUFACTURER,Job Information.Existing Manufacturer,H,H,M,M,M,M,M,M,O,O,O,O,,
75 CREATED_ON CREATED_ON,,,,,,,,,,,,,,,
76 UPDATED_BY UPDATED_BY,,,,,,,,,,,,,,,
77 UPDATED_ON UPDATED_ON,,,,,,,,,,,,,,,

View File

@@ -28,7 +28,7 @@ BEGIN
END IF;
update system_configuration
set value = 'WEBMIP - '||upper('&&1')||' - '||to_char(sysdate, 'DD-Mon-YYYY')
set value = 'WEBMIP ('||upper('&&2')||'-'||to_char(sysdate,'DD-MON-YYYY HH24:MI')||')'
where parameter = 'SYSTEM_NAME';
END;

View File

@@ -17,6 +17,7 @@ EMAIL_FROM_ADDRESS|webMIP@advanticagroup.com|The From field used for emails sent
QUOTE_LAPSE_LIMIT|90|The number of days that a quote remains valid for before lapsing.
EMAIL_ADDRESS_MANUAL_QUOTE|webMIP@advanticagroup.com|
EMAIL_ADDRESS_SUPPORT|webMIP@advanticagroup.com|
EMAIL_ADDRESS_INTERNAL_USER|webMIP@advanticagroup.com|
AV_LOCATION|c:\Program Files\Norton AntiVirus\NAVW32.exe|Anti-virus checker installation
APEX_AUTHORIZATION_DEFAULT_MODE|PUBLIC|Default authorization for components
SYSTEM_NAME|WEBMIP - WHO KNOWS WHERE!|