diff --git a/migration/352a-trunk/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql b/migration/352a-trunk/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql index a7379c9eff..be397cd377 100644 --- a/migration/352a-trunk/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql +++ b/migration/352a-trunk/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql @@ -1,253 +1,3 @@ --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 50002,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 50002,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Process p WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 50002,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Form f WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 50002,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 0,0,'Y', SysDate,100, SysDate,100, doctype.C_DocType_ID, action.AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List action ON (action.AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=50002) ) -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 50001,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 50001,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Process p WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 50001,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Form f WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 50001,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 0,0,'Y', SysDate,100, SysDate,100, doctype.C_DocType_ID, action.AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List action ON (action.AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=50001) ) -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 0,0,0,'Y', SysDate,0, SysDate,0,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 0,0,0,'Y', SysDate,0, SysDate,0,'Y' FROM AD_Process p WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 0,0,0,'Y', SysDate,0, SysDate,0,'Y' FROM AD_Form f WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 0,0,0,'Y', SysDate,0, SysDate,0,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 0,0,'Y', SysDate,0, SysDate,0, doctype.C_DocType_ID, action.AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List action ON (action.AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=0) ) -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 102,11,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('7','6','3','2','1') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 102,11,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Process p WHERE AccessLevel IN ('7','6','3','2','1') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 102,11,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Form f WHERE AccessLevel IN ('7','6','3','2','1') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 102,11,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('7','6','3','2','1') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 11,0,'Y', SysDate,100, SysDate,100, doctype.C_DocType_ID, action.AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List action ON (action.AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=102) ) -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 103,11,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('3','1','7') AND w.Name NOT LIKE '%(all)%' -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 103,11,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Process p WHERE AccessLevel IN ('3','1','7') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 103,11,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Form f WHERE AccessLevel IN ('3','1','7') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 103,11,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('3','1','7') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 11,0,'Y', SysDate,100, SysDate,100, doctype.C_DocType_ID, action.AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List action ON (action.AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=103) ) -; - -- Nov 19, 2008 4:49:00 PM SGT -- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support UPDATE AD_Column SET DefaultValue='@#AD_Org_ID@', IsMandatory='Y',Updated=TO_DATE('2008-11-19 16:49:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=51006 @@ -315,7 +65,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_ -- Nov 19, 2008 3:55:33 PM SGT -- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56469,53709,0,11,50010,'ColumnNo',TO_DATE('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,'0','Dashboard content column number','D',14,'Dashboard content column number, not used by the swing client at the moment.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Column No',0,TO_DATE('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,0) +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56469,53709,0,11,50010,'ColumnNo',TO_DATE('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,'0','Dashboard content column number','D',14,'Dashboard content column number, not used by the swing client at the moment.','Y','N','N','N','N','N','N','N','N','N','N','Y','Column No',0,TO_DATE('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,0) ; -- Nov 19, 2008 3:55:33 PM SGT @@ -336,7 +86,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_ -- Nov 19, 2008 4:00:37 PM SGT -- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56470,53710,0,10,50010,'ZulFilePath',TO_DATE('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D',255,'Absolute path to zul file that is use to generate dashboard content','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','ZUL File Path',0,TO_DATE('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,0) +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56470,53710,0,10,50010,'ZulFilePath',TO_DATE('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D',255,'Absolute path to zul file that is use to generate dashboard content','Y','N','N','N','N','N','N','N','N','N','N','Y','ZUL File Path',0,TO_DATE('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,0) ; -- Nov 19, 2008 4:00:37 PM SGT diff --git a/migration/352a-trunk/postgresql/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql b/migration/352a-trunk/postgresql/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql index 4404a603c5..f776fe5761 100644 --- a/migration/352a-trunk/postgresql/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql +++ b/migration/352a-trunk/postgresql/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql @@ -1,253 +1,3 @@ --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 50002,0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 50002,0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Process p WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 50002,0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Form f WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 50002,0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=50002 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100, doctype.C_DocType_ID, "action".AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List "action" ON ("action".AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=50002) ) -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 50001,0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:29 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 50001,0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Process p WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 50001,0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Form f WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 50001,0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=50001 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 0,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100, doctype.C_DocType_ID, "action".AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List "action" ON ("action".AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=50001) ) -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 0,0,0,'Y', CURRENT_TIMESTAMP,0, CURRENT_TIMESTAMP,0,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 0,0,0,'Y', CURRENT_TIMESTAMP,0, CURRENT_TIMESTAMP,0,'Y' FROM AD_Process p WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 0,0,0,'Y', CURRENT_TIMESTAMP,0, CURRENT_TIMESTAMP,0,'Y' FROM AD_Form f WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 0,0,0,'Y', CURRENT_TIMESTAMP,0, CURRENT_TIMESTAMP,0,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('4','7','6') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=0 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 0,0,'Y', CURRENT_TIMESTAMP,0, CURRENT_TIMESTAMP,0, doctype.C_DocType_ID, "action".AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List "action" ON ("action".AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=0) ) -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 102,11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('7','6','3','2','1') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 102,11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Process p WHERE AccessLevel IN ('7','6','3','2','1') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 102,11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Form f WHERE AccessLevel IN ('7','6','3','2','1') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 102,11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('7','6','3','2','1') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=102 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100, doctype.C_DocType_ID, "action".AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List "action" ON ("action".AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=102) ) -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Window_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 103,11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('3','1','7') AND w.Name NOT LIKE '%(all)%' -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Process_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 103,11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Process p WHERE AccessLevel IN ('3','1','7') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Form_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 103,11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_Form f WHERE AccessLevel IN ('3','1','7') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 103,11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('3','1','7') -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=103 -; - --- Nov 19, 2008 4:35:30 PM SGT --- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100, doctype.C_DocType_ID, "action".AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List "action" ON ("action".AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=103) ) -; - -- Nov 19, 2008 4:49:00 PM SGT -- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support UPDATE AD_Column SET DefaultValue='@#AD_Org_ID@', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-11-19 16:49:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=51006 @@ -315,7 +65,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_ -- Nov 19, 2008 3:55:33 PM SGT -- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56469,53709,0,11,50010,'ColumnNo',TO_TIMESTAMP('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,'0','Dashboard content column number','D',14,'Dashboard content column number, not used by the swing client at the moment.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Column No',0,TO_TIMESTAMP('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,0) +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56469,53709,0,11,50010,'ColumnNo',TO_TIMESTAMP('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,'0','Dashboard content column number','D',14,'Dashboard content column number, not used by the swing client at the moment.','Y','N','N','N','N','N','N','N','N','N','N','Y','Column No',0,TO_TIMESTAMP('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,0) ; -- Nov 19, 2008 3:55:33 PM SGT @@ -336,7 +86,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_ -- Nov 19, 2008 4:00:37 PM SGT -- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support -INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56470,53710,0,10,50010,'ZulFilePath',TO_TIMESTAMP('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D',255,'Absolute path to zul file that is use to generate dashboard content','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','ZUL File Path',0,TO_TIMESTAMP('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,0) +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56470,53710,0,10,50010,'ZulFilePath',TO_TIMESTAMP('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D',255,'Absolute path to zul file that is use to generate dashboard content','Y','N','N','N','N','N','N','N','N','N','N','Y','ZUL File Path',0,TO_TIMESTAMP('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,0) ; -- Nov 19, 2008 4:00:37 PM SGT