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
This commit is contained in:
PriestJ
2008-01-29 13:11:12 +00:00
parent 5f2186b3ac
commit f9672916f0
10 changed files with 4 additions and 338 deletions

View File

@@ -1,74 +0,0 @@
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,H,M,M,H,H,H,M,M,M,M,"The AMR may only be available for the Tripartite suppliers or BG, GW to confirm!"
BASE_REQUIRED,Job Information.Additional Services.Base,M,M,H,M,M,H,H,H,M,M,H,M,
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"
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
EMS_REQUIRED,Job Information.Additional Services.EMS,M,M,H,M,M,H,H,H,M,M,M,M,
HOUSING_REQUIRED,Job Information.Additional Services.Housing,M,M,H,M,M,H,H,H,M,M,H,M,
TWIN_STREAM_REQUIRED,Job Information.Additional Services.Twin Stream,M,M,H,M,M,H,H,H,M,M,H,M,
ANNUAL_QUANTITY,Job Information.Annual Quantity,O,O,O,O,O,H,H,H,O,O,O,O,if > 732 mwh go bespoke
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,M,M,M,M,H,H,H,M,M,M,M,
EXISTING_METER_SERIAL_NO,Job Information.Existing Asset Serial Number,H,H,M,M,M,M,M,M,M,M,M,O,
EXISTING_MESC_CODE,Job Information.Existing Meter Size,H,H,M,M,M,M,M,M,M,M,O,O,
METY_CODE,Job Information.Meter Type Existing ,H,H,M,M,M,M,M,M,M,M,O,O,
EXISTING_METER_OWNER,Job Information.Gas Act Owner,O,O,M,M,M,M,M,M,M,M,M,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,O3,H,O3,O3,H,O3,H,O3,M3,M3,O3,O3,if service pressure is IP
REQUIRED_IP_MBAR,Job Information.IP Mbar,M3,H,O3,M3,H,O3,H,O3,O3,M3,O3,O3,if service pressure is IP
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,H,M,M,H,H,H,O,M,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,O,M,M2,O,O,O,O,M,O,O,
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,H,OM2,H,H,OM2,H,H,H,H,O,H,O,
EXISTING_METER_MODEL,Job Information.Model Code,H,H,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,O,O
REQUIRED_SVCP_CODE,Job Information.Service Pressure,M3,M,M3,M3,M,M3,M,M3,M3,M3,O3,O3
EXISTING_METER_ASSET_PROVIDER,Job Information.Supplier / Job Information.Consumer(Meter Asset Manager),O,O,O,O,O,O,O,O,O,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,O,O,O,O,O,O,O,O,O,O
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,OM4,OM4,M,M,M,M,M,M,M,M,M,O
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
LOGGER_REQUIRED,Job Information.Logger,H,H,H,O,O,O,O,O,O,O,O,O
,,,,,,,,,,,,,
,,,,,,,,,,,,,
,,,,,,,,,,,,,
,,,,,,,,,,,,,
,Tripartite,Y,Y,Y,Y,Y,Y,Y,Y,Don't care,Don't care,Y,Don't care
,Non-Tripartite,N,N,Y,N,N,Y,Y,Y,Don't care,Don't care,Y,Don't care
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 H M M H H H M M M M The AMR may only be available for the Tripartite suppliers or BG, GW to confirm!
23 BASE_REQUIRED Job Information.Additional Services.Base M M H M M H H H M M H M
24 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
25 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
26 EMS_REQUIRED Job Information.Additional Services.EMS M M H M M H H H M M M M
27 HOUSING_REQUIRED Job Information.Additional Services.Housing M M H M M H H H M M H M
28 TWIN_STREAM_REQUIRED Job Information.Additional Services.Twin Stream M M H M M H H H M M H M
29 ANNUAL_QUANTITY Job Information.Annual Quantity O O O O O H H H O O O O if > 732 mwh go bespoke
30 INDICATIVE_TIME Job Information.Appointment Preference O O O O O O O O O O O O
31 DOWNSTREAM_BOOSTER_OR_COMPRESS Job Information.Booster/Compressor M M M M M H H H M M M M
32 EXISTING_METER_SERIAL_NO Job Information.Existing Asset Serial Number H H M M M M M M M M M O
33 EXISTING_MESC_CODE Job Information.Existing Meter Size H H M M M M M M M M O O
34 METY_CODE Job Information.Meter Type Existing H H M M M M M M M M O O
35 EXISTING_METER_OWNER Job Information.Gas Act Owner O O M M M M M M M M M O
36 INDICATIVE_DATE Job Information.Indicative Substantial Completion Date O O O O O O O O O O O O
37 REQUIRED_IP_DETAILS Job Information.IP Details O3 H O3 O3 H O3 H O3 M3 M3 O3 O3 if service pressure is IP
38 REQUIRED_IP_MBAR Job Information.IP Mbar M3 H O3 M3 H O3 H O3 O3 M3 O3 O3 if service pressure is IP
39 JOB_DESCRIPTION Job Information.Job Description O O O O O O O O O O O O
40 ENTY_CODE Job Information.Job Type M M M M M M M M M M M M
41 LOAD_CONTROL_TYPE Job Information.Load Control Type M M H M M H H H O M O O
42 MARKET_SECTOR_CODE Job Information.Market Sector Code O O O O O O O O O O O O
43 QMAX Job Information.Measuring Capacity Qmax M M2 O M M2 O O O O M O O
44 QMIN Job Information.Measuring Capacity Qmin O O O O O O O O O O O O
45 REQUIRED_MESC_CODE Job Information.Meter Size H OM2 H H OM2 H H H H O H O
46 EXISTING_METER_MODEL Job Information.Model Code H H O O O O O O O O O O
47 OTHER_INFORMATION Job Information.Other Information O O O O O O O O O O O O
48 OTHER_PROJECT_REFERENCE Job Information.Other Related Projects O O O O O O O O O O O O
49 REQUIRED_METERING_PRESSURE Job Information.Required Meter Pressure M M M M M M M M M M O O
50 REQUIRED_SVCP_CODE Job Information.Service Pressure M3 M M3 M3 M M3 M M3 M3 M3 O3 O3
51 EXISTING_METER_ASSET_PROVIDER Job Information.Supplier / Job Information.Consumer(Meter Asset Manager) O O O O O O O O O O O O
52 TRANSACTION_REFERENCE Job Site Details.Transaction Reference O O O O O O O O O O O O
53 SECOND_ALT_BUILDING Second Contact Address.Building O O O O O O O O O O O O
54 SECOND_ALT_CITY Second Contact Address.City O O O O O O O O O O O O
55 SECOND_ALT_POSTCODE Second Contact Address.Post Code O O O O O O O O O O O O
56 SECOND_ALT_STREET Second Contact Address.Street O O O O O O O O O O O O
57 SECOND_ALT_SUB_BUILDING Second Contact Address.Sub Building O O O O O O O O O O O O
58 ACCESS_ADDITIONAL Site Detail.Access Instructions O O O O O O O O O O O O
59 ACCESS_PASSWORD Site Detail.Access Password O O O O O O O O O O O O
60 MPRN_ALT Site Detail.Additional Information M4 M4 O O O O O O O O O O
61 ALTY_CODE Site Detail.Asset Location Code M M M M M M M M M M M M
62 ASSET_LOCATION_NOTES Site Detail.Asset Location Notes O O O O O O O O O O O O
63 CACA_CODE Site Detail.Care Category O O O O O O O O O O O O
64 MPRN Site Detail.MPRN OM4 OM4 M M M M M M M M M O
65 AGENT_COMT_CODE Supplier Agent.Telephone1/Telephone2/Fax/Email M M M M M M M M M M M M
66 AGENT_CONTACT_VALUE Supplier Agent.Telephone1/Telephone2/Fax/Email M M M M M M M M M M M M
67 ID Enquiry Reference (not in spec appendix) M M M M M M M M M M M M
68 LOGGER_REQUIRED Job Information.Logger H H H O O O O O O O O O
69
70
71
72
73 Tripartite Y Y Y Y Y Y Y Y Don't care Don't care Y Don't care
74 Non-Tripartite N N Y N N Y Y Y Don't care Don't care Y Don't care

View File

@@ -44,8 +44,6 @@ sqlldr %1 control=mesc
sqlldr %1 control=byre sqlldr %1 control=byre
sqlldr %1 control=dir_import
sqlldr %1 control=regi sqlldr %1 control=regi
sqlldr %1 control=syco sqlldr %1 control=syco

View File

@@ -1,25 +0,0 @@
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

@@ -1,50 +0,0 @@
SQL*Loader: Release 8.1.7.0.0 - Production on Mon Jan 28 18:25:23 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Control File: apau.ctl
Data File: apau.ctl
Bad File: apau.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 65536 bytes
Continuation: none specified
Path used: Conventional
Table APEX_AUTHORIZATION, loaded from every logical record.
Insert option in effect for this table: REPLACE
Column Name Position Len Term Encl Datatype
------------------------------ ---------- ----- ---- ---- ---------------------
RT_CODE FIRST * | CHARACTER
COMPONENT_NAME NEXT * | CHARACTER
COMPONENT_TYPE NEXT * | CHARACTER
PRIVILEGE NEXT * | CHARACTER
Table APEX_AUTHORIZATION:
18 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 65016 bytes(63 rows)
Space allocated for memory besides bind array: 0 bytes
Total logical records skipped: 0
Total logical records read: 18
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Mon Jan 28 18:25:23 2008
Run ended on Mon Jan 28 18:25:23 2008
Elapsed time was: 00:00:00.04
CPU time was: 00:00:00.03

View File

@@ -1,55 +0,0 @@
SQL*Loader: Release 8.1.7.0.0 - Production on Mon Jan 28 18:25:23 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Control File: parl.ctl
Data File: parl.ctl
Bad File: parl.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 65536 bytes
Continuation: none specified
Path used: Conventional
Table PARTY_ROLES, loaded from every logical record.
Insert option in effect for this table: REPLACE
Column Name Position Len Term Encl Datatype
------------------------------ ---------- ----- ---- ---- ---------------------
PRTY_ID FIRST * | CHARACTER
RT_CODE NEXT * | CHARACTER
ID NEXT * | CHARACTER
START_DATE NEXT * | CHARACTER
END_DATE NEXT * | CHARACTER
DESCRIPTION NEXT * | CHARACTER
Record 7: Rejected - Error on table PARTY_ROLES.
ORA-02291: integrity constraint (MIP_FAT.PARL_PRTY_FK) violated - parent key not found
Table PARTY_ROLES:
20 Rows successfully loaded.
1 Row not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 65016 bytes(42 rows)
Space allocated for memory besides bind array: 0 bytes
Total logical records skipped: 0
Total logical records read: 21
Total logical records rejected: 1
Total logical records discarded: 0
Run began on Mon Jan 28 18:25:23 2008
Run ended on Mon Jan 28 18:25:23 2008
Elapsed time was: 00:00:00.06
CPU time was: 00:00:00.03

View File

@@ -1,61 +0,0 @@
SQL*Loader: Release 8.1.7.0.0 - Production on Mon Jan 28 18:25:23 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Control File: prel.ctl
Data File: prel.ctl
Bad File: prel.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 65536 bytes
Continuation: none specified
Path used: Conventional
Table PARTY_RELATIONSHIPS, loaded from every logical record.
Insert option in effect for this table: REPLACE
Column Name Position Len Term Encl Datatype
------------------------------ ---------- ----- ---- ---- ---------------------
FROM_PARL_ID FIRST * | CHARACTER
TO_PARL_ID NEXT * | CHARACTER
FROM_PARL_PRTY_ID NEXT * | CHARACTER
TO_PARL_PRTY_ID NEXT * | CHARACTER
FROM_PARL_RT_CODE NEXT * | CHARACTER
TO_PARL_RT_CODE NEXT * | CHARACTER
START_DATE NEXT * | CHARACTER
FROM_PRTP_RT_CODE NEXT * | CHARACTER
TO_PRTP_RT_CODE NEXT * | CHARACTER
Record 16: Rejected - Error on table PARTY_RELATIONSHIPS.
ORA-02291: integrity constraint (MIP_FAT.PREL_PARL_TO_FK) violated - parent key not found
Record 25: Rejected - Error on table PARTY_RELATIONSHIPS.
ORA-02291: integrity constraint (MIP_FAT.PREL_PARL_TO_FK) violated - parent key not found
Table PARTY_RELATIONSHIPS:
25 Rows successfully loaded.
2 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 65016 bytes(28 rows)
Space allocated for memory besides bind array: 0 bytes
Total logical records skipped: 0
Total logical records read: 27
Total logical records rejected: 2
Total logical records discarded: 0
Run began on Mon Jan 28 18:25:23 2008
Run ended on Mon Jan 28 18:25:23 2008
Elapsed time was: 00:00:00.06
CPU time was: 00:00:00.03

View File

@@ -1,69 +0,0 @@
SQL*Loader: Release 8.1.7.0.0 - Production on Mon Jan 28 18:25:23 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Control File: prty.ctl
Data File: prty.ctl
Bad File: prty.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 65536 bytes
Continuation: none specified
Path used: Conventional
Table PARTIES, loaded from every logical record.
Insert option in effect for this table: REPLACE
Column Name Position Len Term Encl Datatype
------------------------------ ---------- ----- ---- ---- ---------------------
MANU_REF FIRST * | CHARACTER
CREATED_BY NEXT * | CHARACTER
SHORTCODE NEXT * | CHARACTER
NAME NEXT * | CHARACTER
DESCRIPTION NEXT * | CHARACTER
CREATED_ON NEXT * | CHARACTER
UPDATED_ON NEXT * | CHARACTER
UPDATED_BY NEXT * | CHARACTER
MKTP_REF NEXT * | CHARACTER
LT_7B_CONTRACT_REF NEXT * | CHARACTER
GT_7B_CONTRACT_REF NEXT * | CHARACTER
ADVERSARIAL_CONTRACT_REF NEXT * | CHARACTER
USERNAME NEXT * | CHARACTER
STATUS NEXT * | CHARACTER
FIRST_NAME NEXT * | CHARACTER
LAST_NAME NEXT * | CHARACTER
PERSONAL_TITLE NEXT * | CHARACTER
COMMENTS NEXT * | CHARACTER
ID NEXT * | CHARACTER
PRTY_TYPE NEXT * | CHARACTER
Record 11: Rejected - Error on table PARTIES, column ID.
ORA-01722: invalid number
Table PARTIES:
35 Rows successfully loaded.
1 Row not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 61920 bytes(12 rows)
Space allocated for memory besides bind array: 0 bytes
Total logical records skipped: 0
Total logical records read: 36
Total logical records rejected: 1
Total logical records discarded: 0
Run began on Mon Jan 28 18:25:23 2008
Run ended on Mon Jan 28 18:25:23 2008
Elapsed time was: 00:00:00.08
CPU time was: 00:00:00.05

View File

@@ -24,5 +24,6 @@ exec gen_mandatory
@@mip_bulk_Load.pck @@mip_bulk_Load.pck
@@mip_tripartite.pck @@mip_tripartite.pck
@@mip_virus_check.pck @@mip_virus_check.pck
@@mip_email.pck
@@compile.sql @@compile.sql
exit exit

View File

@@ -4,7 +4,7 @@
The total cost does NOT include any lifting gear or purging that The total cost does NOT include any lifting gear or purging that
may be required. may be required.
*/ */
CREATE OR REPLACE VIEW V_QUOTE_DETAILS AS CREATE OR REPLACE FORCE VIEW V_QUOTE_DETAILS AS
SELECT * SELECT *
FROM (SELECT q.enqu_id AS enquiry_id FROM (SELECT q.enqu_id AS enquiry_id
,t.qute_id AS quote_id ,t.qute_id AS quote_id

View File

@@ -1,4 +1,4 @@
CREATE OR REPLACE VIEW v_current_quote_status CREATE OR REPLACE FORCE VIEW v_current_quote_status
AS AS
SELECT qute_id SELECT qute_id
,event_date ,event_date
@@ -38,3 +38,4 @@ SELECT qute_id
,8)) over(PARTITION BY qute_id) AS max_event ,8)) over(PARTITION BY qute_id) AS max_event
FROM quote_events) FROM quote_events)
WHERE this_event = max_event WHERE this_event = max_event
/