INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,is_visible,enabled)VALUES('letterbox_coll','SigningBasket','11 - Courriers à viser','Corbeille des courriers à approuver','STATUS = ''VIS'' and DESTINATION in (@subentities[@my_entities])','N','Y','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,is_visible,enabled)VALUES('letterbox_coll','QualificationBasket','22 - Courriers à qualifier','Corbeille de qualification','status=''ATT''','N','Y','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,is_visible,enabled)VALUES('letterbox_coll','IndexingBasket','00 - Courriers à indexer','Corbeille d''indexation',' ','N','Y','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,is_visible,enabled)VALUES('letterbox_coll','CopyMailBasket','03 - Courriers en copie','Corbeille d''information','(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_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 <> ''DEL''','N','Y','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,is_visible,enabled)VALUES('letterbox_coll','CopyMailBasket','03 - Courriers en copie','Corbeille d''information','(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_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 <> ''DEL'' and res_id not in (select res_id from res_mark_as_read WHERE user_id = @user)','N','Y','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,is_visible,enabled)VALUES('letterbox_coll','RetourCourrier','21 - Retours Courrier','Courriers retournés au service Courrier','STATUS=''RET''','N','Y','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,is_visible,enabled)VALUES('letterbox_coll','InitBasket','20 - Courriers pour validation DSG','Courriers en attente d envoi en validation','STATUS=''INIT''','N','Y','Y');
INSERTINTObaskets(coll_id,basket_id,basket_name,basket_desc,basket_clause,is_generic,is_visible,enabled)VALUES('letterbox_coll','ContribBasket','04 - Courrier pour contribution','Courrier pour contribution','(doc_custom_t6 = @user or doc_custom_t7 in (@my_entities)) and (status = ''NEW'' or status = ''COU'')','N','Y','Y');
...
...
@@ -454,6 +454,7 @@ INSERT INTO actions (id, keyword, label_action, id_status, is_system, enabled, a
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(112,'indexing','Enregistrer un courrier','NEW','N','Y','index_mlb','Y','apps','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(113,'redirect','Ajouter en copie','','N','Y','put_in_copy','Y','apps','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,enabled,action_page,history,origin,create_id)VALUES(114,'','Retirer le courrier de la corbeille','','N','Y','mark_as_read','Y','apps','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,is_folder_action,enabled,action_page,history,origin,create_id)VALUES(300,'redirect','[dossier] Rediriger le dossier','_NOSTATUS_','Y','Y','Y','redirect_folder','Y','folder','N');
INSERTINTOactions(id,keyword,label_action,id_status,is_system,is_folder_action,enabled,action_page,history,origin,create_id)VALUES(301,'','[dossier] Valider le dossier','FOLDVAL','N','Y','Y','confirm_status','Y','folder','N');
...
...
@@ -478,12 +479,12 @@ INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename,
-- BANNETTE SECONDAIRE POUR LE GROUPE DES SUPERVISEURS DE COURRIERINSERT INTO user_baskets_secondary (system_id, user_id, group_id, basket_id) VALUES (1, 'ddaull', 'RESPONSABLE', 'EvisBasket');
-- BANNETTE SECONDAIRE POUR LE GROUPE DES SUPERVISEURS DE COURRIER