core-jgi/migration/i1.0a-release/oracle/201211012009_IDEMPIERE-357.sql

186 lines
6.5 KiB
SQL

-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200269
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200270
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=51007
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=51008
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56485
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=51009
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=51010
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=51011
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56486
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=51012
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=51013
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=57344
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56504
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=200268
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=200260
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=200262
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=200261
;
-- Oct 31, 2012 12:22:03 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=200263
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200269
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200270
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=51007
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=51008
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=56485
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=51009
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=51010
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=80,IsDisplayedGrid='Y' WHERE AD_Field_ID=51011
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=90,IsDisplayedGrid='Y' WHERE AD_Field_ID=56486
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=100,IsDisplayedGrid='Y' WHERE AD_Field_ID=51012
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=110,IsDisplayedGrid='Y' WHERE AD_Field_ID=51013
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=120,IsDisplayedGrid='Y' WHERE AD_Field_ID=57344
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=130,IsDisplayedGrid='Y' WHERE AD_Field_ID=56504
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=140,IsDisplayedGrid='Y' WHERE AD_Field_ID=200268
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=150,IsDisplayedGrid='Y' WHERE AD_Field_ID=200260
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=160,IsDisplayedGrid='Y' WHERE AD_Field_ID=200262
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=170,IsDisplayedGrid='Y' WHERE AD_Field_ID=200261
;
-- Oct 31, 2012 12:22:10 PM SGT
-- IDEMPIERE-357 Ticket #1001002 Move the Menu to be a Portlet
UPDATE AD_Field SET SeqNoGrid=180,IsDisplayedGrid='Y' WHERE AD_Field_ID=200263
;
DELETE FROM PA_DashboardPreference WHERE PA_DashboardContent_ID IN (SELECT PA_DashboardContent_ID FROM PA_DashboardContent WHERE AD_User_ID IS NOT NULL AND AD_USER_ID <> 0 AND AD_Role_ID IS NOT NULL AND AD_Role_ID <> 0);
DELETE FROM PA_DashboardContent WHERE AD_User_ID IS NOT NULL AND AD_USER_ID <> 0 AND AD_Role_ID IS NOT NULL AND AD_Role_ID <> 0;
SELECT register_migration_script('201211012009_IDEMPIERE-357.sql') FROM dual
;