From f53226d73a9852f44d6f3dc13f591018de55089f Mon Sep 17 00:00:00 2001 From: Nicolas Micoud Date: Wed, 10 Jun 2015 09:13:06 -0500 Subject: [PATCH] IDEMPIERE-2663 Value of DatePrinted should not be copied when copying a record --- .../oracle/201506061430_IDEMPIERE-2663.sql | 19 +++++++++++++++++++ .../201506061430_IDEMPIERE-2663.sql | 18 ++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 migration/i2.1/oracle/201506061430_IDEMPIERE-2663.sql create mode 100644 migration/i2.1/postgresql/201506061430_IDEMPIERE-2663.sql diff --git a/migration/i2.1/oracle/201506061430_IDEMPIERE-2663.sql b/migration/i2.1/oracle/201506061430_IDEMPIERE-2663.sql new file mode 100644 index 0000000000..8ae1127c93 --- /dev/null +++ b/migration/i2.1/oracle/201506061430_IDEMPIERE-2663.sql @@ -0,0 +1,19 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Jun 6, 2015 2:29:41 PM CEST +-- IDEMPIERE-2663 Value of DatePrinted should not be copied when copying a record +UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_DATE('2015-06-06 14:29:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3719 +; + +-- Jun 6, 2015 2:29:57 PM CEST +UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_DATE('2015-06-06 14:29:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3808 +; + +-- Jun 6, 2015 2:30:12 PM CEST +UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_DATE('2015-06-06 14:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3784 +; + +SELECT register_migration_script('201506061430_IDEMPIERE-2663.sql') FROM dual +; + diff --git a/migration/i2.1/postgresql/201506061430_IDEMPIERE-2663.sql b/migration/i2.1/postgresql/201506061430_IDEMPIERE-2663.sql new file mode 100644 index 0000000000..290e3fc987 --- /dev/null +++ b/migration/i2.1/postgresql/201506061430_IDEMPIERE-2663.sql @@ -0,0 +1,18 @@ +-- Jun 6, 2015 2:29:41 PM CEST +-- IDEMPIERE-2663 Value of DatePrinted should not be copied when copying a record +UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2015-06-06 14:29:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3719 +; + +-- Jun 6, 2015 2:29:57 PM CEST +UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2015-06-06 14:29:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3808 +; + +-- Jun 6, 2015 2:30:12 PM CEST +UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2015-06-06 14:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3784 +; + + + +SELECT register_migration_script('201506061430_IDEMPIERE-2663.sql') FROM dual +; +