From 290429f1383b3b7326c2a07164ce9e377cd1b9e4 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 14 Dec 2017 15:13:49 +0100 Subject: [PATCH] IDEMPIERE-3388 - change GardenWorld to Average PO instead of Average Invoice --- .../i5.1/oracle/201712141459_IDEMPIERE-3388.sql | 15 +++++++++++++++ .../postgresql/201712141459_IDEMPIERE-3388.sql | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 migration/i5.1/oracle/201712141459_IDEMPIERE-3388.sql create mode 100644 migration/i5.1/postgresql/201712141459_IDEMPIERE-3388.sql diff --git a/migration/i5.1/oracle/201712141459_IDEMPIERE-3388.sql b/migration/i5.1/oracle/201712141459_IDEMPIERE-3388.sql new file mode 100644 index 0000000000..8bb23e0e46 --- /dev/null +++ b/migration/i5.1/oracle/201712141459_IDEMPIERE-3388.sql @@ -0,0 +1,15 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-3388 +-- Dec 14, 2017 2:58:05 PM CET +UPDATE C_AcctSchema SET CostingMethod='A',Updated=TO_DATE('2017-12-14 14:58:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101 +; + +-- Dec 14, 2017 2:58:14 PM CET +UPDATE M_CostElement SET IsActive='N',Updated=TO_DATE('2017-12-14 14:58:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_CostElement_ID=104 +; + +SELECT register_migration_script('201712141459_IDEMPIERE-3388.sql') FROM dual +; + diff --git a/migration/i5.1/postgresql/201712141459_IDEMPIERE-3388.sql b/migration/i5.1/postgresql/201712141459_IDEMPIERE-3388.sql new file mode 100644 index 0000000000..cb5a300614 --- /dev/null +++ b/migration/i5.1/postgresql/201712141459_IDEMPIERE-3388.sql @@ -0,0 +1,12 @@ +-- IDEMPIERE-3388 +-- Dec 14, 2017 2:58:05 PM CET +UPDATE C_AcctSchema SET CostingMethod='A',Updated=TO_TIMESTAMP('2017-12-14 14:58:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101 +; + +-- Dec 14, 2017 2:58:14 PM CET +UPDATE M_CostElement SET IsActive='N',Updated=TO_TIMESTAMP('2017-12-14 14:58:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_CostElement_ID=104 +; + +SELECT register_migration_script('201712141459_IDEMPIERE-3388.sql') FROM dual +; +