From ddb70eade2029ca877ee07a544a866d85954ba30 Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Thu, 8 Jan 2009 02:40:05 +0000 Subject: [PATCH] Fix Description for Floor Stock http://sourceforge.net/tracker2/?func=detail&aid=2493122&group_id=176962&atid=879332 --- .../384_BF2493122_FloorStockDescription.sql | 125 ++++++++++++++++++ .../384_BF2493122_FloorStockDescription.sql | 125 ++++++++++++++++++ 2 files changed, 250 insertions(+) create mode 100644 migration/353a-trunk/oracle/384_BF2493122_FloorStockDescription.sql create mode 100644 migration/353a-trunk/postgresql/384_BF2493122_FloorStockDescription.sql diff --git a/migration/353a-trunk/oracle/384_BF2493122_FloorStockDescription.sql b/migration/353a-trunk/oracle/384_BF2493122_FloorStockDescription.sql new file mode 100644 index 0000000000..35b21ce1a5 --- /dev/null +++ b/migration/353a-trunk/oracle/384_BF2493122_FloorStockDescription.sql @@ -0,0 +1,125 @@ +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Element SET Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ',Updated=TO_DATE('2009-01-07 13:32:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Column SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Process_Para SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ', AD_Element_ID=53726 WHERE UPPER(ColumnName)='P_FLOORSTOCK_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Process_Para SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Element_ID=53726 AND IsCentrallyMaintained='Y' +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Field SET Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53726) AND IsCentrallyMaintained='Y' +; + +-- Jan 7, 2009 1:35:02 PM ECT +-- Manufacturing Cost +UPDATE AD_Field SET Help='The Floor Stock is used for accounting the component with Issue Method is set Floor Stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ',Updated=TO_DATE('2009-01-07 13:35:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56532 +; + +-- Jan 7, 2009 1:35:02 PM ECT +-- Manufacturing Cost +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56532 +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Element SET Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ',Updated=TO_DATE('2009-01-07 13:35:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Column SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Process_Para SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ', AD_Element_ID=53726 WHERE UPPER(ColumnName)='P_FLOORSTOCK_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Process_Para SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Element_ID=53726 AND IsCentrallyMaintained='Y' +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Field SET Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53726) AND IsCentrallyMaintained='Y' +; + diff --git a/migration/353a-trunk/postgresql/384_BF2493122_FloorStockDescription.sql b/migration/353a-trunk/postgresql/384_BF2493122_FloorStockDescription.sql new file mode 100644 index 0000000000..de7c625e1b --- /dev/null +++ b/migration/353a-trunk/postgresql/384_BF2493122_FloorStockDescription.sql @@ -0,0 +1,125 @@ +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Element SET Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ',Updated=TO_TIMESTAMP('2009-01-07 13:32:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Column SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Process_Para SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ', AD_Element_ID=53726 WHERE UPPER(ColumnName)='P_FLOORSTOCK_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Process_Para SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Element_ID=53726 AND IsCentrallyMaintained='Y' +; + +-- Jan 7, 2009 1:32:53 PM ECT +-- Manufacturing Cost +UPDATE AD_Field SET Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Policy defined as No are acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53726) AND IsCentrallyMaintained='Y' +; + +-- Jan 7, 2009 1:35:02 PM ECT +-- Manufacturing Cost +UPDATE AD_Field SET Help='The Floor Stock is used for accounting the component with Issue Method is set Floor Stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ',Updated=TO_TIMESTAMP('2009-01-07 13:35:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56532 +; + +-- Jan 7, 2009 1:35:02 PM ECT +-- Manufacturing Cost +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56532 +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Element SET Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ',Updated=TO_TIMESTAMP('2009-01-07 13:35:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Column SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Element_ID=53726 +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Process_Para SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ', AD_Element_ID=53726 WHERE UPPER(ColumnName)='P_FLOORSTOCK_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Process_Para SET ColumnName='P_FloorStock_Acct', Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Element_ID=53726 AND IsCentrallyMaintained='Y' +; + +-- Jan 7, 2009 1:35:43 PM ECT +-- Manufacturing Cost +UPDATE AD_Field SET Name='Floor Stock', Description='The Floor Stock account is the account used Manufacturing Order', Help='The Floor Stock is used for accounting the component with Issue method is set Floor stock into Bill of Material & Formula Window. + +The components with Issue Method defined as Floor stock is acounting next way: + +Debit Floor Stock Account +Credit Work in Process Account ' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53726) AND IsCentrallyMaintained='Y' +; +