From 1152bf59a8d1e387773b160c6525d733da824f77 Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Tue, 8 Dec 2009 01:18:07 +0000 Subject: [PATCH] fix BOM back compatibility https://sourceforge.net/tracker/index.php?func=detail&aid=2904737&group_id=176962&atid=879332 Fixed the tab level wrong --- .../oracle/625_BF2904737_Fix_BOMTabLevel.sql | 14 ++++++++++++++ .../postgresql/625_BF2904737_Fix_BOMTabLevel.sql | 15 +++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 migration/354a-trunk/oracle/625_BF2904737_Fix_BOMTabLevel.sql create mode 100644 migration/354a-trunk/postgresql/625_BF2904737_Fix_BOMTabLevel.sql diff --git a/migration/354a-trunk/oracle/625_BF2904737_Fix_BOMTabLevel.sql b/migration/354a-trunk/oracle/625_BF2904737_Fix_BOMTabLevel.sql new file mode 100644 index 0000000000..7f2d7f5413 --- /dev/null +++ b/migration/354a-trunk/oracle/625_BF2904737_Fix_BOMTabLevel.sql @@ -0,0 +1,14 @@ +-- Dec 7, 2009 6:53:06 PM CST +-- Fix Tab Level in BOM Tab +UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2009-12-07 18:53:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53286 +; + +-- Dec 7, 2009 6:53:13 PM CST +-- Fix Tab Level in BOM Tab +UPDATE AD_Tab SET TabLevel=2,Updated=TO_TIMESTAMP('2009-12-07 18:53:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53287 +; + +-- Dec 7, 2009 6:37:03 PM CST +-- Fix Tab Level in BOM Tab +UPDATE AD_Tab SET Parent_Column_ID=1402,Updated=TO_DATE('2009-12-07 18:37:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53286 +; diff --git a/migration/354a-trunk/postgresql/625_BF2904737_Fix_BOMTabLevel.sql b/migration/354a-trunk/postgresql/625_BF2904737_Fix_BOMTabLevel.sql new file mode 100644 index 0000000000..8af629523e --- /dev/null +++ b/migration/354a-trunk/postgresql/625_BF2904737_Fix_BOMTabLevel.sql @@ -0,0 +1,15 @@ +-- Dec 7, 2009 6:53:06 PM CST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2009-12-07 18:53:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53286 +; + +-- Dec 7, 2009 6:53:13 PM CST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET TabLevel=2,Updated=TO_DATE('2009-12-07 18:53:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53287 +; + +-- Dec 7, 2009 6:37:03 PM CST +-- Fix BOM and Parent Tax Rate +UPDATE AD_Tab SET Parent_Column_ID=1402,Updated=TO_TIMESTAMP('2009-12-07 18:37:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53286 +; +