From 6f191971cd8638bc736a99e4f59856c605fe8182 Mon Sep 17 00:00:00 2001 From: Elaine Tan Date: Fri, 8 Feb 2013 17:12:03 +0800 Subject: [PATCH] Ticket #1002211: Create Help pane for Bizidium --- .../oracle/201302081706_TICKET-1002211.sql | 127 ++++++++++++++++++ .../201302081706_TICKET-1002211.sql | 127 ++++++++++++++++++ 2 files changed, 254 insertions(+) create mode 100644 migration/i1.0a-release/oracle/201302081706_TICKET-1002211.sql create mode 100644 migration/i1.0a-release/postgresql/201302081706_TICKET-1002211.sql diff --git a/migration/i1.0a-release/oracle/201302081706_TICKET-1002211.sql b/migration/i1.0a-release/oracle/201302081706_TICKET-1002211.sql new file mode 100644 index 0000000000..5aa8b1039e --- /dev/null +++ b/migration/i1.0a-release/oracle/201302081706_TICKET-1002211.sql @@ -0,0 +1,127 @@ +-- Feb 8, 2013 1:57:14 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Element SET Name='Context Type', PrintName='Context Type',Updated=TO_DATE('2013-02-08 13:57:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Column SET ColumnName='CtxType', Name='Context Type', Description=NULL, Help=NULL WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Process_Para SET ColumnName='CtxType', Name='Context Type', Description=NULL, Help=NULL, AD_Element_ID=202214 WHERE UPPER(ColumnName)='CTXTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Process_Para SET ColumnName='CtxType', Name='Context Type', Description=NULL, Help=NULL WHERE AD_Element_ID=202214 AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_InfoColumn SET ColumnName='CtxType', Name='Context Type', Description=NULL, Help=NULL WHERE AD_Element_ID=202214 AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 1:57:16 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Field SET Name='Context Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=202214) AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 1:57:16 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_PrintFormatItem pi SET PrintName='Context Type', Name='Context Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=202214) +; + +-- Feb 8, 2013 2:02:49 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Element SET Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as', Description='Type of Context Help',Updated=TO_DATE('2013-02-08 14:02:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 2:02:49 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 2:02:49 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Column SET ColumnName='CtxType', Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as' WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 2:02:50 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Process_Para SET ColumnName='CtxType', Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as', AD_Element_ID=202214 WHERE UPPER(ColumnName)='CTXTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 8, 2013 2:02:50 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Process_Para SET ColumnName='CtxType', Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as' WHERE AD_Element_ID=202214 AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 2:02:50 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_InfoColumn SET ColumnName='CtxType', Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as' WHERE AD_Element_ID=202214 AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 2:02:50 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Field SET Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=202214) AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 2:20:41 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Window SET Help='The Context Help window defines the context help message text to display in the help pane. It is for Web UI only.', Description='Maintain Context Helps',Updated=TO_DATE('2013-02-08 14:20:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=200034 +; + +-- Feb 8, 2013 2:20:41 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=200034 +; + +-- Feb 8, 2013 2:20:41 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Menu SET Name='Context Help', Description='Maintain Context Helps', IsActive='Y',Updated=TO_DATE('2013-02-08 14:20:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=200038 +; + +-- Feb 8, 2013 2:20:41 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=200038 +; + +-- Feb 8, 2013 2:23:28 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab SET Help='The Context Help tab defines the type of context help', Description='Maintain Context Helps',Updated=TO_DATE('2013-02-08 14:23:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200074 +; + +-- Feb 8, 2013 2:23:28 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=200074 +; + +-- Feb 8, 2013 2:24:23 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab SET Help='The Message tab displays message text', Description='Context Help Messages',Updated=TO_DATE('2013-02-08 14:24:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200075 +; + +-- Feb 8, 2013 2:24:23 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=200075 +; + +-- Feb 8, 2013 2:24:32 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab SET Description='Context Helps',Updated=TO_DATE('2013-02-08 14:24:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200074 +; + +-- Feb 8, 2013 2:24:32 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=200074 +; + +SELECT register_migration_script('201302081706_TICKET-1002211.sql') FROM dual +; \ No newline at end of file diff --git a/migration/i1.0a-release/postgresql/201302081706_TICKET-1002211.sql b/migration/i1.0a-release/postgresql/201302081706_TICKET-1002211.sql new file mode 100644 index 0000000000..e4f127dd2e --- /dev/null +++ b/migration/i1.0a-release/postgresql/201302081706_TICKET-1002211.sql @@ -0,0 +1,127 @@ +-- Feb 8, 2013 1:57:14 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Element SET Name='Context Type', PrintName='Context Type',Updated=TO_TIMESTAMP('2013-02-08 13:57:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Column SET ColumnName='CtxType', Name='Context Type', Description=NULL, Help=NULL WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Process_Para SET ColumnName='CtxType', Name='Context Type', Description=NULL, Help=NULL, AD_Element_ID=202214 WHERE UPPER(ColumnName)='CTXTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Process_Para SET ColumnName='CtxType', Name='Context Type', Description=NULL, Help=NULL WHERE AD_Element_ID=202214 AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 1:57:15 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_InfoColumn SET ColumnName='CtxType', Name='Context Type', Description=NULL, Help=NULL WHERE AD_Element_ID=202214 AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 1:57:16 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Field SET Name='Context Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=202214) AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 1:57:16 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_PrintFormatItem SET PrintName='Context Type', Name='Context Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=202214) +; + +-- Feb 8, 2013 2:02:49 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Element SET Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as', Description='Type of Context Help',Updated=TO_TIMESTAMP('2013-02-08 14:02:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 2:02:49 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 2:02:49 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Column SET ColumnName='CtxType', Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as' WHERE AD_Element_ID=202214 +; + +-- Feb 8, 2013 2:02:50 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Process_Para SET ColumnName='CtxType', Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as', AD_Element_ID=202214 WHERE UPPER(ColumnName)='CTXTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 8, 2013 2:02:50 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Process_Para SET ColumnName='CtxType', Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as' WHERE AD_Element_ID=202214 AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 2:02:50 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_InfoColumn SET ColumnName='CtxType', Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as' WHERE AD_Element_ID=202214 AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 2:02:50 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Field SET Name='Context Type', Description='Type of Context Help', Help='The Context Type field indicates the type of context help (tab, process, form etc) this context help is defined as' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=202214) AND IsCentrallyMaintained='Y' +; + +-- Feb 8, 2013 2:20:41 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Window SET Help='The Context Help window defines the context help message text to display in the help pane. It is for Web UI only.', Description='Maintain Context Helps',Updated=TO_TIMESTAMP('2013-02-08 14:20:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=200034 +; + +-- Feb 8, 2013 2:20:41 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=200034 +; + +-- Feb 8, 2013 2:20:41 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Menu SET Name='Context Help', Description='Maintain Context Helps', IsActive='Y',Updated=TO_TIMESTAMP('2013-02-08 14:20:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=200038 +; + +-- Feb 8, 2013 2:20:41 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=200038 +; + +-- Feb 8, 2013 2:23:28 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab SET Help='The Context Help tab defines the type of context help', Description='Maintain Context Helps',Updated=TO_TIMESTAMP('2013-02-08 14:23:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200074 +; + +-- Feb 8, 2013 2:23:28 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=200074 +; + +-- Feb 8, 2013 2:24:23 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab SET Help='The Message tab displays message text', Description='Context Help Messages',Updated=TO_TIMESTAMP('2013-02-08 14:24:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200075 +; + +-- Feb 8, 2013 2:24:23 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=200075 +; + +-- Feb 8, 2013 2:24:32 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab SET Description='Context Helps',Updated=TO_TIMESTAMP('2013-02-08 14:24:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200074 +; + +-- Feb 8, 2013 2:24:32 PM SGT +-- Ticket #1002211: Create Help pane for Bizidium +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=200074 +; + +SELECT register_migration_script('201302081706_TICKET-1002211.sql') FROM dual +; \ No newline at end of file