From 19681ec33d6fc2717512207a0983e1ca39ffcab0 Mon Sep 17 00:00:00 2001 From: Deepak Pansheriya Date: Tue, 1 Feb 2022 16:41:48 +0530 Subject: [PATCH] IDEMPIERE-5175: on GL Journal Batch window, DateAct on line defaulted from GL Journal Batch instead of Journal (#1152) --- migration/i9/oracle/202201300826_IDEMPIERE-5175.sql | 11 +++++++++++ .../i9/postgresql/202201300826_IDEMPIERE-5175.sql | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 migration/i9/oracle/202201300826_IDEMPIERE-5175.sql create mode 100644 migration/i9/postgresql/202201300826_IDEMPIERE-5175.sql diff --git a/migration/i9/oracle/202201300826_IDEMPIERE-5175.sql b/migration/i9/oracle/202201300826_IDEMPIERE-5175.sql new file mode 100644 index 0000000000..fd676dd9b6 --- /dev/null +++ b/migration/i9/oracle/202201300826_IDEMPIERE-5175.sql @@ -0,0 +1,11 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- DateAct do not set from Journal in GL Journal Batch +-- 29-Jan-2022, 5:14:32 PM IST +UPDATE AD_Field SET DefaultValue='@1|DateAcct@', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2022-01-29 17:14:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1293 +; + + +SELECT register_migration_script('202201300826_IDEMPIERE-5175.sql') FROM dual +; \ No newline at end of file diff --git a/migration/i9/postgresql/202201300826_IDEMPIERE-5175.sql b/migration/i9/postgresql/202201300826_IDEMPIERE-5175.sql new file mode 100644 index 0000000000..aaaf49b64f --- /dev/null +++ b/migration/i9/postgresql/202201300826_IDEMPIERE-5175.sql @@ -0,0 +1,8 @@ +-- DateAct do not set from Journal in GL Journal Batch +-- 29-Jan-2022, 5:14:32 PM IST +UPDATE AD_Field SET DefaultValue='@1|DateAcct@', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2022-01-29 17:14:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1293 +; + + +SELECT register_migration_script('202201300826_IDEMPIERE-5175.sql') FROM dual +; \ No newline at end of file