From 7e8d895f4b23d5522a910c7d85caa9fb6c9b6d00 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 23 Oct 2017 18:45:01 +0200 Subject: [PATCH] IDEMPIERE-3338 Document Status Indicator / fix wrong example on GW --- migration/i4.1/oracle/201710231841_IDEMPIERE-3338.sql | 11 +++++++++++ .../i4.1/postgresql/201710231841_IDEMPIERE-3338.sql | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 migration/i4.1/oracle/201710231841_IDEMPIERE-3338.sql create mode 100644 migration/i4.1/postgresql/201710231841_IDEMPIERE-3338.sql diff --git a/migration/i4.1/oracle/201710231841_IDEMPIERE-3338.sql b/migration/i4.1/oracle/201710231841_IDEMPIERE-3338.sql new file mode 100644 index 0000000000..9747e4e7a4 --- /dev/null +++ b/migration/i4.1/oracle/201710231841_IDEMPIERE-3338.sql @@ -0,0 +1,11 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-3338 Document Status Indicator / fix wrong example on GW +-- Oct 23, 2017 6:41:13 PM CEST +UPDATE PA_DocumentStatus SET WhereClause='M_InOut.IsSOTrx=''Y'' AND M_InOut.Processed=''N'' AND M_InOut.MovementType IN (''C-'')',Updated=TO_DATE('2017-10-23 18:41:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200001 +; + +SELECT register_migration_script('201710231841_IDEMPIERE-3338.sql') FROM dual +; + diff --git a/migration/i4.1/postgresql/201710231841_IDEMPIERE-3338.sql b/migration/i4.1/postgresql/201710231841_IDEMPIERE-3338.sql new file mode 100644 index 0000000000..948a8ca2c9 --- /dev/null +++ b/migration/i4.1/postgresql/201710231841_IDEMPIERE-3338.sql @@ -0,0 +1,8 @@ +-- IDEMPIERE-3338 Document Status Indicator / fix wrong example on GW +-- Oct 23, 2017 6:41:13 PM CEST +UPDATE PA_DocumentStatus SET WhereClause='M_InOut.IsSOTrx=''Y'' AND M_InOut.Processed=''N'' AND M_InOut.MovementType IN (''C-'')',Updated=TO_TIMESTAMP('2017-10-23 18:41:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200001 +; + +SELECT register_migration_script('201710231841_IDEMPIERE-3338.sql') FROM dual +; +