From 8cc4cc3f99708586993818ab91833f2ed896c517 Mon Sep 17 00:00:00 2001 From: Soo Fang Lee Date: Wed, 16 Mar 2016 15:59:59 +0800 Subject: [PATCH] IDEMPIERE-3046 Add Currency Field to Cost Adjustment Window IDEMPIERE-3047 Cost Adjustment propagate wrong cost amount to Organization accounting schema denoted in different currency - In the cost adjustment header filter currency based on the organization member only. - There seems to be a minor rounding issue for all costing records. (cost adjustment) --- migration/i3.1/oracle/201603031539_IDEMPIERE-3046.sql | 5 +++++ migration/i3.1/postgresql/201603031539_IDEMPIERE-3046.sql | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/migration/i3.1/oracle/201603031539_IDEMPIERE-3046.sql b/migration/i3.1/oracle/201603031539_IDEMPIERE-3046.sql index f0e8492a32..0b2bd1661c 100644 --- a/migration/i3.1/oracle/201603031539_IDEMPIERE-3046.sql +++ b/migration/i3.1/oracle/201603031539_IDEMPIERE-3046.sql @@ -121,5 +121,10 @@ UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2016-03-03 15:32:54','YYYY- UPDATE AD_Field SET DisplayLogic='@C_Currency_ID@!@$C_Currency_ID@',Updated=TO_DATE('2016-03-03 15:34:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=204146 ; +-- Mar 15, 2016 1:12:45 AM SGT +UPDATE AD_Val_Rule SET Code='C_Currency_ID in (SELECT C_Currency_ID FROM C_AcctSchema Where AD_Client_ID = @AD_Client_ID@ AND (AD_OrgOnly_ID=@AD_Org_ID@ OR AD_OrgOnly_ID Is NULL ))',Updated=TO_DATE('2016-03-15 01:12:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200091 +; + SELECT register_migration_script('201603031539_IDEMPIERE-3046') FROM dual ; + diff --git a/migration/i3.1/postgresql/201603031539_IDEMPIERE-3046.sql b/migration/i3.1/postgresql/201603031539_IDEMPIERE-3046.sql index b4df6487df..d45a76ff2b 100644 --- a/migration/i3.1/postgresql/201603031539_IDEMPIERE-3046.sql +++ b/migration/i3.1/postgresql/201603031539_IDEMPIERE-3046.sql @@ -120,5 +120,11 @@ UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2016-03-03 15:32:54',' UPDATE AD_Field SET DisplayLogic='@C_Currency_ID@!@$C_Currency_ID@',Updated=TO_TIMESTAMP('2016-03-03 15:34:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=204146 ; +-- Mar 15, 2016 1:12:45 AM SGT +UPDATE AD_Val_Rule SET Code='C_Currency_ID in (SELECT C_Currency_ID FROM C_AcctSchema Where AD_Client_ID = @AD_Client_ID@ AND (AD_OrgOnly_ID=@AD_Org_ID@ OR AD_OrgOnly_ID Is NULL ))',Updated=TO_TIMESTAMP('2016-03-15 01:12:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200091 +; + + SELECT register_migration_script('201603031539_IDEMPIERE-3046') FROM dual ; +