From 0f326c7e04fcc78ed6a9cecc13d26730808c8c0b Mon Sep 17 00:00:00 2001 From: Orlando Curieles Date: Sat, 30 Mar 2024 17:57:15 -0400 Subject: [PATCH] IDEMPIERE-6076 Fix Default Locator on InfoWindow Create lines from Receipt/Shipment (#2281) * Fix InfoWindow * Added to V11 * Remove from V12 --- migration/iD11/oracle/202403271137_IDEMPIERE-6076.sql | 10 ++++++++++ .../iD11/postgresql/202403271137_IDEMPIERE-6076.sql | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 migration/iD11/oracle/202403271137_IDEMPIERE-6076.sql create mode 100644 migration/iD11/postgresql/202403271137_IDEMPIERE-6076.sql diff --git a/migration/iD11/oracle/202403271137_IDEMPIERE-6076.sql b/migration/iD11/oracle/202403271137_IDEMPIERE-6076.sql new file mode 100644 index 0000000000..5d557ad38a --- /dev/null +++ b/migration/iD11/oracle/202403271137_IDEMPIERE-6076.sql @@ -0,0 +1,10 @@ +-- IDEMPIERE-6076 +SELECT register_migration_script('202403271137_IDEMPIERE-6076.sql') FROM dual; + +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Mar 27, 2024, 11:37:00 AM VET +UPDATE AD_InfoColumn SET DefaultValue='@SQL=SELECT M_Locator_ID FROM M_Locator WHERE M_Warehouse_ID=@M_Warehouse_ID@ ORDER BY IsDefault DESC, M_Locator_ID DESC',Updated=TO_TIMESTAMP('2024-03-27 11:37:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_InfoColumn_ID=200248 +; + diff --git a/migration/iD11/postgresql/202403271137_IDEMPIERE-6076.sql b/migration/iD11/postgresql/202403271137_IDEMPIERE-6076.sql new file mode 100644 index 0000000000..8cbabc9163 --- /dev/null +++ b/migration/iD11/postgresql/202403271137_IDEMPIERE-6076.sql @@ -0,0 +1,7 @@ +-- IDEMPIERE-6076 +SELECT register_migration_script('202403271137_IDEMPIERE-6076.sql') FROM dual; + +-- Mar 27, 2024, 11:37:00 AM VET +UPDATE AD_InfoColumn SET DefaultValue='@SQL=SELECT M_Locator_ID FROM M_Locator WHERE M_Warehouse_ID=@M_Warehouse_ID@ ORDER BY IsDefault DESC, M_Locator_ID DESC',Updated=TO_TIMESTAMP('2024-03-27 11:37:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_InfoColumn_ID=200248 +; +