From d1ffb621b1ebf9d24a254aca3759ab09b19ed940 Mon Sep 17 00:00:00 2001 From: Diego Ruiz <12065321+d-ruiz@users.noreply.github.com> Date: Sat, 23 Sep 2023 04:12:50 +0200 Subject: [PATCH] IDEMPIERE-5863 - Fixed bug that copies isVerified when copying a BOM product (#2022) --- migration/iD10/oracle/202309221355_IDEMPIERE-5863.sql | 10 ++++++++++ .../iD10/postgresql/202309221355_IDEMPIERE-5863.sql | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 migration/iD10/oracle/202309221355_IDEMPIERE-5863.sql create mode 100644 migration/iD10/postgresql/202309221355_IDEMPIERE-5863.sql diff --git a/migration/iD10/oracle/202309221355_IDEMPIERE-5863.sql b/migration/iD10/oracle/202309221355_IDEMPIERE-5863.sql new file mode 100644 index 0000000000..0959180ce5 --- /dev/null +++ b/migration/iD10/oracle/202309221355_IDEMPIERE-5863.sql @@ -0,0 +1,10 @@ +-- IDEMPIERE-5863 - When copying a BOM product, verified is copied leaving an invalid BOM marked as verified +SELECT register_migration_script('202309221355_IDEMPIERE-5863.sql') FROM dual; + +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Sep 22, 2023, 1:55:49 PM CEST +UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2023-09-22 13:55:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4711 +; + diff --git a/migration/iD10/postgresql/202309221355_IDEMPIERE-5863.sql b/migration/iD10/postgresql/202309221355_IDEMPIERE-5863.sql new file mode 100644 index 0000000000..5d519c848e --- /dev/null +++ b/migration/iD10/postgresql/202309221355_IDEMPIERE-5863.sql @@ -0,0 +1,7 @@ +-- IDEMPIERE-5863 - When copying a BOM product, verified is copied leaving an invalid BOM marked as verified +SELECT register_migration_script('202309221355_IDEMPIERE-5863.sql') FROM dual; + +-- Sep 22, 2023, 1:55:49 PM CEST +UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2023-09-22 13:55:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4711 +; +