From 0625cd9fd9d291ac42cb2ddc5c8dc116368c9217 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 14 Aug 2012 15:40:53 -0500 Subject: [PATCH] IDEMPIERE-364 Improve Grid Layout / wrong field added to the window --- .../876_IDEMPIERE-364_FixWrongField.sql | 22 +++++++++++++++++++ .../876_IDEMPIERE-364_FixWrongField.sql | 22 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 migration/360lts-release/oracle/876_IDEMPIERE-364_FixWrongField.sql create mode 100644 migration/360lts-release/postgresql/876_IDEMPIERE-364_FixWrongField.sql diff --git a/migration/360lts-release/oracle/876_IDEMPIERE-364_FixWrongField.sql b/migration/360lts-release/oracle/876_IDEMPIERE-364_FixWrongField.sql new file mode 100644 index 0000000000..3f6ea648ec --- /dev/null +++ b/migration/360lts-release/oracle/876_IDEMPIERE-364_FixWrongField.sql @@ -0,0 +1,22 @@ +-- Aug 14, 2012 3:36:39 PM COT +-- IDEMPIERE-364 Improve Grid Layout +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200273 +; + +-- Aug 14, 2012 3:36:39 PM COT +UPDATE AD_Field SET SeqNoGrid=320,IsDisplayedGrid='Y' WHERE AD_Field_ID=200275 +; + +-- Aug 14, 2012 3:36:45 PM COT +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200273 +; + +-- Aug 14, 2012 3:36:45 PM COT +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=200275 +; + +UPDATE AD_System + SET LastMigrationScriptApplied='876_IDEMPIERE-364_FixWrongField.sql' +WHERE LastMigrationScriptApplied<'876_IDEMPIERE-364_FixWrongField.sql' + OR LastMigrationScriptApplied IS NULL +; diff --git a/migration/360lts-release/postgresql/876_IDEMPIERE-364_FixWrongField.sql b/migration/360lts-release/postgresql/876_IDEMPIERE-364_FixWrongField.sql new file mode 100644 index 0000000000..3f6ea648ec --- /dev/null +++ b/migration/360lts-release/postgresql/876_IDEMPIERE-364_FixWrongField.sql @@ -0,0 +1,22 @@ +-- Aug 14, 2012 3:36:39 PM COT +-- IDEMPIERE-364 Improve Grid Layout +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200273 +; + +-- Aug 14, 2012 3:36:39 PM COT +UPDATE AD_Field SET SeqNoGrid=320,IsDisplayedGrid='Y' WHERE AD_Field_ID=200275 +; + +-- Aug 14, 2012 3:36:45 PM COT +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200273 +; + +-- Aug 14, 2012 3:36:45 PM COT +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=200275 +; + +UPDATE AD_System + SET LastMigrationScriptApplied='876_IDEMPIERE-364_FixWrongField.sql' +WHERE LastMigrationScriptApplied<'876_IDEMPIERE-364_FixWrongField.sql' + OR LastMigrationScriptApplied IS NULL +;