From 04d0310563e8dbf6fed4da40ad7998d1505d3308 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 7 Jan 2015 14:31:13 -0500 Subject: [PATCH] IDEMPIERE-1781 Error when try to change Invoiced mark in Event Windows / based on patch from hieplq --- .../oracle/201501071430_IDEMPIERE-1781.sql | 19 +++++++++++++++++++ .../201501071430_IDEMPIERE-1781.sql | 16 ++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 migration/i2.1/oracle/201501071430_IDEMPIERE-1781.sql create mode 100644 migration/i2.1/postgresql/201501071430_IDEMPIERE-1781.sql diff --git a/migration/i2.1/oracle/201501071430_IDEMPIERE-1781.sql b/migration/i2.1/oracle/201501071430_IDEMPIERE-1781.sql new file mode 100644 index 0000000000..c22d199b1a --- /dev/null +++ b/migration/i2.1/oracle/201501071430_IDEMPIERE-1781.sql @@ -0,0 +1,19 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Jan 7, 2015 2:25:11 PM COT +-- IDEMPIERE-1781:Error when try to change Invoiced mark in Event Windows +UPDATE AD_Column SET AD_Reference_ID=20, AD_Reference_Value_ID=NULL,Updated=TO_DATE('2015-01-07 14:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=13507 +; + +-- Jan 7, 2015 2:25:25 PM COT +UPDATE AD_Field SET AD_Reference_ID=17, AD_Reference_Value_ID=319,Updated=TO_DATE('2015-01-07 14:25:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11471 +; + +-- Jan 7, 2015 2:25:36 PM COT +UPDATE AD_Field SET AD_Reference_ID=17, AD_Reference_Value_ID=319,Updated=TO_DATE('2015-01-07 14:25:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11435 +; + +SELECT register_migration_script('201501071430_IDEMPIERE-1781.sql') FROM dual +; + diff --git a/migration/i2.1/postgresql/201501071430_IDEMPIERE-1781.sql b/migration/i2.1/postgresql/201501071430_IDEMPIERE-1781.sql new file mode 100644 index 0000000000..430c1ef39f --- /dev/null +++ b/migration/i2.1/postgresql/201501071430_IDEMPIERE-1781.sql @@ -0,0 +1,16 @@ +-- Jan 7, 2015 2:25:11 PM COT +-- IDEMPIERE-1781:Error when try to change Invoiced mark in Event Windows +UPDATE AD_Column SET AD_Reference_ID=20, AD_Reference_Value_ID=NULL,Updated=TO_TIMESTAMP('2015-01-07 14:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=13507 +; + +-- Jan 7, 2015 2:25:25 PM COT +UPDATE AD_Field SET AD_Reference_ID=17, AD_Reference_Value_ID=319,Updated=TO_TIMESTAMP('2015-01-07 14:25:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11471 +; + +-- Jan 7, 2015 2:25:36 PM COT +UPDATE AD_Field SET AD_Reference_ID=17, AD_Reference_Value_ID=319,Updated=TO_TIMESTAMP('2015-01-07 14:25:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11435 +; + +SELECT register_migration_script('201501071430_IDEMPIERE-1781.sql') FROM dual +; +