From af63086cc85e9776535d38b73618b2718fcfeb54 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 12 Dec 2017 19:20:37 +0100 Subject: [PATCH] IDEMPIERE-3578 BPartner Location name : Preserve custom name / peer review - reorg order of fields on BP Location --- .../oracle/201712121919_IDEMPIERE-3578.sql | 23 +++++++++++++++++++ .../201712121919_IDEMPIERE-3578.sql | 20 ++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 migration/i5.1z/oracle/201712121919_IDEMPIERE-3578.sql create mode 100644 migration/i5.1z/postgresql/201712121919_IDEMPIERE-3578.sql diff --git a/migration/i5.1z/oracle/201712121919_IDEMPIERE-3578.sql b/migration/i5.1z/oracle/201712121919_IDEMPIERE-3578.sql new file mode 100644 index 0000000000..2a2e7e9466 --- /dev/null +++ b/migration/i5.1z/oracle/201712121919_IDEMPIERE-3578.sql @@ -0,0 +1,23 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-3578 BPartner Location name : Preserve custom name +-- Dec 12, 2017 7:19:31 PM CET +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_DATE('2017-12-12 19:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205277 +; + +-- Dec 12, 2017 7:19:31 PM CET +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2017-12-12 19:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2186 +; + +-- Dec 12, 2017 7:19:31 PM CET +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, ColumnSpan=1, IsToolbarButton=NULL,Updated=TO_DATE('2017-12-12 19:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200619 +; + +-- Dec 12, 2017 7:19:31 PM CET +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=6, ColumnSpan=1, IsToolbarButton=NULL,Updated=TO_DATE('2017-12-12 19:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2189 +; + +SELECT register_migration_script('201712121919_IDEMPIERE-3578.sql') FROM dual +; + diff --git a/migration/i5.1z/postgresql/201712121919_IDEMPIERE-3578.sql b/migration/i5.1z/postgresql/201712121919_IDEMPIERE-3578.sql new file mode 100644 index 0000000000..ad0ec9c042 --- /dev/null +++ b/migration/i5.1z/postgresql/201712121919_IDEMPIERE-3578.sql @@ -0,0 +1,20 @@ +-- IDEMPIERE-3578 BPartner Location name : Preserve custom name +-- Dec 12, 2017 7:19:31 PM CET +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2017-12-12 19:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205277 +; + +-- Dec 12, 2017 7:19:31 PM CET +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2017-12-12 19:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2186 +; + +-- Dec 12, 2017 7:19:31 PM CET +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, ColumnSpan=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2017-12-12 19:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200619 +; + +-- Dec 12, 2017 7:19:31 PM CET +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=6, ColumnSpan=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2017-12-12 19:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2189 +; + +SELECT register_migration_script('201712121919_IDEMPIERE-3578.sql') FROM dual +; +