From 9fbd9844724cdf312b914de65621594a686b6b4e Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 6 Jun 2018 13:32:21 +0200 Subject: [PATCH] IDEMPIERE-3651 Report Column Set=>Report Column=>User Element List1 not displaying User1_ID values / reviewing this further - the filter was not allowing multiple accounting schemas - changing filter to allow that --- .../i5.1/oracle/201806061330_IDEMPIERE-3651.sql | 12 ++++++++++++ .../i5.1/postgresql/201806061330_IDEMPIERE-3651.sql | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 migration/i5.1/oracle/201806061330_IDEMPIERE-3651.sql create mode 100644 migration/i5.1/postgresql/201806061330_IDEMPIERE-3651.sql diff --git a/migration/i5.1/oracle/201806061330_IDEMPIERE-3651.sql b/migration/i5.1/oracle/201806061330_IDEMPIERE-3651.sql new file mode 100644 index 0000000000..05a769502f --- /dev/null +++ b/migration/i5.1/oracle/201806061330_IDEMPIERE-3651.sql @@ -0,0 +1,12 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-3651 Report Column Set=>Report Column=>User Element List1 not displaying User1_ID values +-- Jun 6, 2018 1:29:52 PM CEST +UPDATE AD_Val_Rule SET Code='C_ElementValue.C_Element_ID IN +(SELECT C_Element_ID FROM C_AcctSchema_Element WHERE AD_Client_ID=@#AD_Client_ID@ AND (ElementType=''@ElementType@'' OR (''@ElementType@''=''CO'' AND ElementType=''AC'')))',Updated=TO_DATE('2018-06-06 13:29:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=258 +; + +SELECT register_migration_script('201806061330_IDEMPIERE-3651.sql') FROM dual +; + diff --git a/migration/i5.1/postgresql/201806061330_IDEMPIERE-3651.sql b/migration/i5.1/postgresql/201806061330_IDEMPIERE-3651.sql new file mode 100644 index 0000000000..855cd3992d --- /dev/null +++ b/migration/i5.1/postgresql/201806061330_IDEMPIERE-3651.sql @@ -0,0 +1,9 @@ +-- IDEMPIERE-3651 Report Column Set=>Report Column=>User Element List1 not displaying User1_ID values +-- Jun 6, 2018 1:29:52 PM CEST +UPDATE AD_Val_Rule SET Code='C_ElementValue.C_Element_ID IN +(SELECT C_Element_ID FROM C_AcctSchema_Element WHERE AD_Client_ID=@#AD_Client_ID@ AND (ElementType=''@ElementType@'' OR (''@ElementType@''=''CO'' AND ElementType=''AC'')))',Updated=TO_TIMESTAMP('2018-06-06 13:29:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=258 +; + +SELECT register_migration_script('201806061330_IDEMPIERE-3651.sql') FROM dual +; +