From 535704cd95de482519177eab7f861405e16d659f Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Wed, 28 Feb 2007 11:22:17 +0000 Subject: [PATCH] [ 1586862 ] Email Processing - added missing elements - reset sequence numbers for ad_element, ad_process, ad_process_para, ad_menu --- .../014_add_RequestEMailProcessor_2.sql | 115 ++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 migration/314-trunk/014_add_RequestEMailProcessor_2.sql diff --git a/migration/314-trunk/014_add_RequestEMailProcessor_2.sql b/migration/314-trunk/014_add_RequestEMailProcessor_2.sql new file mode 100644 index 0000000000..5d268128a3 --- /dev/null +++ b/migration/314-trunk/014_add_RequestEMailProcessor_2.sql @@ -0,0 +1,115 @@ +insert into ad_element + (ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby, + columnname,entitytype,name,printname,description,help, + po_name,po_printname,po_description,po_help + ) + values + (50063,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0, + 'p_ErrorFolder','D','Error Folder','Error Folder',null,null, + null,null,null,null + ); + +insert into ad_element + (ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby, + columnname,entitytype,name,printname,description,help, + po_name,po_printname,po_description,po_help + ) + values + (50062,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0, + 'p_RequestFolder','D','Request Folder','Request Folder',null,null, + null,null,null,null + ); + +insert into ad_element + (ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby, + columnname,entitytype,name,printname,description,help, + po_name,po_printname,po_description,po_help + ) + values + (50061,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0, + 'p_DefaultPriority','D','User Importance','User Importance','Priority of the issue for the User',null,null, + null,null,null + ); + +insert into ad_element + (ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby, + columnname,entitytype,name,printname,description,help, + po_name,po_printname,po_description,po_help + ) + values + (50060,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0, + 'p_IMAPHost','D','IMAP Host','IMAP Host',null,null, + null,null,null,null + ); + +insert into ad_element + (ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby, + columnname,entitytype,name,printname,description,help, + po_name,po_printname,po_description,po_help + ) + values + (50059,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0, + 'p_IMAPPwd','D','IMAP Password','IMAP Password',null,null, + null,null,null,null + ); + +insert into ad_element + (ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby, + columnname,entitytype,name,printname,description,help, + po_name,po_printname,po_description,po_help + ) + values + (50058,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0, + 'p_IMAPUser','D','IMAP User','IMAP User',null,null, + null,null,null,null + ); + +insert into ad_element + (ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby, + columnname,entitytype,name,printname,description,help, + po_name,po_printname,po_description,po_help + ) + values ( + 50057,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0, + 'p_DefaultConfidentiality','D','Confidentiality','Confidentiality','Type of Confidentiality',null,null, + null,null,null + ); + +insert into ad_element + (ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby, + columnname,entitytype,name,printname,description,help, + po_name,po_printname,po_description,po_help + ) + values + (50056,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0, + 'p_InboxFolder','D','Inbox Folder','Inbox Folder',null,null, + null,null,null,null + ); + +commit; + +UPDATE ad_sequence + SET currentnextsys = (SELECT MAX (ad_element_id) + 1 + FROM ad_element + WHERE ad_element_id < 1000000) + WHERE NAME = 'AD_Element'; + +UPDATE ad_sequence + SET currentnextsys = (SELECT MAX (ad_process_id) + 1 + FROM ad_process + WHERE ad_process_id < 1000000) + WHERE NAME = 'AD_Process'; + +UPDATE ad_sequence + SET currentnextsys = (SELECT MAX (ad_process_para_id) + 1 + FROM ad_process_para + WHERE ad_process_para_id < 1000000) + WHERE NAME = 'AD_Process_Para'; + +UPDATE ad_sequence + SET currentnextsys = (SELECT MAX (ad_menu_id) + 1 + FROM ad_menu + WHERE ad_menu_id < 1000000) + WHERE NAME = 'AD_Menu'; + +commit;