Refactor Query / FR [2975307] - AD_Menu_Trl overwritten by AD_Window

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2975307
This commit is contained in:
Carlos Ruiz 2010-03-25 00:40:56 +00:00
parent e80958f2d5
commit cc066a06c8
2 changed files with 10 additions and 12 deletions

View File

@ -4,12 +4,11 @@
UPDATE AD_Menu
SET IsCentrallyMaintained = 'N'
WHERE AD_Menu_ID IN
(SELECT AD_Menu_ID FROM AD_Menu
WHERE (AD_Window_ID IS NULL
WHERE AD_Window_ID IS NULL
AND AD_Process_ID IS NULL
AND AD_Form_ID IS NULL
AND AD_Workflow_ID IS NULL
AND AD_Task_ID IS NULL)
)
;
AND AD_Workbench_ID IS NULL
AND AD_Task_ID IS NULL
AND IsSummary = 'Y'
;

View File

@ -4,12 +4,11 @@
UPDATE AD_Menu
SET IsCentrallyMaintained = 'N'
WHERE AD_Menu_ID IN
(SELECT AD_Menu_ID FROM AD_Menu
WHERE (AD_Window_ID IS NULL
WHERE AD_Window_ID IS NULL
AND AD_Process_ID IS NULL
AND AD_Form_ID IS NULL
AND AD_Workflow_ID IS NULL
AND AD_Task_ID IS NULL)
)
;
AND AD_Workbench_ID IS NULL
AND AD_Task_ID IS NULL
AND IsSummary = 'Y'
;