From d7fcea5dff016d272cfc57adbbc40dcd35cbbd78 Mon Sep 17 00:00:00 2001 From: trifonnt Date: Wed, 24 Mar 2010 13:48:35 +0000 Subject: [PATCH] -- FR [2975307] - AD_Menu_Trl overwritten by AD_Window -- https://sourceforge.net/tracker/index.php?func=detail&aid=2975307&group_id=176962&atid=879335 -- Summary Menu items must not be Centrally maintained as they can't be synchronized with any other element. --- ...R2975307_SummaryMenuNotCentrallyMaintained.sql | 15 +++++++++++++++ ...R2975307_SummaryMenuNotCentrallyMaintained.sql | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 migration/354a-trunk/oracle/691_FR2975307_SummaryMenuNotCentrallyMaintained.sql create mode 100644 migration/354a-trunk/postgresql/691_FR2975307_SummaryMenuNotCentrallyMaintained.sql diff --git a/migration/354a-trunk/oracle/691_FR2975307_SummaryMenuNotCentrallyMaintained.sql b/migration/354a-trunk/oracle/691_FR2975307_SummaryMenuNotCentrallyMaintained.sql new file mode 100644 index 0000000000..9df5d00bb7 --- /dev/null +++ b/migration/354a-trunk/oracle/691_FR2975307_SummaryMenuNotCentrallyMaintained.sql @@ -0,0 +1,15 @@ +-- FR [2975307] - AD_Menu_Trl overwritten by AD_Window +-- https://sourceforge.net/tracker/index.php?func=detail&aid=2975307&group_id=176962&atid=879335 +-- Summary Menu items must not be Centrally maintained as they can't be synchronized with any other element. + +UPDATE AD_Menu +SET IsCentrallyMaintained = 'N' +WHERE AD_Menu_ID IN + (SELECT AD_Menu_ID FROM AD_Menu + 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) + ) +; \ No newline at end of file diff --git a/migration/354a-trunk/postgresql/691_FR2975307_SummaryMenuNotCentrallyMaintained.sql b/migration/354a-trunk/postgresql/691_FR2975307_SummaryMenuNotCentrallyMaintained.sql new file mode 100644 index 0000000000..9df5d00bb7 --- /dev/null +++ b/migration/354a-trunk/postgresql/691_FR2975307_SummaryMenuNotCentrallyMaintained.sql @@ -0,0 +1,15 @@ +-- FR [2975307] - AD_Menu_Trl overwritten by AD_Window +-- https://sourceforge.net/tracker/index.php?func=detail&aid=2975307&group_id=176962&atid=879335 +-- Summary Menu items must not be Centrally maintained as they can't be synchronized with any other element. + +UPDATE AD_Menu +SET IsCentrallyMaintained = 'N' +WHERE AD_Menu_ID IN + (SELECT AD_Menu_ID FROM AD_Menu + 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) + ) +; \ No newline at end of file