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
This commit is contained in:
hardya
2007-11-27 11:48:13 +00:00
parent 2a490afbbc
commit 2920f4d016
49 changed files with 18360 additions and 97 deletions

View File

@@ -1,12 +1,11 @@
DECLARE
l_hash dbms_obfuscation_toolkit.varchar2_checksum;
l_hash varchar2(240);
BEGIN
FOR l_pwd IN (SELECT id
,upper(username) || '/' || upper(username) AS str
FOR l_pwd IN (SELECT id, username
FROM parties
WHERE username IS NOT NULL) LOOP
l_hash := dbms_obfuscation_toolkit.md5(input_string => l_pwd.str);
l_hash := mip_security.get_hash(p_username=>l_pwd.username, p_password=>'password');
INSERT INTO passwords
(prty_id

View File

@@ -0,0 +1,73 @@
COLUMN_NAME ,Appendix Reference,INSTALL,STD INSTALL,OFMAT,EXCHANGE,STD EXCHANGE,REMOVE,STD REMOVE,ADVERSARIAL,ALTERATION,CAPACITY CHANGE,"ADDONS(EMS,AMR)",OTHER
INSTALL_BUILDING,Address.Building,M1,M1,M1,M1,M1,M1,M1,M1,M1,M1,M1,M1
INSTALL_CITY,Address.City,M,M,M,M,M,M,M,M,M,M,M,M
FIRST_CONTACT_NAME,Address.Contact Name,M,M,M,M,M,M,M,M,M,M,M,M
INSTALL_POSTCODE,Address.Post Code,M,M,M,M,M,M,M,M,M,M,M,M
INSTALL_STREET,Address.Street,M,M,M,M,M,M,M,M,M,M,M,M
INSTALL_SUB_BUILDING,Address.Sub Building,M1,M1,M1,M1,M1,M1,M1,M1,M1,M1,M1,M1
FIRST_ALT_BUILDING,Contact Address.Building,O,O,O,O,O,O,O,O,O,O,O,O
FIRST_ALT_CITY,Contact Address.City,O,O,O,O,O,O,O,O,O,O,O,O
FIRST_CONTACT_EMAIL,Contact Address.Email,O,O,O,O,O,O,O,O,O,O,O,O
SECOND_CONTACT_EMAIL,Contact Address.Email,O,O,O,O,O,O,O,O,O,O,O,O
FIRST_CONTACT_FAX,Contact Address.Fax,O,O,O,O,O,O,O,O,O,O,O,O
SECOND_CONTACT_FAX,Contact Address.Fax,O,O,O,O,O,O,O,O,O,O,O,O
FIRST_ALT_POSTCODE,Contact Address.Post Code,O,O,O,O,O,O,O,O,O,O,O,O
SECOND_CONTACT_NAME,Contact Address.Second Contact Name,O,O,O,O,O,O,O,O,O,O,O,O
FIRST_ALT_STREET,Contact Address.Street,O,O,O,O,O,O,O,O,O,O,O,O
FIRST_ALT_SUB_BUILDING,Contact Address.Sub Building,O,O,O,O,O,O,O,O,O,O,O,O
FIRST_CONTACT_TELEPHONE_1,Contact Address.Telephone1,M,M,M,M,M,M,M,M,M,M,M,M
SECOND_CONTACT_TELEPHONE_1,Contact Address.Telephone1,O,O,O,O,O,O,O,O,O,O,O,O
FIRST_CONTACT_TELEPHONE_2,Contact Address.Telephone2,O,O,O,O,O,O,O,O,O,O,O,O
SECOND_CONTACT_TELEPHONE_2,Contact Address.Telephone2,O,O,O,O,O,O,O,O,O,O,O,O
AMR_REQUIRED,Job Information.Additional Services.AMR,M,M,M,M,M,M,M,M,M,M,M,M
BASE_REQUIRED,Job Information.Additional Services.Base,M,M,M,M,M,M,M,M,M,M,M,M
BYPASS_REQUIRED,Job Information.Additional Services.By-pass,M,M,M,M,M,M,M,M,M,M,M,M
CONVERTOR_REQUIRED,Job Information.Additional Services.Convertor,M,M,M,M,M,M,M,M,M,M,M,M
EMS_REQUIRED,Job Information.Additional Services.EMS,M,M,M,M,M,M,M,M,M,M,M,M
HOUSING_REQUIRED,Job Information.Additional Services.Housing,M,M,M,M,M,M,M,M,M,M,M,M
LOGGER_REQUIRED,Job Information.Additional Services.Logger,M,M,M,M,M,M,M,M,M,M,M,M
TWIN_STREAM_REQUIRED,Job Information.Additional Services.Twin Stream,O,O,O,O,O,O,O,O,O,O,O,O
ANNUAL_QUANTITY,Job Information.Annual Quantity,M,M,M,M,M,M,M,M,M,M,M,M
INDICATIVE_TIME,Job Information.Appointment Preference,O,O,O,O,O,O,O,O,O,O,O,O
DOWNSTREAM_BOOSTER_OR_COMPRESS,Job Information.Booster/Compressor,M,O,M,M,O,M,O,M,M,M,M,M
EXISTING_METER_SERIAL_NO,Job Information.Existing Asset Serial Number,NA,NA,M,M,M,M,M,O,M,O,M,O
EXISTING_MESC_CODE,Job Information.Existing Meter Size,NA,NA,M,M,M,M,M,M,M,M,O,O
METY_CODE,Job Information.Meter Type Existing ,NA,NA,M,M,M,M,M,M,M,M,O,O
EXISTING_SVCP_CODE,Job Information.Existing Pressure Category,NA,NA,M,M,M,M,M,M,M,M,O,O
EXISTING_METER_OWNER,Job Information.Gas Act Owner,O,O,O,M,M,M,M,O,O,O,O,O
INDICATIVE_DATE,Job Information.Indicative Substantial Completion Date,O,O,O,O,O,O,O,O,O,O,O,O
REQUIRED_IP_DETAILS,Job Information.IP Details,M3,NA,O3,O3,NA,O3,NA,O3,M3,M3,O3,O3
REQUIRED_IP_MBAR,Job Information.IP Mbar,O3,NA,O3,O3,NA,O3,NA,O3,O3,O3,O3,O3
JOB_DESCRIPTION,Job Information.Job Description,O,O,O,O,O,O,O,O,O,O,O,O
ENTY_CODE,Job Information.Job Type,M,M,M,M,M,M,M,M,M,M,M,M
LOAD_CONTROL_TYPE,Job Information.Load Control Type,M,M,O,M,M,O,O,O,O,O,O,O
MARKET_SECTOR_CODE,Job Information.Market Sector Code,O,O,O,O,O,O,O,O,O,O,O,O
QMAX,Job Information.Measuring Capacity Qmax,M,M2,M,M,M,M,M,M,M,M,M,M
QMIN,Job Information.Measuring Capacity Qmin,O,O,O,O,O,O,O,O,O,O,O,O
REQUIRED_MESC_CODE,Job Information.Meter Size,NA,OM2,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
EXISTING_METER_MODEL,Job Information.Model Code,NA,NA,O,O,O,O,O,O,O,O,O,O
OTHER_INFORMATION,Job Information.Other Information,O,O,O,O,O,O,O,O,O,O,O,O
OTHER_PROJECT_REFERENCE,Job Information.Other Related Projects,O,O,O,O,O,O,O,O,O,O,O,O
REQUIRED_METERING_PRESSURE,Job Information.Required Meter Pressure,M,M,M,M,M,M,M,M,M,M,M,M
REQUIRED_SVCP_CODE,Job Information.Service Pressure,M3,M,O3,O3,M,O3,M,O3,M3,M3,O3,O3
EXISTING_METER_ASSET_PROVIDER,Job Information.Supplier / Job Information.Consumer,O,O,O,M,M,M,M,O,M,O,O,O
TRANSACTION_REFERENCE,Job Site Details.Transaction Reference,O,O,O,O,O,O,O,O,O,O,O,O
SECOND_ALT_BUILDING,Second Contact Address.Building,O,O,O,O,O,O,O,O,O,O,O,O
SECOND_ALT_CITY,Second Contact Address.City,O,O,O,O,O,O,O,O,O,O,O,O
SECOND_ALT_POSTCODE,Second Contact Address.Post Code,O,O,O,O,O,O,O,O,O,O,O,O
SECOND_ALT_STREET,Second Contact Address.Street,O,O,O,O,O,O,O,O,O,O,O,O
SECOND_ALT_SUB_BUILDING,Second Contact Address.Sub Building,O,O,O,O,O,O,O,O,O,O,O,O
ACCESS_ADDITIONAL,Site Detail.Access Instructions,O,O,O,O,O,O,O,O,O,O,O,O
ACCESS_PASSWORD,Site Detail.Access Password,O,O,O,O,O,O,O,O,O,O,O,O
MPRN_ALT,Site Detail.Additional Information,M4,M4,M4,M4,M4,M4,M4,M4,M4,M4,M4,M4
ALTY_CODE,Site Detail.Asset Location Code,M,M,M,M,M,M,M,M,M,M,M,M
ASSET_LOCATION_NOTES,Site Detail.Asset Location Notes,O,O,O,O,O,O,O,O,O,O,O,O
CACA_CODE,Site Detail.Care Category,O,O,O,O,O,O,O,O,O,O,O,O
MPRN,Site Detail.MPRN,M4,M4,M4,M4,M4,M4,M4,M4,M4,M4,M4,M4
AGENT_COMT_CODE,Supplier Agent.Telephone1/Telephone2/Fax/Email,M,M,M,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
ID,Enquiry Reference (not in spec appendix),M,M,M,M,M,M,M,M,M,M,M,M
CREATED_BY,,,,,,,,,,,,,
CREATED_ON,,,,,,,,,,,,,
UPDATED_BY,,,,,,,,,,,,,
UPDATED_ON,,,,,,,,,,,,,
1 COLUMN_NAME Appendix Reference INSTALL STD INSTALL OFMAT EXCHANGE STD EXCHANGE REMOVE STD REMOVE ADVERSARIAL ALTERATION CAPACITY CHANGE ADDONS(EMS,AMR) OTHER
2 INSTALL_BUILDING Address.Building M1 M1 M1 M1 M1 M1 M1 M1 M1 M1 M1 M1
3 INSTALL_CITY Address.City M M M M M M M M M M M M
4 FIRST_CONTACT_NAME Address.Contact Name M M M M M M M M M M M M
5 INSTALL_POSTCODE Address.Post Code M M M M M M M M M M M M
6 INSTALL_STREET Address.Street M M M M M M M M M M M M
7 INSTALL_SUB_BUILDING Address.Sub Building M1 M1 M1 M1 M1 M1 M1 M1 M1 M1 M1 M1
8 FIRST_ALT_BUILDING Contact Address.Building O O O O O O O O O O O O
9 FIRST_ALT_CITY Contact Address.City O O O O O O O O O O O O
10 FIRST_CONTACT_EMAIL Contact Address.Email O O O O O O O O O O O O
11 SECOND_CONTACT_EMAIL Contact Address.Email O O O O O O O O O O O O
12 FIRST_CONTACT_FAX Contact Address.Fax O O O O O O O O O O O O
13 SECOND_CONTACT_FAX Contact Address.Fax O O O O O O O O O O O O
14 FIRST_ALT_POSTCODE Contact Address.Post Code O O O O O O O O O O O O
15 SECOND_CONTACT_NAME Contact Address.Second Contact Name O O O O O O O O O O O O
16 FIRST_ALT_STREET Contact Address.Street O O O O O O O O O O O O
17 FIRST_ALT_SUB_BUILDING Contact Address.Sub Building O O O O O O O O O O O O
18 FIRST_CONTACT_TELEPHONE_1 Contact Address.Telephone1 M M M M M M M M M M M M
19 SECOND_CONTACT_TELEPHONE_1 Contact Address.Telephone1 O O O O O O O O O O O O
20 FIRST_CONTACT_TELEPHONE_2 Contact Address.Telephone2 O O O O O O O O O O O O
21 SECOND_CONTACT_TELEPHONE_2 Contact Address.Telephone2 O O O O O O O O O O O O
22 AMR_REQUIRED Job Information.Additional Services.AMR M M M M M M M M M M M M
23 BASE_REQUIRED Job Information.Additional Services.Base M M M M M M M M M M M M
24 BYPASS_REQUIRED Job Information.Additional Services.By-pass M M M M M M M M M M M M
25 CONVERTOR_REQUIRED Job Information.Additional Services.Convertor M M M M M M M M M M M M
26 EMS_REQUIRED Job Information.Additional Services.EMS M M M M M M M M M M M M
27 HOUSING_REQUIRED Job Information.Additional Services.Housing M M M M M M M M M M M M
28 LOGGER_REQUIRED Job Information.Additional Services.Logger M M M M M M M M M M M M
29 TWIN_STREAM_REQUIRED Job Information.Additional Services.Twin Stream O O O O O O O O O O O O
30 ANNUAL_QUANTITY Job Information.Annual Quantity M M M M M M M M M M M M
31 INDICATIVE_TIME Job Information.Appointment Preference O O O O O O O O O O O O
32 DOWNSTREAM_BOOSTER_OR_COMPRESS Job Information.Booster/Compressor M O M M O M O M M M M M
33 EXISTING_METER_SERIAL_NO Job Information.Existing Asset Serial Number NA NA M M M M M O M O M O
34 EXISTING_MESC_CODE Job Information.Existing Meter Size NA NA M M M M M M M M O O
35 METY_CODE Job Information.Meter Type Existing NA NA M M M M M M M M O O
36 EXISTING_SVCP_CODE Job Information.Existing Pressure Category NA NA M M M M M M M M O O
37 EXISTING_METER_OWNER Job Information.Gas Act Owner O O O M M M M O O O O O
38 INDICATIVE_DATE Job Information.Indicative Substantial Completion Date O O O O O O O O O O O O
39 REQUIRED_IP_DETAILS Job Information.IP Details M3 NA O3 O3 NA O3 NA O3 M3 M3 O3 O3
40 REQUIRED_IP_MBAR Job Information.IP Mbar O3 NA O3 O3 NA O3 NA O3 O3 O3 O3 O3
41 JOB_DESCRIPTION Job Information.Job Description O O O O O O O O O O O O
42 ENTY_CODE Job Information.Job Type M M M M M M M M M M M M
43 LOAD_CONTROL_TYPE Job Information.Load Control Type M M O M M O O O O O O O
44 MARKET_SECTOR_CODE Job Information.Market Sector Code O O O O O O O O O O O O
45 QMAX Job Information.Measuring Capacity Qmax M M2 M M M M M M M M M M
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 NA OM2 NA NA NA NA NA NA NA NA NA NA
48 EXISTING_METER_MODEL Job Information.Model Code NA NA O O O O O O 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 M M
52 REQUIRED_SVCP_CODE Job Information.Service Pressure M3 M O3 O3 M O3 M O3 M3 M3 O3 O3
53 EXISTING_METER_ASSET_PROVIDER Job Information.Supplier / Job Information.Consumer O O O M M M M O M O O O
54 TRANSACTION_REFERENCE Job Site Details.Transaction Reference O O O O O O O O O O O O
55 SECOND_ALT_BUILDING Second Contact Address.Building O O O O O O O O O O O O
56 SECOND_ALT_CITY Second Contact Address.City O O O O O O O O O O O O
57 SECOND_ALT_POSTCODE Second Contact Address.Post Code O O O O O O O O O O O O
58 SECOND_ALT_STREET Second Contact Address.Street O O O O O O O O O O O O
59 SECOND_ALT_SUB_BUILDING Second Contact Address.Sub Building O O O O O O O O O O O O
60 ACCESS_ADDITIONAL Site Detail.Access Instructions O O O O O O O O O O O O
61 ACCESS_PASSWORD Site Detail.Access Password O O O O O O O O O O O O
62 MPRN_ALT Site Detail.Additional Information M4 M4 M4 M4 M4 M4 M4 M4 M4 M4 M4 M4
63 ALTY_CODE Site Detail.Asset Location Code M M M M M M M M M M M M
64 ASSET_LOCATION_NOTES Site Detail.Asset Location Notes O O O O O O O O O O O O
65 CACA_CODE Site Detail.Care Category O O O O O O O O O O O O
66 MPRN Site Detail.MPRN M4 M4 M4 M4 M4 M4 M4 M4 M4 M4 M4 M4
67 AGENT_COMT_CODE Supplier Agent.Telephone1/Telephone2/Fax/Email M M M M M M M M M M M M
68 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 CREATED_BY
71 CREATED_ON
72 UPDATED_BY
73 UPDATED_ON

View File

@@ -60,6 +60,12 @@ sqlldr %1 control=mesc
sqlldr %1 control=byre
sqlldr %1 control=dir_import
sqlldr %1 control=regi
sqlldr %1 control=poco
sqlplus %1 @enable_constraints
goto :done

25
Data/Seed/dir_import.ctl Normal file
View File

@@ -0,0 +1,25 @@
OPTIONS (SKIP=1)
LOAD DATA
INFILE DatabaseItemToFunctionalSpecificationReference.csv
INTO TABLE data_item_roles_import
REPLACE
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(
field_name
,table_name CONSTANT 'ENQUIRIES'
,description
,install
,std_install
,ofmat
,exchange
,std_exchange
,remove
,std_remove
,adversarial
,alteration
,change_capacity
,addon
,other
)

View File

@@ -12,4 +12,5 @@ BEGINDATA
ENRT|ENQ CREATE|Created Enquiry
ENRT|ENQ OWN|Owner of Enquiry
ENRT|ENQ AMEND|Amend Enquiry
ENRT|ENQ AMEND|Supplier for Enquiry
ENRT|ENQ RFQ|Submit Request For Quotation

15374
Data/Seed/poco.ctl Normal file

File diff suppressed because it is too large Load Diff

19
Data/Seed/regi.ctl Normal file
View File

@@ -0,0 +1,19 @@
LOAD DATA
INFILE *
INTO TABLE regions
REPLACE
FIELDS TERMINATED BY '|'
(
code
,description
)
BEGINDATA
NETW01|SC001 - Scotland
NETW02|NTH01 - North
NETW03|STH01 - South
NETW04|WWE01 - Wales and West
NETW05|RDN01 - North London
NETW06|RDN01 - West Midlands
NETW07|RDN01 - North West
NETW08|RDN01 - East
RDN01|Retained networks

View File

@@ -0,0 +1,21 @@
@echo off
if "%1"=="" goto :usage
if "%1"=="sys" goto :usage
if "%1"=="system" goto :usage
sqlplus %1 @delete_demo_data
sqlldr %1 control=prty
sqlldr %1 control=parl
sqlldr %1 control=prel
goto :done
:usage
echo usage InstallDemoData user/password@database
:done

38
Data/Test/parl.ctl Normal file
View File

@@ -0,0 +1,38 @@
LOAD DATA
INFILE *
INTO TABLE party_roles
REPLACE
FIELDS TERMINATED BY '|'
(
prty_id
,rt_code
,id
,start_date
,end_date
,description
)
BEGINDATA
200|SUPP|2001|08-NOV-07|||
201|SUPP|2011|08-NOV-07|||
202|SUPP|2021|08-NOV-07|||
203|SUPP|2031|08-NOV-07|||
204|SUPP|2041|08-NOV-07|||
205|SUPP|2051|08-NOV-07|||
206|SUPP|2061|08-NOV-07|||
207|SUPP|2071|08-NOV-07|||
208|SUPP|2081|08-NOV-07|||
400|MIPADMIN|4001|08-NOV-07|||
400|CS|4002|08-NOV-07|||
400|ICU|4003|08-NOV-07|||
401|MIPADMIN|4011|08-NOV-07|||
401|CS|4012|08-NOV-07|||
401|ICU|4013|08-NOV-07|||
402|MIPADMIN|4021|08-NOV-07|||
403|MIPADMIN|4031|08-NOV-07|||
404|AGENT|4041|08-NOV-07|||
404|SUPPADMIN|4042|08-NOV-07|||
405|AGENT|4051|08-NOV-07|||
405|SUPPADMIN|4052|08-NOV-07|||
406|AGENT|4061|08-NOV-07|||
407|AGENT|4071|08-NOV-07|||
408|AGENT|4081|08-NOV-07|||

44
Data/Test/prel.ctl Normal file
View File

@@ -0,0 +1,44 @@
LOAD DATA
INFILE *
INTO TABLE party_relationships
REPLACE
FIELDS TERMINATED BY '|'
(
from_parl_id
,to_parl_id
,from_parl_prty_id
,to_parl_prty_id
,from_parl_rt_code
,to_parl_rt_code
,start_date
,from_prtp_rt_code
,to_prtp_rt_code
)
BEGINDATA
4041|2001|404|200|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4041|2011|404|201|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4041|2021|404|202|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4042|2001|404|200|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4042|2011|404|201|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4042|2021|404|202|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4042|2031|404|203|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4042|2041|404|204|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4042|2051|404|205|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4051|2001|405|200|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4051|2011|405|201|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4051|2021|405|202|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4052|2031|405|203|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4052|2041|405|204|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4052|2051|405|205|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4052|2061|405|206|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4052|2071|405|207|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4052|2081|405|208|SUPPADMIN|SUPP|08-NOV-07|SUPPADMIN|SUPP
4061|2031|406|203|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4061|2041|406|204|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4061|2051|406|205|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4071|2031|407|203|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4071|2041|407|204|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4071|2051|407|205|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4081|2061|408|206|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4081|2071|408|207|AGENT|SUPP|08-NOV-07|AGENT|SUPP
4081|2081|408|208|AGENT|SUPP|08-NOV-07|AGENT|SUPP

60
Data/Test/prty.ctl Normal file
View File

@@ -0,0 +1,60 @@
LOAD DATA
INFILE *
INTO TABLE parties
REPLACE
FIELDS TERMINATED BY '|'
(
manu_ref
,created_by
,shortcode
,name
,description
,created_on
,updated_on
,updated_by
,mktp_ref
,lt_7b_contract_ref
,gt_7b_contract_ref
,adversarial_contract_ref
,username
,password_hash
,status
,first_name
,last_name
,personal_title
,comments
,id
,prty_type
)
BEGINDATA
ACT|hardya||ACTARIS||08-NOV-07|||||||||||||Manufactures meters|100|MANU
DRE|hardya||DRESSER||08-NOV-07|||||||||||||Manufactures meters|101|MANU
QUI|hardya||QUINSHIELD||08-NOV-07|||||||||||||Manufactures meters|102|MANU
|hardya|NS1|Northern Supplies||08-NOV-07|||NSUPP|LT7 Contract|GT7 Contract|Adversarial Contract|||||||Supplier of gas to the north of the UK|200|MKTP
|hardya|NS2|Extreme Northern Supplies||08-NOV-07|||ENSUPP|LT7 Contract|GT7 Contract|Adversarial Contract|||||||Supplier of gas to the extreme north of the UK|201|MKTP
|hardya|WS1|Welsh Supplies||08-NOV-07|||WSUPP|LT7 Contract|GT7 Contract|Adversarial Contract|||||||Supplier of gas to Wales|202|MKTP
|hardya|WS2|Welsh Supplies||08-NOV-07|||W2SUPP|LT7 Contract|GT7 Contract|Adversarial Contract|||||||Supplier of gas to Wales|203|MKTP
|hardya|CE1|Central Gas Supplies||08-NOV-07|||CGSUPP|LT7 Contract|GT7 Contract|Adversarial Contract|||||||Supplier of gas to the Central region|204|MKTP
|hardya|CE2|Centre de Gas Supplies||08-NOV-07|||CDSUPP|LT7 Contract|GT7 Contract|Adversarial Contract|||||||Supplier of gas to the Central region|205|MKTP
|hardya|LON|London Supplies||08-NOV-07|||LONSUPP|LT7 Contract|GT7 Contract|Adversarial Contract|||||||Supplier of gas to London|206|MKTP
|hardya|KER|Kernow Supplies||08-NOV-07|||KERSUPP|LT7 Contract|GT7 Contract|Adversarial Contract|||||||Supplier of gas to Cornwall|207|MKTP
|hardya|BM|Bootiful Gas Supplies||08-NOV-07|||BGSUPP|LT7 Contract|GT7 Contract|Adversarial Contract|||||||Supplier of gas to the East|208|MKTP
|hardya||National Grid||08-NOV-07|||||||||||||Internal organization|300|IO
|hardya||National Grid Metering||08-NOV-07|||||||||||||Internal organization|301|IO
|hardya||Customer Services||08-NOV-07|||||||||||||Internal organization|302|IO
|hardya||Quotations||08-NOV-07|||||||||||||Internal organization|303|IO
|hardya||||08-NOV-07|||||||hardya|password|OPEN|Andrew|Hardy|Mr|User|400|PERS
|hardya||||08-NOV-07|||||||priestj|password|OPEN|Jamie|Priest|Mr|User|401|PERS
|hardya||||08-NOV-07|||||||kanagasabapathy|password|OPEN|Dharshani|Kanagasabapathy||User|402|PERS
|hardya||||08-NOV-07|||||||mullend|password|OPEN|Matt|Mullen||User|403|PERS
|hardya||||08-NOV-07|||||||agent1|password|OPEN|Fred|Smith||User|404|PERS
|hardya||||08-NOV-07|||||||agent2|password|OPEN|Joe|Bloggs||User|405|PERS
|hardya||||08-NOV-07|||||||agent3|password|OPEN|Peter|Piper||User|406|PERS
|hardya||||08-NOV-07|||||||agent4|password|OPEN|Nigel|Normal||User|407|PERS
|hardya||||08-NOV-07|||||||agent5|password|OPEN|Norah|Batty||User|408|PERS
|hardya||||08-NOV-07|||||||cs1|password|OPEN|Henrietta|Helpful||User|409|PERS
|hardya||||08-NOV-07|||||||cs2|password|OPEN|Tommy|Atkins||User|410|PERS
|hardya||||08-NOV-07|||||||cs3|password|OPEN|Tracy|Beaker||User|411|PERS
|hardya||||08-NOV-07|||||||ic1|password|OPEN|Gareth|Thomas||User|412|PERS
|hardya||||08-NOV-07|||||||ic2|password|OPEN|Bhavesh|Singh||User|413|PERS
|hardya||||08-NOV-07|||||||ic3|password|OPEN|Dave|Smith||User|414|PERS