core-jgi/migration/331b-340s/066_FR1871740_MenuReorg.sql

624 lines
28 KiB
MySQL
Raw Normal View History

-- Jan 15, 2008 12:26:33 AM COT
-- FR 1871740 - Menu reorg for new windows
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=519
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=52001
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=518
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=225
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=261
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=148
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=529
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=397
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=531
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=530
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=532
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53084
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=519
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=52001
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=518
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=225
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=261
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=148
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=529
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=397
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=531
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=530
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=532
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53084
;
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=519
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=518
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=52001
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=460
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=301
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=129
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=543
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=407
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=406
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=335
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=436
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=507
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=195
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=194
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=445
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=472
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=448
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=449
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=492
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=491
;
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=419
;
UPDATE AD_Menu SET Name='Web POS',Updated=TO_DATE('2008-01-15 00:28:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52001
;
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52001
;
UPDATE AD_Window SET Name='Web POS BlackListCheque',Updated=TO_DATE('2008-01-15 00:29:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52003
;
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52003
;
UPDATE AD_Menu SET Description='Black Listed Cheque', IsActive='Y', Name='Web POS BlackListCheque',Updated=TO_DATE('2008-01-15 00:29:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52005
;
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52005
;
UPDATE AD_Window SET Name='Web POS Properties',Updated=TO_DATE('2008-01-15 00:29:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52002
;
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52002
;
UPDATE AD_Menu SET Description='Stores the message tags to be picked up from AD_MESSAGE ', IsActive='Y', Name='Web POS Properties',Updated=TO_DATE('2008-01-15 00:29:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52004
;
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52004
;
UPDATE AD_Window SET Name='Web POS Role Menu',Updated=TO_DATE('2008-01-15 00:29:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52001
;
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52001
;
UPDATE AD_Menu SET Description='Depending on Which Role, Different set of Menus are generated and made available.', IsActive='Y', Name='Web POS Role Menu',Updated=TO_DATE('2008-01-15 00:29:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52003
;
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52003
;
UPDATE AD_Window SET Name='Web POS Menu',Updated=TO_DATE('2008-01-15 00:30:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52000
;
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52000
;
UPDATE AD_Menu SET Description='To dynamically generate the menu links in posterita', IsActive='Y', Name='Web POS Menu',Updated=TO_DATE('2008-01-15 00:30:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52002
;
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52002
;
UPDATE AD_Window SET Description='To dynamically generate the menu links in web POS',Updated=TO_DATE('2008-01-15 00:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52000
;
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52000
;
UPDATE AD_Menu SET Description='To dynamically generate the menu links in web POS', IsActive='Y', Name='Web POS Menu',Updated=TO_DATE('2008-01-15 00:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52002
;
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52002
;
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=52040
;
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=52043
;
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=52044
;
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=52042
;
UPDATE AD_Table SET Name='Black List Cheque',Updated=TO_DATE('2008-01-15 00:36:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52000
;
UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=52000
;
UPDATE AD_Element SET Name='Black List Cheque', PrintName='Black List Cheque',Updated=TO_DATE('2008-01-15 00:36:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52001
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52001
;
UPDATE AD_Column SET ColumnName='U_BlackListCheque_ID', Name='Black List Cheque', Description=NULL, Help=NULL WHERE AD_Element_ID=52001
;
UPDATE AD_Field SET Name='Black List Cheque', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52001) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='U_BlackListCheque_ID', Name='Black List Cheque', Description=NULL, Help=NULL, AD_Element_ID=52001 WHERE UPPER(ColumnName)='U_BLACKLISTCHEQUE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='U_BlackListCheque_ID', Name='Black List Cheque', Description=NULL, Help=NULL WHERE AD_Element_ID=52001 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Black List Cheque', Name='Black List Cheque' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52001)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Black List Cheque', Name='Black List Cheque' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52001)
;
UPDATE AD_Element SET Name='Role Menu', PrintName='Role Menu',Updated=TO_DATE('2008-01-15 00:36:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52007
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52007
;
UPDATE AD_Column SET ColumnName='U_RoleMenu_ID', Name='Role Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52007
;
UPDATE AD_Field SET Name='Role Menu', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52007) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='U_RoleMenu_ID', Name='Role Menu', Description=NULL, Help=NULL, AD_Element_ID=52007 WHERE UPPER(ColumnName)='U_ROLEMENU_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='U_RoleMenu_ID', Name='Role Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52007 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Role Menu', Name='Role Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52007)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Role Menu', Name='Role Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52007)
;
UPDATE AD_Table SET Name='Role Menu',Updated=TO_DATE('2008-01-15 00:36:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52002
;
UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=52002
;
UPDATE AD_Element SET Name='Web Menu', PrintName='Web Menu',Updated=TO_DATE('2008-01-15 00:37:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52008
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52008
;
UPDATE AD_Column SET ColumnName='U_WebMenu_ID', Name='Web Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52008
;
UPDATE AD_Field SET Name='Web Menu', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52008) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='U_WebMenu_ID', Name='Web Menu', Description=NULL, Help=NULL, AD_Element_ID=52008 WHERE UPPER(ColumnName)='U_WEBMENU_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='U_WebMenu_ID', Name='Web Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52008 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Web Menu', Name='Web Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52008)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Web Menu', Name='Web Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52008)
;
UPDATE AD_Table SET Name='Web Menu',Updated=TO_DATE('2008-01-15 00:37:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52003
;
UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=52003
;
UPDATE AD_Element SET Name='Parent Menu', PrintName='Parent Menu',Updated=TO_DATE('2008-01-15 00:37:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52011
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52011
;
UPDATE AD_Column SET ColumnName='ParentMenu_ID', Name='Parent Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52011
;
UPDATE AD_Field SET Name='Parent Menu', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52011) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='ParentMenu_ID', Name='Parent Menu', Description=NULL, Help=NULL, AD_Element_ID=52011 WHERE UPPER(ColumnName)='PARENTMENU_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='ParentMenu_ID', Name='Parent Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52011 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Parent Menu', Name='Parent Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52011)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Parent Menu', Name='Parent Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52011)
;
UPDATE AD_Element SET Name='Has SubMenu', PrintName='Has SubMenu',Updated=TO_DATE('2008-01-15 00:38:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52012
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52012
;
UPDATE AD_Column SET ColumnName='HasSubMenu', Name='Has SubMenu', Description=NULL, Help=NULL WHERE AD_Element_ID=52012
;
UPDATE AD_Field SET Name='Has SubMenu', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52012) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='HasSubMenu', Name='Has SubMenu', Description=NULL, Help=NULL, AD_Element_ID=52012 WHERE UPPER(ColumnName)='HASSUBMENU' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='HasSubMenu', Name='Has SubMenu', Description=NULL, Help=NULL WHERE AD_Element_ID=52012 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Has SubMenu', Name='Has SubMenu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52012)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Has SubMenu', Name='Has SubMenu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52012)
;
UPDATE AD_Element SET Name='Image Link', PrintName='Image Link',Updated=TO_DATE('2008-01-15 00:38:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52013
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52013
;
UPDATE AD_Column SET ColumnName='ImageLink', Name='Image Link', Description=NULL, Help=NULL WHERE AD_Element_ID=52013
;
UPDATE AD_Field SET Name='Image Link', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52013) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='ImageLink', Name='Image Link', Description=NULL, Help=NULL, AD_Element_ID=52013 WHERE UPPER(ColumnName)='IMAGELINK' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='ImageLink', Name='Image Link', Description=NULL, Help=NULL WHERE AD_Element_ID=52013 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Image Link', Name='Image Link' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52013)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Image Link', Name='Image Link' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52013)
;
UPDATE AD_Element SET Name='Menu Link', PrintName='Menu Link',Updated=TO_DATE('2008-01-15 00:38:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52009
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52009
;
UPDATE AD_Column SET ColumnName='MenuLink', Name='Menu Link', Description=NULL, Help=NULL WHERE AD_Element_ID=52009
;
UPDATE AD_Field SET Name='Menu Link', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52009) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='MenuLink', Name='Menu Link', Description=NULL, Help=NULL, AD_Element_ID=52009 WHERE UPPER(ColumnName)='MENULINK' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='MenuLink', Name='Menu Link', Description=NULL, Help=NULL WHERE AD_Element_ID=52009 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Menu Link', Name='Menu Link' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52009)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Menu Link', Name='Menu Link' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52009)
;
UPDATE AD_Element SET Name='Bank Name', PrintName='Bank Name',Updated=TO_DATE('2008-01-15 00:38:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52002
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52002
;
UPDATE AD_Column SET ColumnName='BankName', Name='Bank Name', Description=NULL, Help=NULL WHERE AD_Element_ID=52002
;
UPDATE AD_Field SET Name='Bank Name', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52002) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='BankName', Name='Bank Name', Description=NULL, Help=NULL, AD_Element_ID=52002 WHERE UPPER(ColumnName)='BANKNAME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='BankName', Name='Bank Name', Description=NULL, Help=NULL WHERE AD_Element_ID=52002 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Bank Name', Name='Bank Name' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52002)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Bank Name', Name='Bank Name' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52002)
;
UPDATE AD_Element SET Name='Cheque No', PrintName='Cheque No',Updated=TO_DATE('2008-01-15 00:39:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52003
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52003
;
UPDATE AD_Column SET ColumnName='ChequeNo', Name='Cheque No', Description=NULL, Help=NULL WHERE AD_Element_ID=52003
;
UPDATE AD_Field SET Name='Cheque No', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52003) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='ChequeNo', Name='Cheque No', Description=NULL, Help=NULL, AD_Element_ID=52003 WHERE UPPER(ColumnName)='CHEQUENO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='ChequeNo', Name='Cheque No', Description=NULL, Help=NULL WHERE AD_Element_ID=52003 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Cheque No', Name='Cheque No' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52003)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Cheque No', Name='Cheque No' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52003)
;
UPDATE AD_Element SET Name='Key', PrintName='Key',Updated=TO_DATE('2008-01-15 00:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52005
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52005
;
UPDATE AD_Column SET ColumnName='U_Key', Name='Key', Description=NULL, Help=NULL WHERE AD_Element_ID=52005
;
UPDATE AD_Field SET Name='Key', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52005) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='U_Key', Name='Key', Description=NULL, Help=NULL, AD_Element_ID=52005 WHERE UPPER(ColumnName)='U_KEY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='U_Key', Name='Key', Description=NULL, Help=NULL WHERE AD_Element_ID=52005 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Key', Name='Key' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52005)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Key', Name='Key' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52005)
;
UPDATE AD_Element SET Name='Value', PrintName='Value',Updated=TO_DATE('2008-01-15 00:39:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52006
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52006
;
UPDATE AD_Column SET ColumnName='U_Value', Name='Value', Description=NULL, Help=NULL WHERE AD_Element_ID=52006
;
UPDATE AD_Field SET Name='Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52006) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='U_Value', Name='Value', Description=NULL, Help=NULL, AD_Element_ID=52006 WHERE UPPER(ColumnName)='U_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='U_Value', Name='Value', Description=NULL, Help=NULL WHERE AD_Element_ID=52006 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Value', Name='Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52006)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Value', Name='Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52006)
;
UPDATE AD_Element SET Name='Web Properties', PrintName='Web Properties',Updated=TO_DATE('2008-01-15 00:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52004
;
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52004
;
UPDATE AD_Column SET ColumnName='U_Web_Properties_ID', Name='Web Properties', Description=NULL, Help=NULL WHERE AD_Element_ID=52004
;
UPDATE AD_Field SET Name='Web Properties', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52004) AND IsCentrallyMaintained='Y'
;
UPDATE AD_Process_Para SET ColumnName='U_Web_Properties_ID', Name='Web Properties', Description=NULL, Help=NULL, AD_Element_ID=52004 WHERE UPPER(ColumnName)='U_WEB_PROPERTIES_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
UPDATE AD_Process_Para SET ColumnName='U_Web_Properties_ID', Name='Web Properties', Description=NULL, Help=NULL WHERE AD_Element_ID=52004 AND IsCentrallyMaintained='Y'
;
UPDATE AD_PrintFormatItem pi SET PrintName='Web Properties', Name='Web Properties' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52004)
;
UPDATE AD_PrintFormatItem pi SET PrintName='Web Properties', Name='Web Properties' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52004)
;
UPDATE AD_Table SET Name='Web Properties',Updated=TO_DATE('2008-01-15 00:40:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52001
;
UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=52001
;