-- Data for Name: lc_cycle_steps; Type: TABLE DATA; Schema: public; Owner: postgres
--
INSERTINTOlc_policies(policy_id,policy_name,policy_desc)VALUES('FNTC','FNTC standard archiving policy','3 months fast cache, immediate double backup on AIP, final sort: offline after 10 years');
INSERTINTOlc_cycle_steps(policy_id,cycle_id,cycle_step_id,cycle_step_desc,docserver_type_id,is_allow_failure,step_operation,sequence_number,is_must_complete,preprocess_script,postprocess_script)VALUES('FNTC','OAIS_CACHED','COPY_MAIN','Immediate copy on main OAIS docserver','OAIS_MAIN','N','COPY',1,'Y',NULL,NULL);
INSERTINTOlc_cycle_steps(policy_id,cycle_id,cycle_step_id,cycle_step_desc,docserver_type_id,is_allow_failure,step_operation,sequence_number,is_must_complete,preprocess_script,postprocess_script)VALUES('FNTC','OAIS_CACHED','COPY_SAFE','Immediate copy on main OAIS docserver','OAIS_SAFE','N','COPY',2,'Y',NULL,NULL);
INSERTINTOlc_cycle_steps(policy_id,cycle_id,cycle_step_id,cycle_step_desc,docserver_type_id,is_allow_failure,step_operation,sequence_number,is_must_complete,preprocess_script,postprocess_script)VALUES('FNTC','OAIS','PURGE','Purge after 3 months','FASTHD','N','PURGE',1,'N',NULL,NULL);
INSERTINTOlc_cycles(policy_id,cycle_id,cycle_desc,sequence_number,where_clause,break_key,validation_mode)VALUES('FNTC','OAIS','FASTHD cache is purged. Resource lays only on OAIS docservers',2,'current_date >= creation_date::timestamp + interval ''3'' month','','AUTO');
INSERTINTOlc_cycles(policy_id,cycle_id,cycle_desc,sequence_number,where_clause,break_key,validation_mode)VALUES('FNTC','OAIS_CACHED','Immediate copy on OAIS main and backup docservers. Resource is still present on FASTHD',1,'current_date >= creation_date::timestamp + interval ''7'' day','','AUTO');
INSERTINTOusergroups(group_id,group_desc,administrator,custom_right1,custom_right2,custom_right3,custom_right4,enabled)VALUES('ARCHIVISTS','Archivistes et operateurs de scan',' ',' ',' ',' ',' ','Y');
INSERTINTOusergroups(group_id,group_desc,administrator,custom_right1,custom_right2,custom_right3,custom_right4,enabled)VALUES('MANAGERS','Directeurs et personnes habilitées',' ',' ',' ',' ',' ','Y');
INSERTINTOusergroups(group_id,group_desc,administrator,custom_right1,custom_right2,custom_right3,custom_right4,enabled)VALUES('TYPISTS','Groupe des créateurs de courriers',' ',' ',' ',' ',' ','Y');
INSERTINTOentities(entity_id,entity_label,short_label,enabled,adrs_1,adrs_2,adrs_3,zipcode,city,country,email,business_id,parent_entity_id,entity_type)VALUES('OPE','Direction des Opérations Grands Comptes et Particuliers','Direction Opérations','Y','','','','','','','','','DIR','Direction');
INSERTINTOentities(entity_id,entity_label,short_label,enabled,adrs_1,adrs_2,adrs_3,zipcode,city,country,email,business_id,parent_entity_id,entity_type)VALUES('DRH','Direction des Ressources Humaines','Direction RH','Y','','','','','','','','','DIR','Direction');
INSERTINTOentities(entity_id,entity_label,short_label,enabled,adrs_1,adrs_2,adrs_3,zipcode,city,country,email,business_id,parent_entity_id,entity_type)VALUES('MNG','Service de Gestion et des Sinistres','Service Gestion','Y','','','','','','','','','OPE','Service');
INSERTINTOentities(entity_id,entity_label,short_label,enabled,adrs_1,adrs_2,adrs_3,zipcode,city,country,email,business_id,parent_entity_id,entity_type)VALUES('SLS','Service Commercial Grands Comptes et Particuliers','Service Commercial','Y','','','','','','','','','OPE','Service');
INSERTINTOentities(entity_id,entity_label,short_label,enabled,adrs_1,adrs_2,adrs_3,zipcode,city,country,email,business_id,parent_entity_id,entity_type)VALUES('ITI','Service des Systèmes d''Information','Service Informatique','Y','','','','','','','','','FIN','Service');
INSERTINTOentities(entity_id,entity_label,short_label,enabled,adrs_1,adrs_2,adrs_3,zipcode,city,country,email,business_id,parent_entity_id,entity_type)VALUES('ACC','Service Comptabilité et Finances','Service Comptabilité','Y','','','','','','','','','FIN','Service');
INSERTINTOentities(entity_id,entity_label,short_label,enabled,adrs_1,adrs_2,adrs_3,zipcode,city,country,email,business_id,parent_entity_id,entity_type)VALUES('COU','Service du Courrier','Service du Courrier','Y','','','','','','','','','FIN','Service');
INSERTINTOentities(entity_id,entity_label,short_label,enabled,adrs_1,adrs_2,adrs_3,zipcode,city,country,email,business_id,parent_entity_id,entity_type)VALUES('EQ1','Equipe 1 : Grands Comptes et Entreprises','Equipe 1','Y','','','','','','','','','MNG','Bureau');
INSERTINTOentities(entity_id,entity_label,short_label,enabled,adrs_1,adrs_2,adrs_3,zipcode,city,country,email,business_id,parent_entity_id,entity_type)VALUES('EQ2','Equipe 2 : Particuliers et Internet','Equipe 2','Y','','','','','','','','','MNG','Bureau');
INSERTINTO"security"(group_id,coll_id,where_clause,maarch_comment,can_insert,can_update,can_delete)VALUES('MANAGERS','letterbox_coll','(DESTINATION = @my_primary_entity or DESTINATION in (@subentities[@my_primary_entity])) or DESTINATION is NULL','','Y','Y','Y');
INSERTINTO"security"(group_id,coll_id,where_clause,maarch_comment,can_insert,can_update,can_delete)VALUES('TYPISTS','letterbox_coll','DESTINATION = @my_primary_entity or TYPIST=@user','','Y','Y','Y');
INSERTINTO"security"(group_id,coll_id,where_clause,maarch_comment,can_insert,can_update,can_delete)VALUES('CORRESPONDANTS','letterbox_coll','(DESTINATION = @my_primary_entity or DESTINATION in (@subentities[@my_primary_entity])) or DESTINATION is NULL','','N','N','N');
-- ACTIONS and BASKETS
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(15,'','Prelever une archive','OUT','N','Y','confirm_apa','Y','advanced_physical_archive','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(16,'','Reintegrer une archive','POS','N','Y','confirm_apa','Y','advanced_physical_archive','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(22,'','En attente de validation','VAL','N','Y','','Y','apps','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(3,'','Retourner au service Courrier','RET','N','Y','confirm_status','Y','apps','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(100,'','Voir le document','','N','Y','view','N','apps','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(26,'indexing','Reserver des documents',NULL,'N','Y','postindex_documents','Y','postindexing','Y');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(27,'','Activer la persistance','','N','Y','set_persistent_mode_on','Y','apps','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(28,'','Désactiver la persistance','','N','Y','set_persistent_mode_off','Y','apps','N');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('apa_coll','APA_reservation','Archives reservees','Corbeille des archives reservees','res_view_apa.status = ''RSV'' and (ORIGIN= @my_primary_entity or ORIGIN in (@subentities[@my_primary_entity]))','NO','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('apa_coll','APA_picking','Archives prelevees','Corbeille des archives prelevees','res_view_apa.status = ''OUT'' and (ORIGIN= @my_primary_entity or ORIGIN in (@subentities[@my_primary_entity]))','NO','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('letterbox_coll','CopyMailBasket','Mes courriers en copie','Mes courriers en copie',' ((res_view_letterbox.res_id in (select res_id from listinstance WHERE coll_id = ''letterbox_coll'' and item_type = ''user_id'' and item_id = @user and item_mode = ''cc'') or res_view_letterbox.res_id in (select res_id from listinstance WHERE coll_id = ''letterbox_coll'' and item_type = ''entity_id'' and item_mode = ''cc'' and item_id in (@my_entities)) and status <> ''END'') OR res_view_letterbox.res_id in (select res_id from basket_persistent_mode WHERE user_id = @user and is_persistent = ''Y''))and status <> ''DEL'' ','N','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('letterbox_coll','LateMailBasket','Courriers en retard','Courriers en retard','destination in (@my_entities, @subentities[@my_primary_entity]) and (status <> ''DEL'' AND status <> ''REP'') and (now() > process_limit_date)','N','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('letterbox_coll','RetourCourrier','Retours Courrier','Courriers retournes au service Courrier','STATUS=''RET'' ','N','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('letterbox_coll','MyBasket','Mes courriers a traiter','Mes courriers a traiter','(status =''NEW'' or status =''COU'') and dest_user = @user','N','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('letterbox_coll','QualificationBasket','Corbeille de qualification','Corbeille de qualification','status=''VAL''','N','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('letterbox_coll','ValidationBasket','Mes courriers a valider','Mes courriers a valider','status = ''VAL'' and destination<>''COU''','N','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('letterbox_coll','DepartmentBasket','Corbeille de supervision','Corbeille de supervision','destination in (@my_entities, @subentities[@my_primary_entity]) and (status <> ''DEL'' AND status <> ''REP'')','N','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,enabled)VALUES('letterbox_coll','PostindexingBasket','Corbeille de videocodage','Corbeille de videocodage','(status = ''VAL'')','N','Y');
(10,'SF_0101',1,1,'Contrat 1 pour Eric SPRITZ : Assurance Décès-Invalidité',NULL,NULL,NULL,NULL,'NEW',2,'2008-05-22 17:26:48',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Y','N','2008-04-23 18:03:14'),
(11,'SF_0102',1,1,'Contrat 2 pour Eric SPRITZ : Assurance Habitation',NULL,NULL,NULL,NULL,'NEW',2,'2008-05-22 17:26:48',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Y','N','2008-04-23 18:03:14'),
(12,'SF_0103',1,1,'Contrat 3 pour Eric SPRITZ : Assurance Véhicule',NULL,NULL,NULL,NULL,'NEW',2,'2008-05-22 17:26:48',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Y','N','2008-04-23 18:03:14'),
(13,'SF_0201',1,2,'Contrat 1 pour Thomas BECK : Assurance Décès-Invalidité',NULL,NULL,NULL,NULL,'NEW',2,'2008-05-22 17:26:48',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Y','N','2008-04-23 18:03:14'),
(14,'SF_0202',1,2,'Contrat 2 pour Thomas BECK : Assurance Habitation',NULL,NULL,NULL,NULL,'NEW',2,'2008-05-22 17:26:48',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Y','N','2008-04-23 18:03:14'),
(15,'SF_0203',1,2,'Contrat 3 pour Thomas BECK : Assurance Véhicule',NULL,NULL,NULL,NULL,'NEW',2,'2008-05-22 17:26:48',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Y','N','2008-04-23 18:03:14'),
INSERTINTOfoldertypes(foldertype_id,foldertype_label,maarch_comment,retention_time,custom_d1,custom_f1,custom_n1,custom_t1,custom_d2,custom_f2,custom_n2,custom_t2,custom_d3,custom_f3,custom_n3,custom_t3,custom_d4,custom_f4,custom_n4,custom_t4,custom_d5,custom_f5,custom_n5,custom_t5,custom_d6,custom_t6,custom_d7,custom_t7,custom_d8,custom_t8,custom_d9,custom_t9,custom_d10,custom_t10,custom_t11,custom_t12,custom_t13,custom_t14,custom_t15,coll_id)VALUES(2,'Documents RH','Documents de Ressources Humaines',NULL,'0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','0000000000','letterbox_coll');
INSERTINTOdoctypes(coll_id,type_id,description,enabled,doctypes_first_level_id,doctypes_second_level_id,primary_retention,secondary_retention)VALUES('letterbox_coll',15,'Demande de modification','Y',1,11,NULL,NULL);
INSERTINTOdoctypes(coll_id,type_id,description,enabled,doctypes_first_level_id,doctypes_second_level_id,primary_retention,secondary_retention)VALUES('letterbox_coll',50,'Lettre de réclamation','Y',1,13,NULL,NULL);
INSERTINTOdoctypes(coll_id,type_id,description,enabled,doctypes_first_level_id,doctypes_second_level_id,primary_retention,secondary_retention)VALUES('letterbox_coll',61,'Contrat de Travail','Y',2,51,NULL,NULL);
INSERTINTOdoctypes(coll_id,type_id,description,enabled,doctypes_first_level_id,doctypes_second_level_id,primary_retention,secondary_retention)VALUES('letterbox_coll',63,'Fiche Médecine du Travail','Y',2,52,NULL,NULL);
INSERTINTOdoctypes(coll_id,type_id,description,enabled,doctypes_first_level_id,doctypes_second_level_id,primary_retention,secondary_retention)VALUES('letterbox_coll',66,'Bilan de compétences','Y',2,53,NULL,NULL);
INSERTINTOdoctypes_first_level(doctypes_first_level_id,doctypes_first_level_label,css_style,enabled)VALUES(2,'Dossier du Personnel','orange_style_big','Y');
INSERTINTOdoctypes_second_level(doctypes_second_level_id,doctypes_second_level_label,doctypes_first_level_id,css_style,enabled)VALUES(10,'Ouverture de compte',1,'blue_style','Y');
<p><font face="verdana,geneva" size="1">Voici la liste des é###vé###nements de l''application qui vous sont notifié###s ([notification.description]) :</font></p>
INSERTINTOnotifications(notification_sid,notification_id,description,event_id,notification_mode,template_id,diffusion_type,diffusion_properties,attachfor_type,attachfor_properties,rss_url_template)VALUES(1,'INDEX_DEST','Indexation de nouveau document','21','EMAIL',1,'dest_user','','','',' http://localhost/maarch_trunk/apps/maarch_entreprise/index.php?page=users_management_controler&mode=up&admin=users&id=$1');
INSERTINTOnotifications(notification_sid,notification_id,description,event_id,notification_mode,template_id,diffusion_type,diffusion_properties,attachfor_type,attachfor_properties,rss_url_template)VALUES(2,'USERS','Actions sur les utilisateurs de l''application','users%','EMAIL',2,'user','superadmin','','',' http://localhost/maarch_trunk');
--
-- TOC entry 2326 (class 0 OID 39180)
-- Dependencies: 1461
-- Data for Name: templates_association; Type: TABLE DATA; Schema: public; Owner: postgres
INSERTINTOar_boxes(arbox_id,title,subject,description,entity_id,arcontainer_id,status,creation_date,retention_time,custom_t1,custom_n1,custom_f1,custom_d1,custom_t2,custom_n2,custom_f2,custom_d2,custom_t3,custom_n3,custom_f3,custom_d3,custom_t4,custom_n4,custom_f4,custom_d4,custom_t5,custom_n5,custom_f5,custom_d5,custom_t6,custom_t7,custom_t8,custom_t9,custom_t10,custom_t11)VALUES(5,'Boite PROJET 001',NULL,NULL,NULL,0,'NEW','2009-09-16 16:01:00.765',NULL,NULL,NULL,NULL,NULL,'PA',NULL,NULL,NULL,'superadmin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERTINTOdocserver_types(docserver_type_id,docserver_type_label,enabled,is_container,container_max_number,is_compressed,compression_mode,is_meta,meta_template,is_logged,log_template,is_signed,fingerprint_mode)VALUES('OFFLINE','Off line tape','Y','Y',1000,'Y','7Z','Y','OAIS_std.dtd','Y','log_std.dtd','Y','SHA512');
INSERTINTOdocservers(docserver_id,docserver_type_id,device_label,is_readonly,enabled,size_limit_number,actual_size_number,path_template,ext_docserver_info,chain_before,chain_after,creation_date,closing_date,coll_id,priority_number,docserver_location_id,adr_priority_number)VALUES('FASTHD_MAN','FASTHD','Fast internal disc bay for letterbox mode','N','Y',200000000000,0,'C:\\maarch\\docservers\\entreprise\\manual\\',NULL,NULL,NULL,'2011-01-13 14:47:49.197164',NULL,'letterbox_coll',10,'NANTERRE',2);
INSERTINTOdocservers(docserver_id,docserver_type_id,device_label,is_readonly,enabled,size_limit_number,actual_size_number,path_template,ext_docserver_info,chain_before,chain_after,creation_date,closing_date,coll_id,priority_number,docserver_location_id,adr_priority_number)VALUES('OFFLINE_1','OFFLINE','Off line tape','N','Y',50000000000,0,'C:\\maarch\\docservers\\entreprise\\offline\\',NULL,NULL,NULL,'2011-01-13 16:58:24.00929',NULL,'res_coll',30,'NANTERRE',4);
INSERTINTOdocservers(docserver_id,docserver_type_id,device_label,is_readonly,enabled,size_limit_number,actual_size_number,path_template,ext_docserver_info,chain_before,chain_after,creation_date,closing_date,coll_id,priority_number,docserver_location_id,adr_priority_number)VALUES('FASTHD_AI','FASTHD','Fast internal disc bay for autoimport','N','Y',50000000000,1,'C:\\maarch\\docservers\\entreprise\\ai\\',NULL,NULL,NULL,'2011-01-07 13:43:48.696644',NULL,'res_coll',11,'NANTERRE',1);