From 072c306db48ef4859516748d174641deb533700b Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Thu, 5 Mar 2009 10:17:04 +0000 Subject: [PATCH] [ 2664599 ] Fix CreateCostElement process parameters https://sourceforge.net/tracker/index.php?func=detail&aid=2664599&group_id=176962&atid=934929 --- .../353a-trunk/oracle/426_007_BF2664599.sql | 66 +++++++++++++++++ .../postgresql/426_007_BF2664599.sql | 71 +++++++++++++++++++ 2 files changed, 137 insertions(+) create mode 100644 migration/353a-trunk/oracle/426_007_BF2664599.sql create mode 100644 migration/353a-trunk/postgresql/426_007_BF2664599.sql diff --git a/migration/353a-trunk/oracle/426_007_BF2664599.sql b/migration/353a-trunk/oracle/426_007_BF2664599.sql new file mode 100644 index 0000000000..f7421ccde8 --- /dev/null +++ b/migration/353a-trunk/oracle/426_007_BF2664599.sql @@ -0,0 +1,66 @@ +-- 05.03.2009 12:04:45 EET +-- Implementing Subcontract in Manufacturing Management +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53088 +; + +-- 05.03.2009 12:04:46 EET +-- Implementing Subcontract in Manufacturing Management +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53088 +; + +-- 05.03.2009 12:05:01 EET +-- Implementing Subcontract in Manufacturing Management +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53091 +; + +-- 05.03.2009 12:05:01 EET +-- Implementing Subcontract in Manufacturing Management +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53091 +; + +-- 05.03.2009 12:05:25 EET +-- Implementing Subcontract in Manufacturing Management +UPDATE AD_Process_Para SET SeqNo=30,IsActive='Y' WHERE AD_Process_Para_ID=53093 +; + +-- 05.03.2009 12:05:25 EET +-- Implementing Subcontract in Manufacturing Management +UPDATE AD_Process_Para SET SeqNo=40,IsActive='Y' WHERE AD_Process_Para_ID=53092 +; + +-- 05.03.2009 12:05:25 EET +-- Implementing Subcontract in Manufacturing Management +UPDATE AD_Process_Para SET SeqNo=50,IsActive='Y' WHERE AD_Process_Para_ID=53266 +; + +-- Mar 5, 2009 12:11:23 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,Created,CreatedBy,UpdatedBy,IsActive,AD_Org_ID,Updated,Name,IsRange,Description,Help,AD_Process_ID,EntityType,FieldLength,IsCentrallyMaintained,ColumnName,SeqNo,AD_Reference_ID,IsMandatory,AD_Element_ID) VALUES (53298,0,TO_DATE('2009-03-05 12:11:21','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',0,TO_DATE('2009-03-05 12:11:21','YYYY-MM-DD HH24:MI:SS'),'Product Category','N','Category of a Product','Identifies the category which this product belongs to. Product categories are used for pricing and selection.',53052,'D',10,'Y','M_Product_Category_ID',60,30,'N',453) +; + +-- Mar 5, 2009 12:11:23 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53298 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Mar 5, 2009 12:11:42 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +UPDATE AD_Process_Para SET SeqNo=40,IsActive='Y' WHERE AD_Process_Para_ID=53298 +; + +-- Mar 5, 2009 12:11:42 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +UPDATE AD_Process_Para SET SeqNo=50,IsActive='Y' WHERE AD_Process_Para_ID=53092 +; + +-- Mar 5, 2009 12:11:42 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +UPDATE AD_Process_Para SET SeqNo=60,IsActive='Y' WHERE AD_Process_Para_ID=53266 +; + + +-- Mar 5, 2009 12:15:02 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +UPDATE AD_Process_Para SET AD_Reference_ID=19,Updated=TO_DATE('2009-03-05 12:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53298 +; + diff --git a/migration/353a-trunk/postgresql/426_007_BF2664599.sql b/migration/353a-trunk/postgresql/426_007_BF2664599.sql new file mode 100644 index 0000000000..2ca4522c5e --- /dev/null +++ b/migration/353a-trunk/postgresql/426_007_BF2664599.sql @@ -0,0 +1,71 @@ +-- 05.03.2009 12:04:46 EET +-- Implementing Subcontract in Manufacturing Management +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53088 +; + +-- 05.03.2009 12:04:46 EET +-- Implementing Subcontract in Manufacturing Management +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53088 +; + +-- 05.03.2009 12:05:01 EET +-- Implementing Subcontract in Manufacturing Management +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53091 +; + +-- 05.03.2009 12:05:01 EET +-- Implementing Subcontract in Manufacturing Management +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53091 +; + +-- 05.03.2009 12:05:25 EET +-- Implementing Subcontract in Manufacturing Management +UPDATE AD_Process_Para SET SeqNo=30,IsActive='Y' WHERE AD_Process_Para_ID=53093 +; + +-- 05.03.2009 12:05:25 EET +-- Implementing Subcontract in Manufacturing Management +UPDATE AD_Process_Para SET SeqNo=40,IsActive='Y' WHERE AD_Process_Para_ID=53092 +; + +-- 05.03.2009 12:05:25 EET +-- Implementing Subcontract in Manufacturing Management +UPDATE AD_Process_Para SET SeqNo=50,IsActive='Y' WHERE AD_Process_Para_ID=53266 +; + +-- Mar 5, 2009 12:10:22 PM EET +-- [ 2609604 ] Add M_RequisitionLine.C_BPartner_ID +UPDATE AD_SysConfig SET Value='[ 2664599 ] Fix CreateCostElement process parameters',Updated=TO_TIMESTAMP('2009-03-05 12:10:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_SysConfig_ID=50003 +; + +-- Mar 5, 2009 12:11:23 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,Created,CreatedBy,UpdatedBy,IsActive,AD_Org_ID,Updated,Name,IsRange,Description,Help,AD_Process_ID,EntityType,FieldLength,IsCentrallyMaintained,ColumnName,SeqNo,AD_Reference_ID,IsMandatory,AD_Element_ID) VALUES (53298,0,TO_TIMESTAMP('2009-03-05 12:11:21','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',0,TO_TIMESTAMP('2009-03-05 12:11:21','YYYY-MM-DD HH24:MI:SS'),'Product Category','N','Category of a Product','Identifies the category which this product belongs to. Product categories are used for pricing and selection.',53052,'D',10,'Y','M_Product_Category_ID',60,30,'N',453) +; + +-- Mar 5, 2009 12:11:23 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53298 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Mar 5, 2009 12:11:42 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +UPDATE AD_Process_Para SET SeqNo=40,IsActive='Y' WHERE AD_Process_Para_ID=53298 +; + +-- Mar 5, 2009 12:11:42 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +UPDATE AD_Process_Para SET SeqNo=50,IsActive='Y' WHERE AD_Process_Para_ID=53092 +; + +-- Mar 5, 2009 12:11:42 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +UPDATE AD_Process_Para SET SeqNo=60,IsActive='Y' WHERE AD_Process_Para_ID=53266 +; + + +-- Mar 5, 2009 12:15:02 PM EET +-- [ 2664599 ] Fix CreateCostElement process parameters +UPDATE AD_Process_Para SET AD_Reference_ID=19,Updated=TO_TIMESTAMP('2009-03-05 12:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53298 +; +