From cb7b890a92a93ee63c020e3378a04f70eb12af9e Mon Sep 17 00:00:00 2001 From: hardya Date: Tue, 27 Nov 2007 15:26:44 +0000 Subject: [PATCH] Data: Replace multiple Data/Seed 'role_types' files with Data/Seed/rt.ctl git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2892 248e525c-4dfb-0310-94bc-949c084e9493 --- Data/Seed/InstallSeed.cmd | 10 +-------- Data/Seed/enrt.ctl | 16 -------------- Data/Seed/part.ctl | 13 ----------- Data/Seed/pcmrt.ctl | 23 -------------------- Data/Seed/prt.ctl | 20 ----------------- Data/Seed/qurt.ctl | 17 --------------- Data/Seed/rt.ctl | 45 +++++++++++++++++++++++++++++++++++++++ 7 files changed, 46 insertions(+), 98 deletions(-) delete mode 100644 Data/Seed/enrt.ctl delete mode 100644 Data/Seed/part.ctl delete mode 100644 Data/Seed/pcmrt.ctl delete mode 100644 Data/Seed/prt.ctl delete mode 100644 Data/Seed/qurt.ctl create mode 100644 Data/Seed/rt.ctl diff --git a/Data/Seed/InstallSeed.cmd b/Data/Seed/InstallSeed.cmd index 5d45bc3..2edb88c 100644 --- a/Data/Seed/InstallSeed.cmd +++ b/Data/Seed/InstallSeed.cmd @@ -14,7 +14,7 @@ sqlldr %1 control=caco sqlldr %1 control=comt -sqlldr %1 control=enrt +sqlldr %1 control=rt sqlldr %1 control=enst @@ -26,16 +26,8 @@ sqlldr %1 control=hoty sqlldr %1 control=mety -sqlldr %1 control=part - -sqlldr %1 control=pcmrt - -sqlldr %1 control=prt - sqlldr %1 control=prtp -sqlldr %1 control=qurt - sqlldr %1 control=qust sqlldr %1 control=rety diff --git a/Data/Seed/enrt.ctl b/Data/Seed/enrt.ctl deleted file mode 100644 index 0296d19..0000000 --- a/Data/Seed/enrt.ctl +++ /dev/null @@ -1,16 +0,0 @@ -LOAD DATA -INFILE * -INTO TABLE role_types -APPEND -FIELDS TERMINATED BY '|' -( -rt_type -,code -,description -) -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 diff --git a/Data/Seed/part.ctl b/Data/Seed/part.ctl deleted file mode 100644 index 26f783b..0000000 --- a/Data/Seed/part.ctl +++ /dev/null @@ -1,13 +0,0 @@ -LOAD DATA -INFILE * -INTO TABLE role_types -APPEND -FIELDS TERMINATED BY '|' -( -rt_type -,code -,description -) -BEGINDATA -PART|OFFICE|Office -PART|HOME|Home diff --git a/Data/Seed/pcmrt.ctl b/Data/Seed/pcmrt.ctl deleted file mode 100644 index c1a26f0..0000000 --- a/Data/Seed/pcmrt.ctl +++ /dev/null @@ -1,23 +0,0 @@ -LOAD DATA -INFILE * -INTO TABLE role_types -APPEND -FIELDS TERMINATED BY '|' -( -rt_type -,code -,description -) -BEGINDATA -PCMRT|BILLADDR|Billing inquiries -PCMRT|BILLPHONE|Billing inquiries number -PCMRT|MAINOFFADDR|Main office address -PCMRT|MAINOFFPHONE|Main office number -PCMRT|MAINOFFFAX|Main office fax -PCMRT|SECOFFPHONE|Secondary office number -PCMRT|SECOFFFAX|Secondary office fax -PCMRT|MAINHOMEADDR|Main home address -PCMRT|MAINHOMEPHONE|Main home number -PCMRT|MAINHOMEFAX|Main home fax -PCMRT|SECHOMEPHONE|Secondary home number -PCMRT|SECHOMEFAX|Secondary home fax diff --git a/Data/Seed/prt.ctl b/Data/Seed/prt.ctl deleted file mode 100644 index 4c748c4..0000000 --- a/Data/Seed/prt.ctl +++ /dev/null @@ -1,20 +0,0 @@ -LOAD DATA -INFILE * -INTO TABLE role_types -APPEND -FIELDS TERMINATED BY '|' -( -rt_type -,code -,description -) -BEGINDATA -PRT|AGENT|Agent -PRT|SUPP|Service supplier -PRT|SUPPADMIN|User administrator -PRT|MIPADMIN|System Administrator -PRT|ICU|Quotation operative -PRT|CS|Customer Service operative -PRT|INORG|Internal organization -PRT|EXTORG|External organization -PRT|MEMBER|Member of a group diff --git a/Data/Seed/qurt.ctl b/Data/Seed/qurt.ctl deleted file mode 100644 index f8e8b2c..0000000 --- a/Data/Seed/qurt.ctl +++ /dev/null @@ -1,17 +0,0 @@ -LOAD DATA -INFILE * -INTO TABLE role_types -APPEND -FIELDS TERMINATED BY '|' -( -rt_type -,code -,description -) -BEGINDATA -QURT|Q RFQ|Submitted request for quotation -QURT|Q OWN|Owner of quotation -QURT|Q ACC|Owner of accepted quotation -QURT|Q REJ|Owner of rejected quotation -QURT|Q SUBACC|Submitted acceptance of quotation -QURT|Q SUBREJ|Submitted rejection of quotation diff --git a/Data/Seed/rt.ctl b/Data/Seed/rt.ctl new file mode 100644 index 0000000..f9d3e9a --- /dev/null +++ b/Data/Seed/rt.ctl @@ -0,0 +1,45 @@ +LOAD DATA +INFILE * +INTO TABLE role_types +REPLACE +FIELDS TERMINATED BY '|' +( +code +,description +,rt_type +) +BEGINDATA +ENQ CREATE|Created Enquiry|ENRT +ENQ OWN|Owner of Enquiry|ENRT +ENQ AMEND|Amend Enquiry|ENRT +ENQ RFQ|Submit Request For Quotation|ENRT +OFFICE|Office|PART +HOME|Home|PART +BILLADDR|Billing inquiries|PCMRT +BILLPHONE|Billing inquiries number|PCMRT +MAINOFFADDR|Main office address|PCMRT +MAINOFFPHONE|Main office number|PCMRT +MAINOFFFAX|Main office fax|PCMRT +SECOFFPHONE|Secondary office number|PCMRT +SECOFFFAX|Secondary office fax|PCMRT +MAINHOMEADDR|Main home address|PCMRT +MAINHOMEPHONE|Main home number|PCMRT +MAINHOMEFAX|Main home fax|PCMRT +SECHOMEPHONE|Secondary home number|PCMRT +SECHOMEFAX|Secondary home fax|PCMRT +AGENT|Agent|PRT +SUPP|Service supplier|PRT +SUPPADMIN|User administrator|PRT +MIPADMIN|System Administrator|PRT +ICU|Quotation operative|PRT +CS|Customer Service operative|PRT +INORG|Internal organization|PRT +EXTORG|External organization|PRT +MEMBER|Member of a group|PRT +Q RFQ|Submitted request for quotation|QURT +Q OWN|Owner of quotation|QURT +Q ACC|Owner of accepted quotation|QURT +Q REJ|Owner of rejected quotation|QURT +Q SUBACC|Submitted acceptance of quotation|QURT +Q SUBREJ|Submitted rejection of quotation|QURT +ENQ SUPP|Supplier for Enquiry|ENRT