https://wiki.dolibarr.org/api.php?action=feedcontributions&user=Marcosgdf&feedformat=atom
Dolibarr ERP CRM Wiki - User contributions [en]
2024-03-29T00:10:58Z
User contributions
MediaWiki 1.35.0
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=34402
Template:TemplateListOfTriggers
2015-10-11T11:03:36Z
<p>Marcosgdf: PR 3717</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|<strike>USER_CREATE_FROM_CONTACT</strike> (Removed since 3.8)<br />
|<strike>user.class.php</strike><br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_LOGOUT<br />
|user.class.php<br />
|-<br />
|<strike>USER_UPDATE_SESSION</strike> (Removed since 3.7.1)<br />
|<strike>user.class.php</strike><br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_UPDATE<br />
|fournisseur.product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_CREATE<br />
|fournisseur.product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_INSERT ''(>= 3.9.0) (LINECONTRACT_CREATE >= 3.7.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE ''(>= 3.4.0)''<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|PAYMENT_SALARY_CREATE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_MODIFY ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_DELETE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|DON_MODIFY ''(>= 3.7.0)''<br />
|don.class.php<br />
|-<br />
|DON_DELETE ''(>= 3.7.0)''<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|<strike>IMPORT_DELETE</strike> (Removed since 3.7.0)<br />
|<strike>import.class.php</strike><br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYBOX_PAYMENT_OK<br />
|<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|OPENSURVEY_CREATE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|OPENSURVEY_DELETE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=34164
Template:TemplateListOfTriggers
2015-07-18T10:00:06Z
<p>Marcosgdf: Added LINECONTRACT_INSERT trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_LOGOUT<br />
|user.class.php<br />
|-<br />
|<strike>USER_UPDATE_SESSION</strike> (Removed since 3.7.1)<br />
|<strike>user.class.php</strike><br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_UPDATE<br />
|fournisseur.product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_CREATE<br />
|fournisseur.product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_INSERT ''(>= 3.7.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE ''(>= 3.4.0)''<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|PAYMENT_SALARY_CREATE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_MODIFY ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_DELETE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|DON_MODIFY ''(>= 3.7.0)''<br />
|don.class.php<br />
|-<br />
|DON_DELETE ''(>= 3.7.0)''<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|<strike>IMPORT_DELETE</strike> (Removed since 3.7.0)<br />
|<strike>import.class.php</strike><br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|OPENSURVEY_CREATE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|OPENSURVEY_DELETE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=33641
Template:TemplateListOfTriggers
2015-05-16T11:17:21Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_LOGOUT<br />
|user.class.php<br />
|-<br />
|<strike>USER_UPDATE_SESSION</strike> (Removed since 3.7.1)<br />
|<strike>user.class.php</strike><br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_UPDATE<br />
|fournisseur.product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_CREATE<br />
|fournisseur.product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE ''(>= 3.4.0)''<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|PAYMENT_SALARY_CREATE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_MODIFY ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_DELETE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|DON_MODIFY ''(>= 3.7.0)''<br />
|don.class.php<br />
|-<br />
|DON_DELETE ''(>= 3.7.0)''<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|<strike>IMPORT_DELETE</strike> (Removed since 3.7.0)<br />
|<strike>import.class.php</strike><br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|OPENSURVEY_CREATE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|OPENSURVEY_DELETE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=VAT_setup,_calculation_and_rounding_rules&diff=33502
VAT setup, calculation and rounding rules
2015-04-19T16:46:13Z
<p>Marcosgdf: /* For Spain */</p>
<hr />
<div>This page explains how vat calculation is done (or can be done depending of options you choose) into Dolibarr ERP CRM.<br />
<br />
<br />
= Standard VAT and rounding rules =<br />
Let's start with the example we will use. Imagine an invoice that contains the following lines (We also live into a country where total must be rounded with 2 decimal numbers).<br />
<br />
{|class="wikitable centre" width="80%"<br />
|- valign="top"<br />
||&nbsp;||A<br>Description||B<br>Quantity||C<br>Unit price||D<br>Vat rate||E<br>Total without tax<br>=(B*D)||F<br>Exact tax amount<br>=(B*D*E)||nowrap="nowrap"|G<br>Tax amount rounded<br>on 2 dec<br>=round(F)||nowrap="nowrap"|H<br>Exact price<br>inc tax<br>=(E+F)||nowrap="nowrap"|I<br>Price inc tax rounded<br>on 2 decimals<br>=(E+G)<br />
|-<br />
||1||nowrap="nowrap"|Product alpha||1||1.24||10%||1.24||0.124||0.12||1.24+0.124=1.364||1.36<br />
|-<br />
||2||nowrap="nowrap"|Product beta||1||1.24||10%||1.24||0.124||0.12||1.24+0.124=1.364||1.36<br />
|}<br />
<br />
We have 2 ways to calculate the total of invoice: making a sum of rounding lines or rounding the sum of lines.<br />
<br />
1) If we choose to make the sum of lines after rounding (on 2 decimals) lines, we get:<br />
* Total without tax: 1.24(E1) + 1.24(E2) = '''2.48'''<br />
* Total tax 10%: 0.12(G1) + 0.12(G2) = '''0.24''' (we sum the rounded values of tax on each line)<br />
* Total inc tax (we sum total without tax + total tax): 2.48(Ex) + 0.24(Gx) = '''2.72'''<br />
<br />
Note that if we sum rounded price inc tax on each line, we get: 1.36(I1) + 1.36(I2) = '''2.72''' (same result so we know there is no error)<br />
<br />
2) If we choose to round (on 2 decimals) amount after summing all lines, we get:<br />
* Total without tax: 1.24(E1) + 1.24(E2) = '''2.48''' (same than in method 1)<br />
* Total tax 10%: (1.24(E1) + 1.24(E2)) * 10% = 0.124 + 0.124 = 0.248 rounded to nearest to have a total on 2 decimals give '''0.25''' (we sum amount without tax for each lines, calculate vat rate on this and after we round value on 2 decimals)<br />
* Total inc tax (we sum total without tax + total tax): 2.48 + 0.25 = '''2.73'''<br />
<br />
First thing we can note is that result from method 1 differs of result from method 2. Difference is only 0.01 but if you have n times the same line, difference can be higher but always lower or equal to (n-1)*0.01.<br />
Also if you decide to round up or down instead of "to the nearest", you will have same problem (for example with a rounding down, try with a quantity of 2 on line 2 and you will have same differences between method 1 and 2). Difference will just appears with different data but will still occurs, so problem is not on how we make rounding but when.<br />
<br />
Second thing we can note is that if we use method 2, we must not show the column I onto invoice, otherwise to total you show on your invoice (2.73) will not be same that total you get summing total of each line (1.36+1.36=2.72). Showing column H might be better but total will still differs because total (2.73) is rounded and result of summing column H lines (1.364+1.364=2.728) will still differs.<br />
<br />
'''So what to do ?'''<br />
* In some countries, calculation must always be done using method 1 for generating invoice. As this is the default calculation rule for Dolibarr, there is nothing to do.<br />
* In other countries (very rare), calculation must always be done using method 2 for generating invoice. To avoid having total shown at the top of the invoice that differs from total of detailed line, just do not show column I on invoice. This is the case with Dolibarr default invoice templates, so that's not a problem. To enable this rule of calculation, you must use Dolibarr version 3.5+ and set constant MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND to 1 (Home - Setup - Other).<br />
* In most countries, the 2 methods are possible. So here, just use method 1 that will be more efficient when you will make accountancy (because, if you use method 2, total of vat on your invoice will not be sum of F, nor sum of G and this may create confusion later). If you prefer to use method 2, use Dolibarr version 3.5+ and set constant MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND to 1 (Home - Setup - Other).<br />
<br />
= Second or Third Tax =<br />
== For Spain ==<br />
Specific management for spain are supported from Dolibarr 3.0.<br />
<br />
In spain, there is 2 more vat rate for each line:<br />
* The vat rate RE (a vat rate calculated on total without tax for products, and added to total to obtain total with tax)<br />
* The vat rate IRPF (a vate rate calculated on total without tax for services, and substracted from total to obtain total with tax)<br />
<br />
Both complementary taxes can't be found in an invoice. RE is applied only for products and IRPF only for services. Because IRPF tax is always negative, in credit invoices the total IRPF will be positive.<br />
<br />
'''Setup'''<br />
<br />
The two vat rate are applied automatically (if company has been setup to use them) on each lines (when added or edited). Value of rates are found into the dictionary table from the standard vat rate ([[Table llx_c_tva]]). Total with tax and total amount of vat is modified according to calculation.<br />
<br />
Setup example: For standard vat rate 10, Localtax 1 (RE) is set with type 3 (tax is applied on net price, for products only), rate 1.4%<br />
<br />
'''Example of calculation'''<br />
<br />
{|class="wikitable centre" width="80%"<br />
|- valign="top"<br />
||&nbsp;||A<br>Description||B<br>Quantity||C<br>Unit price||D<br>Vat rate||D<br>RE||E<br>Total without tax<br>=(B*C*D)||F<br>Exact tax amount<br>=(B*D*E)||nowrap="nowrap"|G<br>Tax RE (B*C*D)||nowrap="nowrap"|H<br>Price inc standard vat + RE=(E+F+G)<br />
|-<br />
||1||nowrap="nowrap"|Product alpha||10||10||10%||1.4%||100||10||1.4||111.4<br />
|}<br />
<br />
'''Example of calculation in credit notes'''<br />
<br />
{|class="wikitable centre" width="80%"<br />
|- valign="top"<br />
||&nbsp;||A<br>Description||B<br>Quantity||C<br>Unit price||D<br>Vat rate||D<br>IRPF||E<br>Total without tax<br>=(B*C*D)||F<br>Exact tax amount<br>=(B*D*E)||nowrap="nowrap"|G<br>Tax RE (B*C*D)||nowrap="nowrap"|H<br>Price inc standard vat + RE=(E+F+G)<br />
|-<br />
||1||nowrap="nowrap"|Product alpha||10||-10||21%||-21%||-100||0||21||100<br />
|}<br />
<br />
'''Note'''<br />
<br />
R.E. (Localtax1) is applied to product sales and not to service sales. But a service may be invoiced in the same invoice with a product sale if this is related to the product sales and it increasing its cost (ex: shipping costs).<br />
<br />
Currently to treat this case you must enter these services (ex: shipping costs) with a free line, and indicating the type as product, not as service.<br />
<br />
== For Canada ==<br />
Lexical:<br />
* GST = Goods and Services Tax (TPS = Taxe sur les Produit et Services for Quebec)<br />
* PST = Provincial sales taxes (TVQ = Taxe de Vente Québecoise for Quebec = QST = Quebec Sale Tax)<br />
<br />
'''Setup'''<br />
<br />
The GST is applied automatically on each lines (when added or edited).<br />
Value of rate for second tax PST is automatically extracted by system from the dictionary table of VAt rates, for the GST vat rate line used and your country ([[Table llx_c_tva]]).<br />
<br />
Setup instruction for user: <br />
* Go into Home - Setup - Dictionary - VAT and sale tax, into column "Rate" enter a GST vat rate with value 5, into column "Tax 2" (PST) enter a VAT rate 9.975, then setup type of tax 2 to "1" (Type "1" means tax is added for product and services, and calculated on net price, so does not include GST vat for calculation). Change values according to your province rates.<br />
<br />
'''Example of calculation'''<br />
<br />
{|class="wikitable centre" width="80%"<br />
|- valign="top"<br />
||&nbsp;||A<br>Description||B<br>Quantity||C<br>Unit price||D<br>Vat rate GST||D<br>Vat rate PST||E<br>Total without tax<br>=(B*C*D)||F<br>Tax GST<br>=(B*D*E)||nowrap="nowrap"|G<br>Tax PST (B*C*D)||nowrap="nowrap"|H<br>Price inc GST + PST=(E+F+G)<br />
|-<br />
||1||nowrap="nowrap"|Product alpha||10||10||5%||9.975%||100||5||9.98||114.98<br />
|}<br />
<br />
== For Italy ==<br />
You may need to add a negative withholding tax calculated on net amount.<br />
<br />
'''Setup'''<br />
<br />
Value of rates are found into the dictionary table from the standard vat rate (Table llx_c_tva). Total with tax and total amount of vat is modified according to calculation.<br />
<br />
Setup example: When vat rate is 22, add a tax 2 (witholding) of type 1 (tax 2 is added for product and services and calculated on net price), rate is -20% (negative means amount will be substracted)<br />
<br />
'''Example or calculation'''<br />
<br />
{|class="wikitable centre" width="80%"<br />
|- valign="top"<br />
||&nbsp;||A<br>Description||B<br>Quantity||C<br>Unit price||D<br>Vat rate||D<br>Vat rate withholding tax||E<br>Total without tax<br>=(B*C*D)||F<br>Tax VAT<br>=(B*D*E)||nowrap="nowrap"|G<br>Tax 2 (B*C*D)||nowrap="nowrap"|H<br>Price inc VAT + Tax 2=(E+F+G)<br />
|-<br />
||1||nowrap="nowrap"|Product alpha||10||10||22%||-20%||100||22||-20||102<br />
|}<br />
<br />
== For India ==<br />
There is a second vat.<br />
It seems to work like vat RE for spain.</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Language_and_development_rules&diff=33497
Language and development rules
2015-04-18T14:42:26Z
<p>Marcosgdf: /* Table and fields structures */</p>
<hr />
<div>{{TemplateDocDevEn}}<br />
<br />
This is some rules on language, syntax and norm we use into Dolibarr project:<br />
<br />
= Versions =<br />
* Dolibarr must work on:<br />
# All OS (Windows, Linux, MACOS...)<br />
# PHP {{PHPMinVersion}} (Must work with no need of complementary PHP module, except module to PHP module to access database).<br />
# Mysql {{MySqlMinVersion}}<br />
<br />
= Copyright Norms =<br />
* All PHP files must start with a header that looks like <br />
<source lang="php"><br />
<?php<br />
/* Copyright (C) YYYY John Doe <email@email.com><br />
*<br />
* Licence information<br />
*/<br />
...<br />
</source><br />
When you edit an existing file of project, you must add a Copyright line under others.<br />
<br />
= PHP Norms =<br />
== PHP ==<br />
* Dolibarr is written with PHP and supports all PHP version higher than {{PHPMinVersion}}. All files must end with extension .php<br />
<br />
* Usage of superglobals PHP variables must use dedicated operators $_COOKIES, $_SERVER, $_ENV but use Dolibarr function GETPOST() to get content of $_GET or $_POST..<br />
Other operators ($HTTP_SERVER_GET, ...) are now deprecated inside PHP, so they must no more be used. Like that code will work also if option '''register_long_arrays''' is set to off.<br />
Moreover, the code must work when PHP option '''register_globals''' is off (recommended by PHP). It must work the same way when the option '''register_globals''' is on (by default on a lot of installations).<br />
<br />
* Do not use '''PHP_SELF'''. Use instead $_SERVER["PHP_SELF"].<br />
<br />
* When several variables must be initialized with same value, you must use several lines<br />
<source lang="php"><br />
$var1=1;$var2=1;$var3=1;<br />
</source><br />
instead of<br />
<source lang="php"><br />
$var1=$var2=$var3=1;<br />
</source><br />
that is slower.<br />
<br />
* String must be rounded by simple quote and variable inside string must be out of the quote.<br />
<source lang="php"><br />
print 'My text show my '.$variable.' !';<br />
</source><br />
<br />
* Comments must use the C syntax, ie a double slash for a comment on one line and a slash-star to open a bloc for several lines<br />
<source lang="php"><br />
/* Bloc of comment<br />
*<br />
* End of bloc<br />
*/<br />
<br />
$monobjet = new MonObjet($db);<br />
$result=$monobjet->fetch($idobject);<br />
<br />
for ($i = 1 , $i < 2 ; $i++)<br />
{<br />
// comment on one line<br />
print $i;<br />
}<br />
<br />
</source><br />
<br />
* Functions must return a value strictly higher than 0 if successful and strictly lower than 0 if error.<br />
<br />
* No dead code (code never used) into Dolibarr core code (code used by external modules only must be included into external modules).<br />
<br />
* Use "include_once" for anything with functions or class definitions in it (so *.class.php and *.lib.php files), use "include" for template-style php with files containing a mix of HTML and PHP (so *.inc.php and *.tpl.php files).<br />
<br />
* Coding style to use is the PSR-2 (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) with 2 exceptions, this means:<br />
** Files must be saved with Unix format (LF) and not Windows (CR/LF). Unif format is compatible on all OS like Unix like, Windows, Mac, but the Windows text file format is no working on some PHP under Unix.<br />
** Smart tags PHP are not used. PHP code section must start with '''<?php'''<br />
** But there is an exception of length of line: We accept more than 80 characters per line. 80 is really to low. In most cases, we never go over 80, but sometimes (when declaring a list of reference arrays, like into module descriptor files), it is better to have long lines instead of long page with code content that is just data declaration and does not contains any logic.<br />
** The other exception is that we don't replace the tab with space. This makes lot of editor crazy and breaks some auto-format features.<br />
You can use the file dev/codesniffer/ruleset.xml as rule file to control coding style with PHPCodeSniffer.<br />
<br />
== Classes and properties structures ==<br />
<br />
Some properties of classes are found into different classes. To avoid having different names, we will use the following names:<br />
* date_creation date creation<br />
* user_creation object User creating object<br />
* fk_user_creation id user creating object<br />
* date_modification date last modification<br />
* user_modification objet User last modification<br />
* fk_user_modification id user last modification<br />
* date_validation date validation<br />
* user_validation objet User<br />
* fk_user_validation id user making validation<br />
<br />
= SQL rules =<br />
<br />
== Table and fields structures ==<br />
<br />
* Structure of tables.<br />
When you create a new table, it is recommended to use the same conventions as other Dolibarr tables. This means the following fields:<br />
- rowid integer for id<br />
- tms timestamp that will contain date of last modification (the database manages this field automatically, no need to manage it by the code, just create the field)<br />
- import_key that will contains the import code YYYYMMDDHHMMSS if you make mass import.<br />
Eventualy<br />
- datec timestamp that is the creation date<br />
- fk_user_author integer that is the id of user making creation<br />
- fk_user_mod integer that is the id of user making change<br />
- fk_soc integer that is the ID of the Thirdparty<br />
<br />
Note field:<br />
- note_private text for private comment of the object<br />
- note_pubic text for public comment of the object<br />
or <br />
- note text if there is no need to have private and public<br />
<br />
<br />
* Type of fields:<br />
Well, to be compatible with any accuracy required by any country on amounts, and with any database syntax, we will use the following type into database:<br />
- integer for an any of foreign key<br />
- double(24,8) for any amount<br />
- double(6,3) for any vat rate<br />
- real for a quantity<br />
- varchar for a string (also if length is 1, the type char is more and more deprecated)<br />
- timestamp for a field date+time that is automatically updated<br />
- datetime for a field date+time<br />
- date for a field date<br />
<br />
* All tables has a prefix to avoid name conflicts with other projects. In current version this prefix is fixed ans can't be modified. Its value is <tt>llx_</tt>. In a future version this value should be modified during installation process.<br />
<br />
== Primary keys ==<br />
The primary key of a table must be called <tt>rowid</tt>.<br />
<br />
Some old tables does not use this rule and use a primary key called <tt>id</tt> (ie [[Table llx_c_actioncomm]]), but the reason is history and this should not happens anymore.<br />
<br />
== Foreign keys ==<br />
A foreign key name must start with prefix <tt>fk_</tt> followed by the table name linked (this is required to avoid duplicate names in project that are not allowed even if on different tables by some DBMS like Postgresql) then the name of child field (this is to allow to have several foreign keys on same table).<br />
<br />
Example:<br />
''fk_facture_fourn_fk_soc'' is a foreign key on table llx_facture_fourn for field fk_soc in this table (that link to the rowid field in another table)<br />
<br />
Note: If you develop your own external module, it must have no foreign keys that point to Dolibarr standard tables. This will break standard dolibarr upgrades, repair, backup and restore tools and may also break standard features.<br />
<br />
== Alternative keys ==<br />
Sometimes, we need another unique keys than primary key. We can add in this case an alternate unique key. When we need this, we can create an alternate unique key. Such an index is called by a name that start by prefix <tt>uk_</tt> followed by an underscore, then the the table name (this is required to avoid duplicate names of unique keys that may create problems for some DBMS like Postgresql) and then another string to define the key (this is to allow to have several unique keys on same table).<br />
<br />
Example:<br />
''uk_societe_code_client'' is a unique key on table llx_societe on field code_client.<br />
<br />
== Index performance ==<br />
Some fields are often used as search or order criteria, or for joins. In such case, we need to set a performance index on field to increase performances. Such indexes are named with a prefix <tt>idx_</tt> then the table name and then the field name.<br />
<br />
Example:<br />
''idx_societe_user_creat'' is a performance index on table llx_societe for field user_creat<br />
<br />
== DDL file format ==<br />
Files that contain definition of the database structure (DDL files) must be 2 per tables:<br />
* Each table is defined by its own file whose name is <tt>llx_''mytable''.sql</tt><br />
A comment will be added on each field to explain its usage.<br />
* All foreign keys, performance indexes or other constraints will be defined into another file called <tt>llx_''mytable''.key.sql</tt><br />
<br />
Those files must be stored into directory '''install/mysql/tables''' for all standard files or '''mymodule/tables''' for tables provided by an external module.<br />
<br />
Example '''file of table llx_mytable.sql''':<br />
<br />
<source lang="sql"><br />
-- ===========================================================================<br />
-- Copyright (C) 2013 Author <email@author.com><br />
-- <br />
-- This program is free software; you can redistribute it and/or modify<br />
-- it under the terms of the GNU General Public License as published by<br />
-- the Free Software Foundation; either version 3 of the License, or<br />
-- (at your option) any later version.<br />
--<br />
-- This program is distributed in the hope that it will be useful,<br />
-- but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br />
-- GNU General Public License for more details.<br />
--<br />
-- You should have received a copy of the GNU General Public License<br />
-- along with this program. If not, see <http://www.gnu.org/licenses/>.<br />
-- ===========================================================================<br />
<br />
create table llx_mytable<br />
(<br />
rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY,<br />
ref varchar(30) NOT NULL, -- object reference number<br />
entity integer DEFAULT 1 NOT NULL, -- multi company id<br />
ref_ext varchar(255),-- reference into an external system (not used by dolibarr)<br />
field_one integer,<br />
field_two integer NOT NULL,<br />
fk_field integer,<br />
field_date datetime,<br />
datec timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,, -- creation datetime<br />
tms timestamp, -- update time stamp<br />
fk_user_author integer NOT NULL, -- Author, foreign key of llx_user<br />
fk_user_mod integer NOT NULL, -- Last updater, foreign key of llx_user<br />
import_key varchar(14) -- Use by import process<br />
)type=innodb;<br />
</source><br />
<br />
Example '''file for keys/indexs on llx_mytable.key.sql''':<br />
<br />
<source lang="sql"><br />
-- ===========================================================================<br />
-- Copyright (C) 2013 Author <email@author.com><br />
-- <br />
-- This program is free software; you can redistribute it and/or modify<br />
-- it under the terms of the GNU General Public License as published by<br />
-- the Free Software Foundation; either version 3 of the License, or<br />
-- (at your option) any later version.<br />
--<br />
-- This program is distributed in the hope that it will be useful,<br />
-- but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br />
-- GNU General Public License for more details.<br />
--<br />
-- You should have received a copy of the GNU General Public License<br />
-- along with this program. If not, see <http://www.gnu.org/licenses/>.<br />
-- ===========================================================================<br />
<br />
ALTER TABLE llx_matable ADD UNIQUE uk_matable_field(field_one, field_two);<br />
<br />
ALTER TABLE llx_matable ADD CONSTRAINT fk_matable_fk_field FOREIGN KEY (fk_field) REFERENCES llx_matablepere (rowid);<br />
</source><br />
<br />
== SQL Coding rules ==<br />
* Alias usage/Fields naming<br />
When doing select, we can use alias to simplify writing/reading of requests:<br />
<source lang="sql"><br />
select chp1, chpxxx2 as chp2 from table2 as t1, table2 as t2 where t1.chpx = t2.chpy<br />
</source><br />
However, we must not used alias for update request as they are not compatible with Mysql 3.1.<br />
<br />
* All SELECT * are forbidden ! Any SELECT must define complete list of fields to get. This avoid confusion. Example:<br />
<source lang="sql"><br />
SELECT field_a, field_b, field_c FROM table_1 WHERE field_d = '$id'<br />
</source><br />
<br />
* Into SQL requests, you must quote fields except fields that contains amounts that must be stored as double or real type. Quotes on numbers may results in saving a different value. For example 412.62 in an insert will be saved with value 412.61999512 into database (due to implicit conversion string to numeric) if target field has type double(24,8). Only PHP see value 412.61999512. Other tools will see 412.62 giving sensation that there is no problem. But it's PHP that hase the good vision. There is really a wrong value into database. By removing quotes on numbers, no problem occurs.<br />
<br />
Example:<br />
<source lang="sql"><br />
Good: INSERT INTO table_1 (field_txt, field_num) VALUES ('txt', 412.62)<br />
Bad: INSERT INTO table_1 (field_txt, field_num) VALUES ('txt', '412.62')<br />
</source><br />
<br />
Note, problem of float numbers is same problem on all langauges and not only when inserting data into database. It occurs also with any language when you work on "real" numbers, so numbers must be, as soon as they are affected, cleaned with function price2num with second parameter defined to :<br />
'MU' (for unit prices), 'MT' (for total prices) or 'MS' (otherwise) depending on usage of number. (see function documentation)<br />
<br />
* Functions NOW or SYSDATE are forbidden inside SQL requests. If you must use the current date into a field, value must come from the PHP and not from the database engine. This is to avoid a better portability of code and a correct management of TimeZone.<br />
<br />
== Mysql specificities ==<br />
* Tables must be declared with format InnoDB.<br />
This format support foreign keys and their restrictions, and transactions integrity is also supported. This guarantee that Dolibarr events keep all data with correct values between tables even even transaction modify different tables.<br />
<br />
* Dolibarr must works even if Mysql option '''strict''' is active.<br />
To activate it (recommanded when developping on Dolibarr), add the following line into the config file of your Mysql server (my.cnf or my.ini)<br />
<source lang="ini"><br />
sql-mode="STRICT_ALL_TABLES,ONLY_FULL_GROUP_BY,NO_ZERO_DATE"<br />
</source><br />
<br />
== PostgreSQL specificities ==<br />
Only Mysql SQL files must be maintained.<br />
Those files are converted "on the fly" by the database Dolibarr driver.<br />
<br />
There is an exception<br />
The SQL "UPDATE FROM" : <br />
Syntax MySQL :<br />
<source lang="sql"><br />
UPDATE table_taget as target, table_source as source SET fieldtarget=source.fieldsource<br />
WHERE source.rowid=target.rowid;<br />
</source><br />
<br />
Syntax PgSQL:<br />
<source lang="sql"><br />
UPDATE table_taget as target SET fieldtarget=source.fieldsource<br />
FROM table_source as source WHERE source.rowid=target.rowid;<br />
</source><br />
<br />
There is no native SQL request "update from" in dolibarr core. But in your module you should do :<br />
<source lang="php"><br />
if ($this->db->type=='pgsql') {<br />
$sql="UPDATE table_taget as target SET fieldtarget=source.fieldsource<br />
FROM table_source as source WHERE source.rowid=target.rowid";<br />
} else {<br />
$sql= "UPDATE table_taget as target, table_source as source SET fieldtarget=source.fieldsource<br />
WHERE source.rowid=target.rowid";<br />
}<br />
</source><br />
<br />
= HTML norms =<br />
== Syntax rules ==<br />
* HTML used must be HTML compliant and not XHTML. All attributes of HTML tags must be in lower case and quoted with ".<br />
<br />
* Links href must be absolute and use the function dol_buildpath() to get absolute path from a relative path and img tag must be build using function img_picto().<br />
For example:<br />
<source lang="php"><br />
print '<a href="'.dol_buildpath('/mydir/mypage.php').'">'.img_picto('Texte alt','namepictopng','').'</a>';<br />
</source><br />
<br />
* HTML tables must have columns with no forced width, except for columns that contains data we know the length. For example, a column with a picto only can be forced to with="20px".<br />
Otherwise, we must avoid forcing the column width. Reason is that, in most cases, the browser make a better works to define column width automatically than forced values, and it works whatever is the resolution.<br />
<br />
* Javascript/ajax code and call to javascript files into php pages must be avoided. However, if you need to include javascript code, you must add a condition on "$conf->use_javascript_ajax"<br />
<source lang="php"><br />
if ($conf->use_javascript_ajax) {<br />
... // php code generating javascript here<br />
}<br />
</source><br />
<br />
* Popups windows must not be used, except for tooltips (and must have a condition as explained before).<br />
<br />
* External scripts must be written into Perl if they can't be written into PHP. Usage of another language is not forbidden but must be argue before onto development mailing-list.<br />
<br />
== External templating framework ? ==<br />
There is ton of frameworks to provide a templating language of an HTML page. The best and faster is just called "PHP", and because Dolibarr already depends on PHP, there is no need for depend on a third languages.<br />
<br />
All templating frameworks are just preprocessor, BEFORE PHP. It can't be faster than PHP alone. When we say "speed, when using cache of templating framework, is increase", it is in fact the overtime spent by the framework that is reduced by cache, not the speed of processing PHP file. We should says "any templating framework has an overload over PHP, the cache of framework, just reduce the slowing effect of using it", but not "the speed is increased, it is always increased".<br />
<br />
Above all, having a templating system is completely possible by doing a "'''.tpl.php'''" file that dos not contains any logic code, but only HTML and echo. We get same result (but faster and easier to develop because it does not need to do all the setXXX) before calling each template. All variables (known by code that include the template) are automaticaly known into a PHP template page. No risk to forget a set, and a lot of line of codes reduced, a lot of time saved.<br />
<br />
Also, keeping a 100% isolation between code and HTML output is interesting in only 1 situation: When teams building design is complety different than team building logic code, AND if you build not too sophisticated pages, AND with no need of too many Ajax features (this need to know how code works).<br />
And this situation is surely not the Dolibarr future (team will often be same, Ajax will be more and more present, event if I hope not too much, and screens are more and more dependent of dynamic or contextual events, difficult to have with a template without transforming the template into a page with high level of code).<br />
<br />
There is a ton of other reasons to not use an external templating system and all arguments to use them are the best argument to use PHP as our templating system.<br />
<br />
= Dolibarr norms and code skeleton =<br />
<br />
== Skeleton code ==<br />
To standardize the code, and to speed up the development of new components in Dolibarr, you'll find 4 skeletons fully prepared in the directory '''dev/skeletons'''.<br />
<br />
* 1 that serves as an example of the module description: '''myModule.class.php'''<br />
* 1 that serves as an example of code for creating a new class: '''skeleton_class.class.php'''<br />
* 1 that serves as an example of code for creating a new page: '''skeleton_page.php'''<br />
* 1 that serves as an example of code for creating a script for executing command lines: '''skeleton_script.php'''<br />
<br />
Use it as an example.<br />
Note that the skeletons are also used by the PHP code generator, which is described in the development chapter of Dolibarr modules, to speed up your development.<br />
<br />
== Dates and Timezones ==<br />
Dolibarr is an application that is multi-user and multi-location. It's therefore necessary to store dates in the right format. To avoid problems with conversions, the following rules should be applied:<br />
<br />
* A date into memory must always be stored with Timestamp GMT format.<br />
* A date stored into database, is the GMT Timestamp of date submitted into the request usng the <b>PHP server</b> timezone. This does not apply to date update automatically by database (fields '''tms''' into database).<br />
For exemple le 1st january 1970, 3 hour at Paris (TZ=+1) = 2 hour at Greenwitch (TZ=0) will be stored into memory with value 7200 and will be submitted into a SQL request to database with the string '19700101030000' (PHP convert into its TZ hour and databse will unconvert it using its timezone too that is same than PHP).<br />
<br />
All select methods should translate date fields, that are with format TZ of database ('19700101030000'), into a timestamp field by calling the method db->jdate. This is to store into memory a GTM Timestamp date. All insert methods must convert, during generation of SQL request, the memory date into the string by using db->idate (you may find examples into skeleton).<br />
<br />
* Dates that are updated automatically (field '''tms''' into database) contains a GMT Timestamp GMT of date when change is done. The select will also use the db->jdate (that use PHP server TZ) to convert read data into a GMT Timestamp into memory. So if timezone of database differs from timezone of PHP server (one of them is not correctly set), you may experience differences between creation date and update date.<br />
<br />
* Manipulation date with PHP must be done using the Dolibarr date functions: '''dol_now(), dol_mktime(), dol_stringtotime(), dol_getdate(), dol_time_plus_duree()'''. You may also find other functions available into file '''date.lib.php'''.<br />
<br />
== UTF8/ISO encoding ==<br />
Dolibarr stores data in the following way:<br />
* In database, data is stored in UTF8 or ISO. It depends on the database's pagecode therefore these options are set at creation time. In any case, Dolibarr's database driver (in lib/database) deals with it to convert from/to UTF8 at insertion and readout.<br />
* Memory data is stored in UTF8 (PHP object instances).<br />
* Screen displayed web pages are UTF8 (for versions prior to 2.5.1, the deprecated $character_set parameter from conf.php file defines output format).<br />
<br />
== Float numbers, amount and calculation ==<br />
With PHP, like other languages (Java for exemple), non integer data (float, real, double) are not reliable for calculation.<br />
Try to make for example <br />
<source lang="php"><br />
print 239.2 - 229.3 - 9.9;<br />
</source><br />
You wont get zero but a very small decimal number. If you get zero her, you should be able to find other examples that don't work.<br />
Problem of float is general, so a variable that is a result of a calculation using decimal numbers must ALWAYS be cleaned using the function '''price2num()''' with the econd parameter to: 'MU', 'MT' or 'MS' depending on need (see description of function).<br />
<source lang="php"><br />
print price2num(239.2 - 229.3 - 9.9, 'MT');<br />
</source><br />
If data manipulated is not an amount, so using MU, MT, MS has no sense, so you must use the function '''round()'''.<br />
<br />
== Creation of tables ==<br />
Do not create tables, on the fly, during execution by a standard user, we mean, during current usage of software.<br />
If you create a module that use its own table not available into default Dolibarr code, take a look at tutorial [[Module Development]] that will explain you how roviding new tables with your module to have the created during module activation and not during module usage.<br />
<br />
== Logs ==<br />
Add logs to your code using function<br />
<source lang="php"><br />
dol_syslog($yourmessage, LOG_INFO|LOG_DEBUG|LOG_WARNING|LOG_ERR);<br />
</source><br />
<br />
== Working directory ==<br />
If you need to create a working directory, into your code, refer to it with <br />
'''DOL_DATA_ROOT.'/monmodule''''<br />
<br />
The directory can be created into your code by the following fnction:<br />
<source lang="php"><br />
$mymoduledir=DOL_DATA_ROOT.'/monmodule';<br />
dol_mkdir($mymoduledir);<br />
</source><br />
<br />
If you need a directory to store temporary data, this directory must be '''DOL_DATA_ROOT.'/monmodule/temp''''<br />
<br />
= Design patterns and Object programming =<br />
<br />
== Creation design patterns (GoF) ==<br />
Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]).<br />
No usage of such patterns is required. We found some objects next to Singletons or Factory but not completely compliant with syntax, this is to be compatible with PHP 4 that is not a pure object language. <br />
<br />
== Structure design patterns (GoF) ==<br />
Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]). <br />
No usage of such patterns is required.<br />
<br />
== Behavior design patterns (GoF) ==<br />
Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]). <br />
No usage of such patterns is required.<br />
<br />
== Design patterns of enterprise (Martin Fowler) ==<br />
<br />
=== Patterns of code organization ===<br />
[[wikipedia:Martin Fowler|Martin Fowler]] has identified 3 ways to organize code:<br />
* The '''Transaction Script''' (The source code is linear for each user action).<br />
This is the old school used by all procedural languages.<br />
Inconvenient: Redundancy of code. Need to know the physical model of data to develop.<br />
* The '''Domain Model'''<br />
This notion is available with object languages. It is business process (to identify before) that are used for objects classes.<br />
Inconvenient: Model very complex to maintain.<br />
* The '''Table Module'''<br />
This is a mix between 2 previous where we have only one unique class for each table of database.<br />
<br />
-> As shown in code skeletons (see previous chapter), Dolibarr use concept of '''Table Module'''.<br />
<br />
=== Communication between business logic - data (ORM) ===<br />
<br />
There is 3 way to make links:<br />
<br />
* The '''Table And Row Data Gateway'''<br />
This is the most simple. You have one class per table and each class is a link to the table with CRUD methods (Ceate, Read, Update, Delete). A class instance is a record a the table. The class contains only code to reach lines and fields of table.<br />
<br />
Example: This mode is used by some ORM Frameworks, like '''iBatis''' (http://ibatis.apache.org/).<br />
<br />
* The '''Active Record'''<br />
Same than previous, but we are allowed to add some business functions into the class, if such functions are dedicated to the table or recordng into this table.<br />
<br />
Example: This mode is used for Dolibarr development and most PHP softwares that includes their own framework and best practices.<br />
<br />
* The '''Data Mapper'''<br />
Classes represent entities of the problem and not the data. So you have to double, triple ... theese classes with Mapper classes to access the data.<br />
More "purist" on paper (closer of business), this method also has the disadvantage of being more complex in practice.<br />
<br />
Example: This is the choice if you use the ORM Framework '''Propel''' (http://propel.phpdb.org/trac/). We find this model on heavier applications, based on this ORM among others.<br />
<br />
-> For Dolibarr development, it is recommended to use the connection mode '''Active Record''', which offers the advantages of a model close to the business without having the complexity, without obfuscating the technique. It is in this way that the development, understanding of code and technical maintenance and / or business seems the more productive (this is however an ongoing debate between the purists and the pragmatists, debate in which nobody can really be right, because it depends on the objectives).</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=DevCamp_Pau_April_2015_Organization&diff=33355
DevCamp Pau April 2015 Organization
2015-04-02T13:07:52Z
<p>Marcosgdf: /* Community meeting registered attendees */</p>
<hr />
<div>__NOINDEX__<br />
{{TemplateAssoEn}}<br />
[[Category:DevCamps]]<br />
<br />
= Event =<br />
'''Title: Dolibarr DevCamp 2015'''<br />
<br />
The event is split in two parts this year:<br />
* A public presentation of the project<br />
* The usual community meeting<br />
<br />
== Price ==<br />
The full event is ''free'' but since space is limited, registrations are required (see below).<br />
<br />
== Dates ==<br />
April, 17 to 19<br />
<br />
* Public presentation: 17 afternoon<br />
* Community meeting: 18 to 19<br />
<br />
=== Registrations ===<br />
* Public presentation:<br />
** Fill the form at goo.gl/67ZDAW before '''april, 10'''<br />
* Community meeting:<br />
** Here on the wiki before '''march, 28'''<br />
<br />
== Location ==<br />
Main location: Technopole Hélioparc, 2 avenue du Président Pierre Angot, 64000 PAU, France<br />
<br />
=== Capacity ===<br />
* Public presentation: ~100 people (friday afternoon)<br />
* Community meeting: ~20 people<br />
<br />
== Main languages ==<br />
* Public presentation: French<br />
* Community meeting: English & French<br />
<br />
== Organizers ==<br />
* Main: GPC.solutions (contact@gpcsolutions.fr)<br />
* Hosting: Technopole Hélioparc (contact@helioparc.fr)<br />
* Lodging and Catering: GPC.solutions<br />
* Attendees information & communication: Technopole Hélioparc<br />
* Sponsoring management: GPC.solutions<br />
<br />
=== Sponsors ===<br />
* Technopole Hélioparc<br />
* PauLLA<br />
<br />
=== Partners ===<br />
* La Mêlée Adour<br />
* GRETA Béarn et Soule<br />
* NumLab<br />
<br />
== Lodging and catering ==<br />
<br />
=== Hotel ===<br />
<br />
We have negociated 42€/night/person at a nearby hotel.<br />
<br />
Please book through us for the discounted price.<br />
<br />
=== Food ===<br />
''To be defined''<br />
<br />
= Planning =<br />
<br />
== Day 1 (Friday) ==<br />
<br />
Auditorium<br />
* 9:00: Breakfast (Organisers only)<br />
* 10:00: Opening and free discussion<br />
* 12:00: Lunch (Organisers and presenters only)<br />
* 14:00: Start of general public presentations<br />
* 14:15: Présentation du projet — Laurent Destailleur — teclib’ & NLTechno, Dolibarr Preferred Partners — Développeur principal et président de l’association<br />
* 15:00: Retour d’expérience, organisation des Rencontres Mondiales du Logiciel Libre 2014 — Jean-François Ferry — Aternatik, Dolibarr Preferred Partner — Membre du conseil d’administration de l’association<br />
* 15:45: Gérer un centre de formation — Florian Henry — Open-Concept.pro, Dolibarr Preferred Partner — Secrétaire de l’association<br />
* 16:30: Opportunités pour le e-commerce — Jean Heimburger — Tiaris, Dolibarr Preferred Partner — Membre du conseil d’administration de l’association<br />
* 17:15: Nouveautés des prochaines versions du logiciel — Laurent Destailleur<br />
* 18:30: Apéritif and buffet supper (Invitations only)<br />
Atelier numérique<br />
* 21:00: Free play / code / hangout<br />
<br />
''Next days are still in a'' '''Draft''' state ''. These will be updated as soon as we have more informations.''<br />
<br />
== Day 2 (Saturday) ==<br />
<br />
Atelier numérique<br />
* 9:00: Breakfast<br />
* 10:00: Community time (''TBD'')<br />
* 12:00: Lunch<br />
* 14:00: Community time (''TBD'')<br />
* 19:00: Diner<br />
* 21:00: Free play / code / hangout<br />
<br />
== Day 3 (Sunday) ==<br />
<br />
Atelier numérique<br />
* 9:00: Breakfast<br />
* 10:00: Community time (''TBD'')<br />
* 12:00: Lunch<br />
* 14:00: Community time (''TBD'')<br />
* 18:00: Event end<br />
<br />
= Workshop topics =<br />
<br />
If you plan attending the event on saturday and sunday, feel free to share the topics you'd like to see covered.<br />
<br />
Lorenzo Novaro: I propose to have a "panel" about translations and a moment to revise the english language files.<br />
<br />
= Attendees registration =<br />
<br />
== Public presentation ==<br />
<br />
Please go to goo.gl/67ZDAW<br />
<br />
== Community meeting ==<br />
<br />
Registration is done here, on the wiki<br />
<br />
Please copy the template below to the registered attendees section and fill it with your informations.<br />
<br />
You'll need a wiki account. If you don't have one please ask via email at '''contact@dolibarr.org'''.<br />
<br />
<font color="red">'''Registration for Dolibarr devcamp 2015 at Pau are now closed'''</font> (You are however still welcome the friday afternoon 17th of april, for the public presentation, free entry)<br />
<br />
== Registration template ==<br />
<br />
------------------------------------------<br />
* Firstname Lastname:<br />
* Age:<br />
* Coming from (town, country):<br />
* Arrival date and hour:<br />
* Departure date and hour:<br />
* Transportation (Train/Bus/Car/Plane):<br />
* Food (Special diet, allergies, vegetarian…):<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no):<br />
* Estimated expenses (ticket, parking, toll, hotel...):<br />
* Contact email:<br />
------------------------------------------<br />
<br />
== Community meeting registered attendees ==<br />
<br />
------------------------------------------<br />
[[File:Raphaël Doursenaud.png|40px]]<br />
* Firstname Lastname: [[Raphaël Doursenaud]]<br />
* Age: 33<br />
* Coming from (town, country): Pau, France<br />
* Arrival date and hour: 17, 9h00<br />
* Departure date and hour: 19, 23h59<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Home :D<br />
* Book hotel for me (yes/no): N.A.<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: rdoursenaud@gpcsolutions.fr<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Florian_Henry.png|40px]]<br />
* Firstname Lastname: [[Florian Henry]]<br />
* Age: 34<br />
* Coming from (town, country): Manduel, France<br />
* Arrival date and hour: 17, 9h00<br />
* Departure date and hour: 19, 23h59<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hostel<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: florian.henry@open-concept.pro<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Jean_Heimburger.png|40px]]<br />
* Firstname Lastname: [[Jean Heimburger]]<br />
* Age: 54<br />
* Coming from (town, country): Sarrebourg, France<br />
* Arrival date and hour: 17/04/2015 Pau Uzein 10h15 (depuis Orly)<br />
* Departure date and hour: 19/04/2015 Pau Uzein 16h20<br />
* Transportation (Train/Bus/Car/Plane): plane <br />
* Food (Special diet, allergies, vegetarian…): none<br />
* Accommodation (Common booked hotel/self…):hotel <br />
* Book hotel for me (yes/no):yes<br />
* Estimated expenses (ticket, parking, toll, hotel...): <br />
* Contact email:jean.heimburger@tiaris.info<br />
------------------------------------------<br />
------------------------------------------<br />
* Firstname Lastname: [[Jean-François Ferry]]<br />
* Age: 34<br />
* Coming from (town, country): Montpellier, France<br />
* Arrival date and hour: 17, morning<br />
* Departure date and hour: 19, late<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hostel?<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: jfefe@aternatik.fr<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Laurent Destailleur.png|40px]]<br />
* Firstname Lastname: [[Laurent Destailleur]]<br />
* Age: 42<br />
* Coming from (town, country): Pessac, France<br />
* Arrival date and hour: 17, 12h00<br />
* Departure date and hour: 19, 15h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hostel<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: contact@destailleur.fr<br />
------------------------------------------<br />
------------------------------------------<br />
Firstname Lastname: [[Charles-Fr Benke]]<br />
* Age: 47<br />
* Coming from (town, country): Lyon, France<br />
* Arrival date and hour: 17, 12h00<br />
* Departure date and hour: 19, late<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food (Special diet, allergies, vegetarian…): GOOD<br />
* Accommodation (Common booked hotel/self…): Hotel<br />
* Book hotel for me (yes/no): No<br />
* Estimated expenses (ticket, parking, toll, hotel...):<br />
* Contact email: charles.fr@benke.fr<br />
------------------------------------------<br />
------------------------------------------<br />
Firstname Lastname: [[Romain Deschamps]]<br />
* Age: 35<br />
* Coming from (town, country): Lyon France<br />
* Arrival date and hour: 17, 12h00<br />
* Departure date and hour: 19, late<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food (Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation (Common booked hotel/self…): Hotel<br />
* Book hotel for me (yes/no): No<br />
* Estimated expenses (ticket, parking, toll, hotel...):<br />
* Contact email: r.deschamps@patas-monkey.com<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Maxime Kohlhaas.png|40px]]<br />
* Firstname Lastname: [[Maxime Kohlhaas]]<br />
* Age: 28<br />
* Coming from (town, country): Valence, France<br />
* Arrival date and hour: 16, 12h00<br />
* Departure date and hour: 19, 15h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hotel<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: maxime@atm-consulting.fr<br />
------------------------------------------<br />
[[File:Lorenzo Novaro.png|40px]]<br />
* Firstname Lastname: Lorenzo Novaro<br />
* Age: 35<br />
* Coming from (town, country): Genova, Italy<br />
* Arrival date and hour: TBD<br />
* Departure date and hour: 19, end of devcamp<br />
* Transportation (Train/Bus/Car/Plane): Train/Plane<br />
* Food (Special diet, allergies, vegetarian…): nuts<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no):<br />
* Estimated expenses (ticket, parking, toll, hotel...): TBD<br />
* Contact email: info@19.coop<br />
------------------------------------------<br />
[[File:Firstname Lastname.png|40px]]<br />
* Firstname Lastname: [[Tommaso Basilici]]<br />
* Age: 36<br />
* Coming from (town, country): Genova, Italy<br />
* Arrival date and hour: TBD<br />
* Departure date and hour: 19, end of devcamp<br />
* Transportation: Train/Plane<br />
* Food (Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no):<br />
* Estimated expenses (ticket, parking, toll, hotel...): Transport: TBD - Hotel: TBD<br />
* Contact email: info@19.coop<br />
------------------------------------------<br />
[[File:Juanjo Menent.png|40px]]<br />
* Firstname Lastname: [[Juanjo Menent]]<br />
* Age: 42<br />
* Coming from (town, country): Gandia, Spain<br />
* Arrival date and hour: 16, 20h57<br />
* Departure date and hour: 20, 05h53<br />
* Transportation (Train/Bus/Car/Plane): Train<br />
* Food:(Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation: Hotel<br />
* Book hotel for me: Yes <br />
* Estimated expenses: Transport: 229.70€ - Hotel: 168€.<br />
* Contact email: jmenent@2byte.es<br />
------------------------------------------<br />
[[File:Arnaud Aujon Chevallier.png|40px]]<br />
* Firstname Lastname: [[Arnaud Aujon Chevallier]]<br />
* Age: 26<br />
* Coming from (town, country): Toulouse, France<br />
* Arrival date and hour: 18, 10h00<br />
* Departure date and hour: 18, 18h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food:(Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation: self<br />
* Book hotel for me: No <br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: arnaud@intelibre.fr<br />
------------------------------------------<br />
* Firstname Lastname: Francis Appels<br />
* Age: 49<br />
* Coming from (town, country): Herselt, Belgium<br />
* Arrival date and hour: 16, 18h00<br />
* Departure date and hour: 19, 21h00<br />
* Transportation (Train/Bus/Car/Plane): Train<br />
* Food (Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation (Common booked hotel/self…): hotel<br />
* Book hotel for me (yes/no): no<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: francis.appels@z-application.com<br />
------------------------------------------<br />
[[File:Marcos García.png|40px]]<br />
* Firstname Lastname: Marcos García<br />
* Age: 22<br />
* Coming from (town, country): Valladolid, Spain<br />
* Arrival date and hour: 17, 17:00h<br />
* Departure date and hour: 20, 06:00h<br />
* Transportation (Train/Bus/Car/Plane): Train<br />
* Food (Special diet, allergies, vegetarian…): Lactose.<br />
* Accommodation (Common booked hotel/self…): Airbnb<br />
* Book hotel for me (yes/no): No<br />
* Estimated expenses (ticket, parking, toll, hotel...): 180 €<br />
* Contact email: marcosgdf@gmail.com<br />
------------------------------------------<br />
* Firstname Lastname: Pierre-Yvan Aupiais<br />
* Age: 59<br />
* Coming from (town, country): Toulouse , France<br />
* Arrival date and hour: 17/04/2015 , 9h00<br />
* Departure date and hour: 18/04/2015 , 17h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food (Special diet, allergies, vegetarian…): N.A<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no): no<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A<br />
* Contact email:py.aupiais@val-talents.fr<br />
-------------------------------------------<br />
* Firstname Lastname: Estephe LORIDAN<br />
* Age: 36 ans<br />
* Coming from (town, country): Noisiel, France<br />
* Arrival date and hour: Dont know yet, friday end of morning.<br />
* Departure date and hour: Sunday evening.<br />
* Transportation (Train/Bus/Car/Plane): Plane (my charge)<br />
* Food (Special diet, allergies, vegetarian…): <br />
* Accommodation (Common booked hotel/self…): <br />
* Book hotel for me (yes/no): yes.<br />
* Estimated expenses (ticket, parking, toll, hotel...): no expense.<br />
* Contact email: dolibarr@estephe.me<br />
-------------------------------------------<br />
* Firstname Lastname: PAQUIER Bernard<br />
* Age: 32<br />
* Coming from (town, country): Bordeaux, France<br />
* Arrival date and hour: 17/04 - 10h<br />
* Departure date and hour: 19/04 -18h<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food (Special diet, allergies, vegetarian…): N/A<br />
* Accommodation (Common booked hotel/self…): Self<br />
* Book hotel for me (yes/no): No<br />
* Estimated expenses (ticket, parking, toll, hotel...): TBD<br />
* Contact email: contact@dolibarr-addict.com<br />
-------------------------------------------<br />
[[File:Bahfir Abbes.jpeg|40px]]<br />
* Firstname Lastname:Bahfir Abbes<br />
* Age:49<br />
* Coming from (town, country): Oran - Algeria<br />
* Arrival date and hour:16 April 2015<br />
* Departure date and hour: 19-20 April 2015<br />
* Transportation (Train/Bus/Car/Plane): Plane/Train/Bus<br />
* Food (Special diet, allergies, vegetarian…):normal<br />
* Accommodation (Common booked hotel/self…): -<br />
* Book hotel for me (yes/no): -<br />
* Estimated expenses (ticket, parking, toll, hotel...): -<br />
* Contact email:bafbes@gmail.com</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=DevCamp_Pau_April_2015_Organization&diff=33275
DevCamp Pau April 2015 Organization
2015-03-25T15:25:30Z
<p>Marcosgdf: </p>
<hr />
<div>__NOINDEX__<br />
{{TemplateAssoEn}}<br />
[[Category:DevCamps]]<br />
<br />
= Event =<br />
* '''Title: Dolibarr DevCamp 2015'''<br />
* Date: april, 17 to 19<br />
* Location: PAU, France<br />
* Main language: French<br />
<br />
== Organizers ==<br />
* Main: GPC.solutions (contact@gpcsolutions.fr)<br />
* Hosting: Technopole Hélioparc<br />
* Lodging and Catering: ''TBD''<br />
* Attendees information & communication: ''TBD''<br />
* Sponsoring management: GPC.solutions / ''Dolibarr foundation?''<br />
<br />
== Sponsors ==<br />
* Technopole Hélioparc<br />
* PauLLA<br />
* ''More to be announced later''<br />
<br />
== Partners ==<br />
* La Mêlée Adour<br />
* NumLab<br />
* ''More to be announced later''<br />
<br />
== Dates ==<br />
April, 17 to 19<br />
<br />
Registration deadline: '''march, 28'''<br />
<br />
== Location ==<br />
* Main location: Technopole Hélioparc, 2 avenue du Président Pierre Angot, 64000 PAU, France<br />
* Capacity: ~20 people<br />
<br />
== Accommodation and food ==<br />
''To be defined''<br />
<br />
= Planning =<br />
''This is a'' '''Draft''' ''. It will be updated as soon as we have more informations.''<br />
== Day 1 (Friday) ==<br />
Auditorium<br />
* 9:00: Breakfast (Organisers only)<br />
* 10:00: Opening and free discussion<br />
* 12:00: Lunch (Organisers and presenters only)<br />
* 14:00: Start of general public presentations (''TBD'')<br />
* 18:00: Apéritif and buffet supper<br />
Atelier numérique<br />
* 21:00: Free play / code / hangout<br />
<br />
== Day 2 (Saturday) ==<br />
Atelier numérique<br />
* 9:00: Breakfast<br />
* 10:00: Community time (''TBD'')<br />
* 12:00: Lunch<br />
* 14:00: Community time (''TBD'')<br />
* 19:00: Diner<br />
* 21:00: Free play / code / hangout<br />
<br />
== Day 3 (Sunday) ==<br />
Atelier numérique<br />
* 9:00: Breakfast<br />
* 10:00: Community time (''TBD'')<br />
* 12:00: Lunch<br />
* 14:00: Community time (''TBD'')<br />
* 18:00: Event end<br />
<br />
= Call for sponsors and general public presentations =<br />
We'd like to spend the Friday afternoon with the general public.<br />
<br />
We'd love having volunteers to hold a booth where visitors could try the software and discuss with open minded people.<br />
<br />
We also need people who wants to talk about the project to a general audience in a more formal way.<br />
<br />
Finally, skilled people that could pull off live streaming and/or remote attendance would be awesome!<br />
<br />
Feel free to submit your ideas or get in touch with the event's organizers.<br />
<br />
== Presentations ==<br />
''This section is a draft listing current volunteers and their main subject.''<br />
<br />
* '''Laurent Destailleur''':<br />
** The project: history, features and ecosystem<br />
** News in upcoming 3.7 and 3.8 versions<br />
* '''Jean Heimburger''':<br />
** Community<br />
** E-commerce<br />
* '''Florian Henry''':<br />
** Custom attributes<br />
** Agefodd<br />
* '''Jean-François Ferry'''<br />
** Feedback on preparing and using Dolibarr for the RMLL 2014 organization<br />
* '''Raphaël Doursenaud''':<br />
** ? (Not sure yet.)<br />
<br />
* ''More to be announced later''<br />
<br />
= Workshop topics =<br />
If you plan attending the event on saturday and sunday, feel free to share the topics you'd like to see covered.<br />
<br />
= Attendees registration =<br />
Registration is done here, on the wiki.<br />
<br />
Please copy the template below to the registered attendees section and fill it with your informations.<br />
<br />
You'll need a wiki account. If you don't have one please ask via email at '''contact@dolibarr.org'''.<br />
<br />
== Registration template ==<br />
<br />
------------------------------------------<br />
* Firstname Lastname:<br />
* Age:<br />
* Coming from (town, country):<br />
* Arrival date and hour:<br />
* Departure date and hour:<br />
* Transportation (Train/Bus/Car/Plane):<br />
* Food (Special diet, allergies, vegetarian…):<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no):<br />
* Estimated expenses (ticket, parking, toll, hotel...):<br />
* Contact email:<br />
------------------------------------------<br />
<br />
== Registered attendees ==<br />
<br />
------------------------------------------<br />
[[File:Raphaël Doursenaud.png|40px]]<br />
* Firstname Lastname: [[Raphaël Doursenaud]]<br />
* Age: 33<br />
* Coming from (town, country): PAU, France<br />
* Arrival date and hour: 17, 9h00<br />
* Departure date and hour: 19, 23h59<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Home :D<br />
* Book hotel for me (yes/no): N.A.<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: rdoursenaud@gpcsolutions.fr<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Florian_Henry.png|40px]]<br />
* Firstname Lastname: [[Florian Henry]]<br />
* Age: 34<br />
* Coming from (town, country): MANDUEL, France<br />
* Arrival date and hour: 17, 9h00<br />
* Departure date and hour: 19, 23h59<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hostel<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: florian.henry@open-concept.pro<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Jean_Heimburger.png|40px]]<br />
* Firstname Lastname: [[Jean Heimburger]]<br />
* Age: 54<br />
* Coming from (town, country): Sarrebourg<br />
* Arrival date and hour: 17/04/2015 Pau Uzein 10h15 (depuis Orly)<br />
* Departure date and hour: 19/04/2015 Pau Uzein 16h20<br />
* Transportation (Train/Bus/Car/Plane): plane <br />
* Food (Special diet, allergies, vegetarian…): none<br />
* Accommodation (Common booked hotel/self…):hotel <br />
* Book hotel for me (yes/no):yes<br />
* Estimated expenses (ticket, parking, toll, hotel...): <br />
* Contact email:jean.heimburger@tiaris.info<br />
------------------------------------------<br />
------------------------------------------<br />
* Firstname Lastname: [[Jean-François Ferry]]<br />
* Age: 34<br />
* Coming from (town, country): Montpellier, France<br />
* Arrival date and hour: 17, morning<br />
* Departure date and hour: 19, late<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hostel?<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: jfefe@aternatik.fr<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Laurent Destailleur.png|40px]]<br />
* Firstname Lastname: [[Laurent Destailleur]]<br />
* Age: 42<br />
* Coming from (town, country): PESSAC, Pau<br />
* Arrival date and hour: 17, 12h00<br />
* Departure date and hour: 19, 15h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hostel<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: contact@destailleur.fr<br />
------------------------------------------<br />
------------------------------------------<br />
Firstname Lastname: [[Charles-Fr Benke]]<br />
* Age: 47<br />
* Coming from (town, country): Lyon France<br />
* Arrival date and hour: 17, 12h00<br />
* Departure date and hour: 19, late<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food (Special diet, allergies, vegetarian…): GOOD<br />
* Accommodation (Common booked hotel/self…): Hotel<br />
* Book hotel for me (yes/no): No<br />
* Estimated expenses (ticket, parking, toll, hotel...):<br />
* Contact email: charles.fr@benke.fr<br />
------------------------------------------<br />
------------------------------------------<br />
Firstname Lastname: [[Romain Deschamps]]<br />
* Age: 35<br />
* Coming from (town, country): Lyon France<br />
* Arrival date and hour: 17, 12h00<br />
* Departure date and hour: 19, late<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food (Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation (Common booked hotel/self…): Hotel<br />
* Book hotel for me (yes/no): No<br />
* Estimated expenses (ticket, parking, toll, hotel...):<br />
* Contact email: r.deschamps@patas-monkey.com<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Maxime Kohlhaas.png|40px]]<br />
* Firstname Lastname: [[Maxime Kohlhaas]]<br />
* Age: 28<br />
* Coming from (town, country): Valence, France<br />
* Arrival date and hour: 16, 12h00<br />
* Departure date and hour: 19, 15h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hotel<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: maxime@atm-consulting.fr<br />
------------------------------------------<br />
[[File:Lorenzo Novaro.png|40px]]<br />
* Firstname Lastname: Lorenzo Novaro<br />
* Age: 35<br />
* Coming from (town, country): Genova, Italy<br />
* Arrival date and hour: TBD<br />
* Departure date and hour: 19, end of devcamp<br />
* Transportation (Train/Bus/Car/Plane): Train/Plane<br />
* Food (Special diet, allergies, vegetarian…): nuts<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no):<br />
* Estimated expenses (ticket, parking, toll, hotel...): TBD<br />
* Contact email: info@19.coop<br />
------------------------------------------<br />
[[File:Firstname Lastname.png|40px]]<br />
* Firstname Lastname: [[Tommaso Basilici]]<br />
* Age: 36<br />
* Coming from (town, country): Genova, Italy<br />
* Arrival date and hour: TBD<br />
* Departure date and hour: 19, end of devcamp<br />
* Transportation: Train/Plane<br />
* Food (Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no):<br />
* Estimated expenses (ticket, parking, toll, hotel...): Transport: TBD - Hotel: TBD<br />
* Contact email: info@19.coop<br />
------------------------------------------<br />
[[File:Juanjo Menent.png|40px]]<br />
* Firstname Lastname: [[Juanjo Menent]]<br />
* Age: 42<br />
* Coming from (town, country): Gandia, Spain<br />
* Arrival date and hour: 16, 16h00<br />
* Departure date and hour: 20, 04h30<br />
* Transportation (Train/Bus/Car/Plane): Train<br />
* Food:(Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation: Hotel<br />
* Book hotel for me: Yes <br />
* Estimated expenses (ticket, parking, toll, hotel...): TBD.<br />
* Contact email: jmenent@2byte.es<br />
------------------------------------------<br />
[[File:Arnaud Aujon Chevallier.png|40px]]<br />
* Firstname Lastname: [[Arnaud Aujon Chevallier]]<br />
* Age: 26<br />
* Coming from (town, country): Toulouse, France<br />
* Arrival date and hour: 18, 10h00<br />
* Departure date and hour: 18, 18h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food:(Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation: self<br />
* Book hotel for me: No <br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: arnaud@intelibre.fr<br />
------------------------------------------<br />
* Firstname Lastname: Francis Appels<br />
* Age: 49<br />
* Coming from (town, country): Herselt, Belgium<br />
* Arrival date and hour: 16, 18h00<br />
* Departure date and hour: 19, 21h00<br />
* Transportation (Train/Bus/Car/Plane): Train<br />
* Food (Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation (Common booked hotel/self…): hotel<br />
* Book hotel for me (yes/no): no<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: francis.appels@z-application.com<br />
------------------------------------------<br />
[[File:Marcos García.png|40px]]<br />
* Firstname Lastname: Marcos García<br />
* Age: 22<br />
* Coming from (town, country): Valladolid, Spain<br />
* Arrival date and hour: 16, TBD<br />
* Departure date and hour: 19, TBD<br />
* Transportation (Train/Bus/Car/Plane): Bus<br />
* Food (Special diet, allergies, vegetarian…): Lactose.<br />
* Accommodation (Common booked hotel/self…): hotel<br />
* Book hotel for me (yes/no): TBD<br />
* Estimated expenses (ticket, parking, toll, hotel...): ~ 200 €<br />
* Contact email: marcosgdf@gmail.com</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=DevCamp_Pau_April_2015_Organization&diff=33274
DevCamp Pau April 2015 Organization
2015-03-25T15:24:53Z
<p>Marcosgdf: /* Registered attendees */</p>
<hr />
<div>__NOINDEX__<br />
{{TemplateAssoEn}}<br />
[[Category:DevCamps]]<br />
<br />
= Event =<br />
* '''Title: Dolibarr DevCamp 2015'''<br />
* Date: april, 17 to 19<br />
* Location: PAU, France<br />
* Main language: French<br />
<br />
== Organizers ==<br />
* Main: GPC.solutions (contact@gpcsolutions.fr)<br />
* Hosting: Technopole Hélioparc<br />
* Lodging and Catering: ''TBD''<br />
* Attendees information & communication: ''TBD''<br />
* Sponsoring management: GPC.solutions / ''Dolibarr foundation?''<br />
<br />
== Sponsors ==<br />
* Technopole Hélioparc<br />
* PauLLA<br />
* ''More to be announced later''<br />
<br />
== Partners ==<br />
* La Mêlée Adour<br />
* NumLab<br />
* ''More to be announced later''<br />
<br />
== Dates ==<br />
April, 17 to 19<br />
<br />
Registration deadline: '''march, 28'''<br />
<br />
== Location ==<br />
* Main location: Technopole Hélioparc, 2 avenue du Président Pierre Angot, 64000 PAU, France<br />
* Capacity: ~20 people<br />
<br />
== Accommodation and food ==<br />
''To be defined''<br />
<br />
= Planning =<br />
''This is a'' '''Draft''' ''. It will be updated as soon as we have more informations.''<br />
== Day 1 (Friday) ==<br />
Auditorium<br />
* 9:00: Breakfast (Organisers only)<br />
* 10:00: Opening and free discussion<br />
* 12:00: Lunch (Organisers and presenters only)<br />
* 14:00: Start of general public presentations (''TBD'')<br />
* 18:00: Apéritif and buffet supper<br />
Atelier numérique<br />
* 21:00: Free play / code / hangout<br />
<br />
== Day 2 (Saturday) ==<br />
Atelier numérique<br />
* 9:00: Breakfast<br />
* 10:00: Community time (''TBD'')<br />
* 12:00: Lunch<br />
* 14:00: Community time (''TBD'')<br />
* 19:00: Diner<br />
* 21:00: Free play / code / hangout<br />
<br />
== Day 3 (Sunday) ==<br />
Atelier numérique<br />
* 9:00: Breakfast<br />
* 10:00: Community time (''TBD'')<br />
* 12:00: Lunch<br />
* 14:00: Community time (''TBD'')<br />
* 18:00: Event end<br />
<br />
= Call for sponsors and general public presentations =<br />
We'd like to spend the Friday afternoon with the general public.<br />
<br />
We'd love having volunteers to hold a booth where visitors could try the software and discuss with open minded people.<br />
<br />
We also need people who wants to talk about the project to a general audience in a more formal way.<br />
<br />
Finally, skilled people that could pull off live streaming and/or remote attendance would be awesome!<br />
<br />
Feel free to submit your ideas or get in touch with the event's organizers.<br />
<br />
== Presentations ==<br />
''This section is a draft listing current volunteers and their main subject.''<br />
<br />
* '''Laurent Destailleur''':<br />
** The project: history, features and ecosystem<br />
** News in upcoming 3.7 and 3.8 versions<br />
* '''Jean Heimburger''':<br />
** Community<br />
** E-commerce<br />
* '''Florian Henry''':<br />
** Custom attributes<br />
** Agefodd<br />
* '''Jean-François Ferry'''<br />
** Feedback on preparing and using Dolibarr for the RMLL 2014 organization<br />
* '''Raphaël Doursenaud''':<br />
** ? (Not sure yet.)<br />
<br />
* ''More to be announced later''<br />
<br />
= Workshop topics =<br />
If you plan attending the event on saturday and sunday, feel free to share the topics you'd like to see covered.<br />
<br />
= Attendees registration =<br />
Registration is done here, on the wiki.<br />
<br />
Please copy the template below to the registered attendees section and fill it with your informations.<br />
<br />
You'll need a wiki account. If you don't have one please ask via email at '''contact@dolibarr.org'''.<br />
<br />
== Registration template ==<br />
<br />
------------------------------------------<br />
* Firstname Lastname:<br />
* Age:<br />
* Coming from (town, country):<br />
* Arrival date and hour:<br />
* Departure date and hour:<br />
* Transportation (Train/Bus/Car/Plane):<br />
* Food (Special diet, allergies, vegetarian…):<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no):<br />
* Estimated expenses (ticket, parking, toll, hotel...):<br />
* Contact email:<br />
------------------------------------------<br />
<br />
== Registered attendees ==<br />
<br />
------------------------------------------<br />
[[File:Raphaël Doursenaud.png|40px]]<br />
* Firstname Lastname: [[Raphaël Doursenaud]]<br />
* Age: 33<br />
* Coming from (town, country): PAU, France<br />
* Arrival date and hour: 17, 9h00<br />
* Departure date and hour: 19, 23h59<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Home :D<br />
* Book hotel for me (yes/no): N.A.<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: rdoursenaud@gpcsolutions.fr<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Florian_Henry.png|40px]]<br />
* Firstname Lastname: [[Florian Henry]]<br />
* Age: 34<br />
* Coming from (town, country): MANDUEL, France<br />
* Arrival date and hour: 17, 9h00<br />
* Departure date and hour: 19, 23h59<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hostel<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: florian.henry@open-concept.pro<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Jean_Heimburger.png|40px]]<br />
* Firstname Lastname: [[Jean Heimburger]]<br />
* Age: 54<br />
* Coming from (town, country): Sarrebourg<br />
* Arrival date and hour: 17/04/2015 Pau Uzein 10h15 (depuis Orly)<br />
* Departure date and hour: 19/04/2015 Pau Uzein 16h20<br />
* Transportation (Train/Bus/Car/Plane): plane <br />
* Food (Special diet, allergies, vegetarian…): none<br />
* Accommodation (Common booked hotel/self…):hotel <br />
* Book hotel for me (yes/no):yes<br />
* Estimated expenses (ticket, parking, toll, hotel...): <br />
* Contact email:jean.heimburger@tiaris.info<br />
------------------------------------------<br />
------------------------------------------<br />
* Firstname Lastname: [[Jean-François Ferry]]<br />
* Age: 34<br />
* Coming from (town, country): Montpellier, France<br />
* Arrival date and hour: 17, morning<br />
* Departure date and hour: 19, late<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hostel?<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: jfefe@aternatik.fr<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Laurent Destailleur.png|40px]]<br />
* Firstname Lastname: [[Laurent Destailleur]]<br />
* Age: 42<br />
* Coming from (town, country): PESSAC, Pau<br />
* Arrival date and hour: 17, 12h00<br />
* Departure date and hour: 19, 15h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hostel<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: contact@destailleur.fr<br />
------------------------------------------<br />
------------------------------------------<br />
Firstname Lastname: [[Charles-Fr Benke]]<br />
* Age: 47<br />
* Coming from (town, country): Lyon France<br />
* Arrival date and hour: 17, 12h00<br />
* Departure date and hour: 19, late<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food (Special diet, allergies, vegetarian…): GOOD<br />
* Accommodation (Common booked hotel/self…): Hotel<br />
* Book hotel for me (yes/no): No<br />
* Estimated expenses (ticket, parking, toll, hotel...):<br />
* Contact email: charles.fr@benke.fr<br />
------------------------------------------<br />
------------------------------------------<br />
Firstname Lastname: [[Romain Deschamps]]<br />
* Age: 35<br />
* Coming from (town, country): Lyon France<br />
* Arrival date and hour: 17, 12h00<br />
* Departure date and hour: 19, late<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food (Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation (Common booked hotel/self…): Hotel<br />
* Book hotel for me (yes/no): No<br />
* Estimated expenses (ticket, parking, toll, hotel...):<br />
* Contact email: r.deschamps@patas-monkey.com<br />
------------------------------------------<br />
------------------------------------------<br />
[[File:Maxime Kohlhaas.png|40px]]<br />
* Firstname Lastname: [[Maxime Kohlhaas]]<br />
* Age: 28<br />
* Coming from (town, country): Valence, France<br />
* Arrival date and hour: 16, 12h00<br />
* Departure date and hour: 19, 15h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food: N.A.<br />
* Accommodation: Hotel<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: maxime@atm-consulting.fr<br />
------------------------------------------<br />
[[File:Lorenzo Novaro.png|40px]]<br />
* Firstname Lastname: Lorenzo Novaro<br />
* Age: 35<br />
* Coming from (town, country): Genova, Italy<br />
* Arrival date and hour: TBD<br />
* Departure date and hour: 19, end of devcamp<br />
* Transportation (Train/Bus/Car/Plane): Train/Plane<br />
* Food (Special diet, allergies, vegetarian…): nuts<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no):<br />
* Estimated expenses (ticket, parking, toll, hotel...): TBD<br />
* Contact email: info@19.coop<br />
------------------------------------------<br />
[[File:Firstname Lastname.png|40px]]<br />
* Firstname Lastname: [[Tommaso Basilici]]<br />
* Age: 36<br />
* Coming from (town, country): Genova, Italy<br />
* Arrival date and hour: TBD<br />
* Departure date and hour: 19, end of devcamp<br />
* Transportation: Train/Plane<br />
* Food (Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation (Common booked hotel/self…):<br />
* Book hotel for me (yes/no):<br />
* Estimated expenses (ticket, parking, toll, hotel...): Transport: TBD - Hotel: TBD<br />
* Contact email: info@19.coop<br />
------------------------------------------<br />
[[File:Juanjo Menent.png|40px]]<br />
* Firstname Lastname: [[Juanjo Menent]]<br />
* Age: 42<br />
* Coming from (town, country): Gandia, Spain<br />
* Arrival date and hour: 16, 16h00<br />
* Departure date and hour: 20, 04h30<br />
* Transportation (Train/Bus/Car/Plane): Train<br />
* Food:(Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation: Hotel<br />
* Book hotel for me: Yes <br />
* Estimated expenses (ticket, parking, toll, hotel...): TBD.<br />
* Contact email: jmenent@2byte.es<br />
------------------------------------------<br />
[[File:Arnaud Aujon Chevallier.png|40px]]<br />
* Firstname Lastname: [[Arnaud Aujon Chevallier]]<br />
* Age: 26<br />
* Coming from (town, country): Toulouse, France<br />
* Arrival date and hour: 18, 10h00<br />
* Departure date and hour: 18, 18h00<br />
* Transportation (Train/Bus/Car/Plane): Car<br />
* Food:(Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation: self<br />
* Book hotel for me: No <br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: arnaud@intelibre.fr<br />
------------------------------------------<br />
* Firstname Lastname: Francis Appels<br />
* Age: 49<br />
* Coming from (town, country): Herselt, Belgium<br />
* Arrival date and hour: 16, 18h00<br />
* Departure date and hour: 19, 21h00<br />
* Transportation (Train/Bus/Car/Plane): Train<br />
* Food (Special diet, allergies, vegetarian…): N.A.<br />
* Accommodation (Common booked hotel/self…): hotel<br />
* Book hotel for me (yes/no): no<br />
* Estimated expenses (ticket, parking, toll, hotel...): N.A.<br />
* Contact email: francis.appels@z-application.com<br />
------------------------------------------<br />
* Firstname Lastname: Marcos García<br />
* Age: 22<br />
* Coming from (town, country): Valladolid, Spain<br />
* Arrival date and hour: 16, TBD<br />
* Departure date and hour: 19, TBD<br />
* Transportation (Train/Bus/Car/Plane): Bus<br />
* Food (Special diet, allergies, vegetarian…): Lactose.<br />
* Accommodation (Common booked hotel/self…): hotel<br />
* Book hotel for me (yes/no): TBD<br />
* Estimated expenses (ticket, parking, toll, hotel...): ~ 200 €<br />
* Contact email: marcosgdf@gmail.com</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TagsOdtLines&diff=33259
Template:TagsOdtLines
2015-03-19T01:42:55Z
<p>Marcosgdf: Included new tags</p>
<hr />
<div><pre><br />
{line_fulldesc}<br />
{line_product_ref}<br />
{line_product_label}<br />
{line_desc}<br />
{line_vatrate}<br />
{line_up}<br />
{line_up_locale}<br />
{line_qty}<br />
{line_discount_percent}<br />
{line_price_ht}<br />
{line_price_ht_locale}<br />
{line_price_vat}<br />
{line_price_vat_locale}<br />
{line_price_ttc}<br />
{line_price_ttc_locale}<br />
{line_date_start}<br />
{line_date_start_rfc}<br />
{line_date_end}<br />
{line_date_end_rfc}<br />
</pre></div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=33007
Template:TemplateListOfTriggers
2014-12-23T14:52:21Z
<p>Marcosgdf: Removed IMPORT_DELETE</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_LOGOUT<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_UPDATE<br />
|fournisseur.product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_CREATE<br />
|fournisseur.product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE ''(>= 3.4.0)''<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|PAYMENT_SALARY_CREATE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_MODIFY ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_DELETE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|DON_MODIFY ''(>= 3.7.0)''<br />
|don.class.php<br />
|-<br />
|DON_DELETE ''(>= 3.7.0)''<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|<strike>IMPORT_DELETE</strike> (Removed since 3.7.0)<br />
|<strike>import.class.php</strike><br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|OPENSURVEY_CREATE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|OPENSURVEY_DELETE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=File:Marcos_Garc%C3%ADa.png&diff=32896
File:Marcos García.png
2014-11-15T16:27:09Z
<p>Marcosgdf: uploaded a new version of &quot;File:Marcos García.png&quot;</p>
<hr />
<div>[[Category:Everybody]]<br />
{{Flag sp}} [[Marcos García]]</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=List_of_modules_id&diff=32878
List of modules id
2014-10-21T07:50:19Z
<p>Marcosgdf: Reserved range 402000-402999</p>
<hr />
<div>[[Category:Core]]<br />
{{TemplateDocDevEn}}<br />
{{TemplateDocDevEs}}<br />
{{TemplateDocDevFr}}<br />
<br />
{{Flag en}} This page list all reserved modules numbers / ID. If you build or want to build your own modules (like this [[:Category:Complementary_modules|complementary module]]), you should take an ID range here. <br />
<br />
{{Flag fr}} Cette page recense tous les numéros / ID réservés de modules. Si vous avez réalisé ou voulez réaliser vos propres modules (comme les [[:Category:Modules complémentaires|modules complémentaires suivant]]), vous devriez prendre une plage d'ID ici.<br />
<br />
{{Flag sp}} Esta página contiene un listado de todos los id reservados para los módulos. Si ha creado o quiere realizar sus propios módulos, (como estos [[:Category:Módulos_complementarios|módulos complementarios]]), deberá reservarse un rango de ID aquí.<br />
<br />
<br />
<br />
<br />
= ID 0 - 99999 =<br />
{{Flag en}} Reserved for Dolibarr's internal modules.<br />
<br />
{{Flag fr}} Réservé aux modules internes de Dolibarr.<br />
<br />
{{Flag sp}} Reservado a los módulos internos de Dolibarr.<br />
<br />
= ID 100000 - 499999 =<br />
{{Flag en}} Reserved area for editors in need for an ID range. You can edit this page to add your own range (limited to 1000 values per editor)<br />
<br />
{{Flag fr}} Zone réservé aux éditeurs qui ont besoin d'une plage d'ID spécifiques. Vous pouvez modifier cette page pour réserver votre plage (limité à 1000 valeurs par éditeur)<br />
<br />
{{Flag sp}} Área reservada para los partners que necesiten un rango de ID. Puede modificar esta página para reservar su rango (limitado a 1000 valores por editor)<br />
<br />
* ID 100000 - 100999: Open-minds (http://www.open-minds.org)<br />
* ID 101000 - 101999: NLTechno (http://www.nltechno.com)<br />
* ID 102000 - 102999: Tiaris<br />
* ID 103000 - 103999: Open-concept.pro (http://www.open-concept.pro)<br />
* ID 104000 - 104999: ATM Consulting (http://www.atm-consulting.fr)<br />
* ID 105000 - 105999: GPC.solutions<br />
* ID 106000 - 106999: PHPASSO<br />
* ID 107000 - 107999: TecLib (http://www.teclib.com)<br />
* ID 108000 - 108999: ETHICWEB<br />
* ID 109000 - 109999: Aplose<br />
* ID 110000 - 110999: Aternatik<br />
* ID 120000 - 120999: Régis Houssin (http://www.inodbox.com)<br />
* ID 130000 - 130999: Technicks ICT (http://www.technicks.eu)<br />
* ID 140000 - 140999: Altairis<br />
* ID 150000 - 150999: Jeffinfo <br />
* ID 160000 - 160999: Charles-François BENKE ( patas-monkey.com)<br />
* ID 190000 - 190999: Diciannove (http://19.coop)<br />
* ID 199000 - 199999: RFMS<br />
* ID 200000 - 200999: Noxiome<br />
* ID 205000 - 205999: Kreiz IT<br />
* ID 300000 - 300999: AtooNet (http://www.atoo-net.com)<br />
* ID 400000 - 400999: 2byte.es (http://www.2byte.es)<br />
* ID 401000 - 401999: B&D Informática<br />
* ID 402000 - 402999: Marcos García de La Fuente (marcosgdf)<br />
<br />
= ID > 500000 =<br />
{{Flag en}} If you don't already have reserved ids and need some, please don't use a round number and use a number higher than 500000. If you have a wiki account, you can reserve your own range by editing the 100000 - 499999 range (1000 ids maximum per partner).<br />
<br />
{{Flag fr}} Si vous n'avez pas de numéros réservés et en avez besoin, n'utilisez pas de chiffres rond et utilisez une valeur supérieure à 500000. Si vous avez un compte wiki, vous pouvez réserver vous-même votre plage en ajoutant votre entrée dans la zone 100000 - 499999 (pas plus de 1000 numéros par partenaire).<br />
<br />
{{Flag sp}} Si no dispone de número reservado y necesita, no use cifras redondeadas y usa un valor superior a 500000. Si tiene una cuenta wiki, puede reservarse usted mismo sus id añadiendo su entrada en la zona 100000 - 499999 (no más de 1000 id por partner).</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32388
Template:TemplateListOfTriggers
2014-06-16T08:01:38Z
<p>Marcosgdf: Mistake</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_LOGOUT<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_UPDATE<br />
|fournisseur.product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_CREATE<br />
|fournisseur.product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC ''(>= 3.5.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE ''(>= 3.4.0)''<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|PAYMENT_SALARY_CREATE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_MODIFY ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_DELETE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|OPENSURVEY_CREATE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|OPENSURVEY_DELETE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32387
Template:TemplateListOfTriggers
2014-06-15T23:42:10Z
<p>Marcosgdf: Added OPENSURVEY_CREATE and OPENSURVEY_DELETE triggers</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_LOGOUT<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_UPDATE<br />
|fournisseur.product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_CREATE<br />
|fournisseur.product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_RESOURCE<br />
|propal.class.php ''(>= 3.6.0)''<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC ''(>= 3.5.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php ''(>= 3.4.0)''<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|PAYMENT_SALARY_CREATE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_MODIFY ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_DELETE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|OPENSURVEY_CREATE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|OPENSURVEY_DELETE ''(>= 3.6.0)''<br />
|opensurveysondage.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32386
Template:TemplateListOfTriggers
2014-06-15T23:40:24Z
<p>Marcosgdf: Added SUPPLIER_PRODUCT_BUYPRICE_UPDATE and SUPPLIER_PRODUCT_BUYPRICE_CREATE trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_LOGOUT<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_UPDATE<br />
|fournisseur.product.class.php<br />
|-<br />
|SUPPLIER_PRODUCT_BUYPRICE_CREATE<br />
|fournisseur.product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_RESOURCE<br />
|propal.class.php ''(>= 3.6.0)''<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC ''(>= 3.5.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php ''(>= 3.4.0)''<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|PAYMENT_SALARY_CREATE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_MODIFY ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_DELETE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32385
Template:TemplateListOfTriggers
2014-06-15T23:37:52Z
<p>Marcosgdf: Added DELETE_RESOURCE triggers</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_LOGOUT<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_RESOURCE<br />
|propal.class.php ''(>= 3.6.0)''<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC ''(>= 3.5.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php ''(>= 3.4.0)''<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|PAYMENT_SALARY_CREATE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_MODIFY ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|PAYMENT_SALARY_DELETE ''(>= 3.6.0)''<br />
|paymentsalary.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_RESOURCE ''(>= 3.6.0)''<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32384
Template:TemplateListOfTriggers
2014-06-15T23:25:51Z
<p>Marcosgdf: Added USER_LOGOUT trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_LOGOUT<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC ''(>= 3.5.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php ''(>= 3.4.0)''<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32383
Template:TemplateListOfTriggers
2014-06-15T23:24:52Z
<p>Marcosgdf: Added BILL_SUPPLIER_SENTBYMAIL trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC ''(>= 3.5.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php ''(>= 3.4.0)''<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_SENTBYMAIL<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32382
Template:TemplateListOfTriggers
2014-06-15T23:24:00Z
<p>Marcosgdf: Added ORDER_SUPPLIER_DISPATCH trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DISPATCH ''(>= 3.4.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC ''(>= 3.5.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php ''(>= 3.4.0)''<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32381
Template:TemplateListOfTriggers
2014-06-15T23:22:28Z
<p>Marcosgdf: Cosmetic changes</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL ''(>= 3.5.0)''<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE ''(>= 3.5.0)''<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN ''(>= 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC ''(>= 3.5.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php ''(>= 3.4.0)''<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE ''(>= 3.5.0)''<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK ''(>= 3.5.0)''<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|LINK_DELETE ''(>= 3.5.0)''<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32380
Template:TemplateListOfTriggers
2014-06-15T23:21:19Z
<p>Marcosgdf: Added LINEORDER_DISPATCH trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL (>= 3.5.0)<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE (>= 3.5.0)<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DISPATCH ''(>= 3.4.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN (>= 3.5.0)<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC (>= 3.5.0)<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php (>= 3.4.0)<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE (>= 3.5.0)<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE (>= 3.5.0)<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE (>= 3.5.0)<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|LINK_DELETE (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32379
Template:TemplateListOfTriggers
2014-06-15T23:20:00Z
<p>Marcosgdf: Added LINEFICHINTER triggers</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL (>= 3.5.0)<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE (>= 3.5.0)<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN (>= 3.5.0)<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC (>= 3.5.0)<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php (>= 3.4.0)<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_CREATE (>= 3.5.0)<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_UPDATE (>= 3.5.0)<br />
|fichinter.class.php<br />
|-<br />
|LINEFICHINTER_DELETE (>= 3.5.0)<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|LINK_DELETE (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32378
Template:TemplateListOfTriggers
2014-06-15T23:17:35Z
<p>Marcosgdf: Added CONTRACT_BUILDDOC trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL (>= 3.5.0)<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE (>= 3.5.0)<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN (>= 3.5.0)<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_BUILDDOC (>= 3.5.0)<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php (>= 3.4.0)<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|LINK_DELETE (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32377
Template:TemplateListOfTriggers
2014-06-15T23:16:31Z
<p>Marcosgdf: Added LINK_CREATE, LINK_MODIFY and LINK_DELETE triggers</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL (>= 3.5.0)<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE (>= 3.5.0)<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN (>= 3.5.0)<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php (>= 3.4.0)<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|-<br />
|LINK_CREATE (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|LINK_MODIFY (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|LINK_DELETE (>= 3.5.0)<br />
|link.class.php<br />
|-<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32376
Template:TemplateListOfTriggers
2014-06-15T23:15:04Z
<p>Marcosgdf: Added COMPANY_SENTBYMAIL trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|COMPANY_SENTBYMAIL (>= 3.5.0)<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE (>= 3.5.0)<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN (>= 3.5.0)<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php (>= 3.4.0)<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32375
Template:TemplateListOfTriggers
2014-06-15T23:13:25Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|CONTACT_ENABLEDISABLE (>= 3.5.0)<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN (>= 3.5.0)<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php (>= 3.4.0)<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32374
Template:TemplateListOfTriggers
2014-06-15T23:12:18Z
<p>Marcosgdf: Added BILL_UNVALIDATE trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN (>= 3.5.0)<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_UNVALIDATE<br />
|facture.class.php (>= 3.4.0)<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32373
Template:TemplateListOfTriggers
2014-06-15T23:10:00Z
<p>Marcosgdf: Added PROPAL_REOPEN trigger</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_REOPEN (>= 3.5.0)<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32372
Template:TemplateListOfTriggers
2014-06-15T23:08:28Z
<p>Marcosgdf: Added CATEGORY_LINK and CATEGORY_UNLINK triggers to the list</p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|CATEGORY_LINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|CATEGORY_UNLINK (>= 3.5.0)<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32364
Template:TemplateListOfTriggers
2014-06-12T06:11:43Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE ''(>= 3.4.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32363
Template:TemplateListOfTriggers
2014-06-12T06:07:48Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_DELETE<br />
|fournisseur.facture.class.php ''(>= 3.4.0)''<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32362
Template:TemplateListOfTriggers
2014-06-12T05:40:59Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32361
Template:TemplateListOfTriggers
2014-06-12T05:39:50Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32360
Template:TemplateListOfTriggers
2014-06-12T05:36:46Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CANCEL<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_UPDATE ''(CONTRACT_LINE_MODIFY < 3.5.0) (CONTRACT_LINE_MODIFY > 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|LINECONTRACT_DELETE ''(CONTRACT_LINE_DELETE < 3.5.0) (CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32359
Template:TemplateListOfTriggers
2014-06-12T05:34:22Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CANCEL<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_MODIFY ''(> 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_DELETE ''(CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32358
Template:TemplateListOfTriggers
2014-06-12T05:21:07Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CANCEL<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_MODIFY ''(> 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_DELETE ''(CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32357
Template:TemplateListOfTriggers
2014-06-12T04:45:52Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_DISABLE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CANCEL<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_MODIFY ''(> 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_DELETE ''(CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32356
Template:TemplateListOfTriggers
2014-06-12T04:44:34Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_DISABLE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_UPDATE ''(PROPAL_MODIFY < 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CANCEL<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_MODIFY ''(> 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_DELETE ''(CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32355
Template:TemplateListOfTriggers
2014-06-12T04:44:18Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_DISABLE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_MODIFY ''(PROPAL_MODIFY < 3.5.0)''<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CANCEL<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_MODIFY ''(> 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_DELETE ''(CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32354
Template:TemplateListOfTriggers
2014-06-12T04:42:04Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_DISABLE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>= 3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_MODIFY<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CANCEL<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_MODIFY ''(> 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_DELETE ''(CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateListOfTriggers&diff=32353
Template:TemplateListOfTriggers
2014-06-12T04:41:43Z
<p>Marcosgdf: </p>
<hr />
<div>{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"<br />
|style="background-color: #e9e9ef"| <b>Trigger code ($action)</b><br />
|style="background-color: #e9e9ef"| <b>Type object ($object)</b><br />
|-<br />
|USER_CREATE<br />
|user.class.php<br />
|-<br />
|USER_CREATE_FROM_CONTACT<br />
|user.class.php<br />
|-<br />
|USER_MODIFY<br />
|user.class.php<br />
|-<br />
|USER_DELETE<br />
|user.class.php<br />
|-<br />
|USER_DISABLE<br />
|user.class.php<br />
|-<br />
|USER_LOGIN<br />
|user.class.php<br />
|-<br />
|USER_LOGIN_FAILED<br />
|user.class.php<br />
|-<br />
|USER_UPDATE_SESSION<br />
|user.class.php<br />
|-<br />
|USER_ENABLEDISABLE<br />
|user.class.php<br />
|-<br />
|USER_NEW_PASSWORD<br />
|user.class.php<br />
|-<br />
|USER_SETINGROUP<br />
|user.class.php<br />
|-<br />
|USER_REMOVEFROMGROUP<br />
|user.class.php<br />
|-<br />
|GROUP_CREATE<br />
|usergroup.class.php<br />
|-<br />
|GROUP_MODIFY<br />
|usergroup.class.php<br />
|-<br />
|GROUP_DELETE ''(>= 3.3.0)''<br />
|usergroup.class.php<br />
|-<br />
|COMPANY_CREATE<br />
|societe.class.php<br />
|-<br />
|COMPANY_MODIFY<br />
|societe.class.php<br />
|-<br />
|COMPANY_DELETE<br />
|societe.class.php<br />
|-<br />
|COMPANY_BUILDDOC<br />
|societe.class.php<br />
|-<br />
|CONTACT_CREATE<br />
|contact.class.php<br />
|-<br />
|CONTACT_MODIFY<br />
|contact.class.php<br />
|-<br />
|CONTACT_DELETE<br />
|contact.class.php<br />
|-<br />
|PRODUCT_CREATE<br />
|product.class.php<br />
|-<br />
|PRODUCT_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_PRICE_MODIFY<br />
|product.class.php<br />
|-<br />
|PRODUCT_DELETE<br />
|product.class.php<br />
|-<br />
|ORDER_CREATE<br />
|commande.class.php<br />
|-<br />
|ORDER_VALIDATE<br />
|commande.class.php<br />
|-<br />
|ORDER_SENTBYMAIL<br />
|commande.class.php<br />
|-<br />
|ORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLASSIFY_BILLED<br />
|commande.class.php<br />
|-<br />
|ORDER_CLONE<br />
|commande.class.php<br />
|-<br />
|ORDER_CLOSE<br />
|commande.class.php<br />
|-<br />
|ORDER_CANCEL<br />
|commande.class.php<br />
|-<br />
|ORDER_REOPEN ''(>= 3.3.0)''<br />
|commande.class.php<br />
|-<br />
|ORDER_BUILDDOC<br />
|commande.class.php<br />
|-<br />
|COMMANDE_ADD_CONTACT<br />
|commande.class.php<br />
|-<br />
|COMMANDE_DELETE_CONTACT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_INSERT<br />
|commande.class.php<br />
|-<br />
|LINEORDER_UPDATE<br />
|commande.class.php<br />
|-<br />
|LINEORDER_DELETE<br />
|commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CLONE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_VALIDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_SENTBYMAIL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_APPROVE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_REFUSE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_CANCEL<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_ADD_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.commande.class.php<br />
|-<br />
|ORDER_SUPPLIER_BUILDDOC ''(SUPPLIER_ORDER_BUILDDOC < 3.3.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_CREATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_UPDATE<br />
|fournisseur.commande.class.php<br />
|-<br />
|LINEORDER_SUPPLIER_DELETE ''(>3.6.0)''<br />
|fournisseur.commande.class.php<br />
|-<br />
|PROPAL_CREATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_MODIFY<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLONE<br />
|propal.class.php<br />
|-<br />
|PROPAL_VALIDATE<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_SIGNED<br />
|propal.class.php<br />
|-<br />
|PROPAL_CLOSE_REFUSED<br />
|propal.class.php<br />
|-<br />
|PROPAL_SENTBYMAIL<br />
|propal.class.php<br />
|-<br />
|PROPAL_ADD_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_DELETE_CONTACT<br />
|propal.class.php<br />
|-<br />
|PROPAL_BUILDDOC<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_INSERT<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_UPDATE<br />
|propal.class.php<br />
|-<br />
|LINEPROPAL_DELETE<br />
|propal.class.php<br />
|-<br />
|CONTRACT_CREATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_VALIDATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_ACTIVATE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_SERVICE_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CANCEL<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_CLOSE<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_DELETE<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_ADD_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRAT_DELETE_CONTACT<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_MODIFY ''(> 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|CONTRACT_LINE_DELETE ''(CONTRACTLINE_DELETE < 3.3.0)''<br />
|contrat.class.php<br />
|-<br />
|BILL_CREATE<br />
|facture.class.php<br />
|-<br />
|BILL_MODIFY<br />
|facture.class.php<br />
|-<br />
|BILL_CLONE<br />
|facture.class.php<br />
|-<br />
|BILL_VALIDATE<br />
|facture.class.php<br />
|-<br />
|BILL_PAYED<br />
|facture.class.php<br />
|-<br />
|BILL_UNPAYED<br />
|facture.class.php<br />
|-<br />
|BILL_CANCEL<br />
|facture.class.php<br />
|-<br />
|BILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SENTBYMAIL<br />
|facture.class.php<br />
|-<br />
|BILL_BUILDDOC<br />
|facture.class.php<br />
|-<br />
|FACTURE_ADD_CONTACT<br />
|facture.class.php<br />
|-<br />
|FACTURE_DELETE_CONTACT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_INSERT<br />
|facture.class.php<br />
|-<br />
|LINEBILL_UPDATE<br />
|facture.class.php<br />
|-<br />
|LINEBILL_DELETE<br />
|facture.class.php<br />
|-<br />
|BILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_MODIFY<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_DELETE ''(INVOICE_SUPPLIER_DELETE < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_VALIDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_PAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_UNPAYED<br />
|fournisseur.facture.class.php<br />
|-<br />
|BILL_SUPPLIER_BUILDDOC ''(SUPPLIER_INVOICE_BUILDDOC < 3.3.0)''<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_ADD_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|INVOICE_SUPPLIER_DELETE_CONTACT<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_CREATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|LINEBILL_SUPPLIER_UPDATE<br />
|fournisseur.facture.class.php<br />
|-<br />
|PAYMENT_CUSTOMER_CREATE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_DELETE<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_ADD_TO_BANK<br />
|paiement.class.php<br />
|-<br />
|PAYMENT_SUPPLIER_CREATE<br />
|paiementfourn.class.php<br />
|-<br />
|FICHINTER_CREATE ''(FICHEINTER_CREATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_MODIFY ''(FICHEINTER_MODIFY < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE ''(FICHEINTER_DELETE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_VALIDATE ''(FICHEINTER_VALIDATE < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_SENTBYMAIL ''(FICHEINTER_SENTBYMAIL < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_BUILDDOC ''(FICHEINTER_BUILDDOC < 3.3.0)''<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_ADD_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|FICHINTER_DELETE_CONTACT<br />
|fichinter.class.php<br />
|-<br />
|MEMBER_CREATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_VALIDATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_SUBSCRIPTION<br />
|adherent.class.php<br />
|-<br />
|MEMBER_MODIFY<br />
|adherent.class.php<br />
|-<br />
|MEMBER_RESILIATE<br />
|adherent.class.php<br />
|-<br />
|MEMBER_NEW_PASSWORD<br />
|adherent.class.php<br />
|-<br />
|MEMBER_DELETE<br />
|adherent.class.php<br />
|-<br />
|CATEGORY_CREATE<br />
|category.class.php<br />
|-<br />
|CATEGORY_MODIFY<br />
|category.class.php<br />
|-<br />
|CATEGORY_DELETE<br />
|category.class.php<br />
|-<br />
|SHIPPING_CREATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_VALIDATE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_MODIFY<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_DELETE<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_SENTBYMAIL<br />
|expedition.class.php<br />
|-<br />
|SHIPPING_BUILDDOC<br />
|expedition.class.php<br />
|-<br />
|DELIVERY_VALIDATE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_DELETE<br />
|livraison.class.php<br />
|-<br />
|DELIVERY_BUILDDOC<br />
|livraison.class.php<br />
|-<br />
|ACTION_CREATE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_MODIFY<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_ADD_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|ACTION_DELETE_CONTACT<br />
|actioncomm.class.php<br />
|-<br />
|DEPLACEMENT_CREATE<br />
|deplacement.class.php<br />
|-<br />
|DON_CREATE<br />
|don.class.php<br />
|-<br />
|LOCALTAX_CREATE<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_MODIFY<br />
|localtax.class.php<br />
|-<br />
|LOCALTAX_DELETE<br />
|localtax.class.php<br />
|-<br />
|TVA_CREATE<br />
|tva.class.php<br />
|-<br />
|TVA_MODIFY<br />
|tva.class.php<br />
|-<br />
|TVA_DELETE<br />
|tva.class.php<br />
|-<br />
|TVA_ADDPAYMENT<br />
|tva.class.php<br />
|-<br />
|PROJECT_CREATE<br />
|project.class.php<br />
|-<br />
|PROJECT_MODIFY<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE<br />
|project.class.php<br />
|-<br />
|PROJECT_VALIDATE<br />
|project.class.php<br />
|-<br />
|PROJECT_CLOSE<br />
|project.class.php<br />
|-<br />
|PROJECT_ADD_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_DELETE_CONTACT<br />
|project.class.php<br />
|-<br />
|PROJECT_BUILDDOC<br />
|project.class.php<br />
|-<br />
|TASK_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_DELETE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_CREATE<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_MODIFY<br />
|task.class.php<br />
|-<br />
|TASK_TIMESPENT_DELETE<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_ADD_CONTACT<br />
|task.class.php<br />
|-<br />
|PROJECT_TASK_DELETE_CONTACT<br />
|task.class.php<br />
|-<br />
|MYECMDIR_CREATE<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_MODIFY<br />
|ecmdirectory.class.php<br />
|-<br />
|MYECMDIR_DELETE<br />
|ecmdirectory.class.php<br />
|-<br />
|IMPORT_DELETE<br />
|import.class.php<br />
|-<br />
|STOCK_MOVEMENT<br />
|mouvementstock.class.php<br />
|-<br />
|PAYPAL_PAYMENT_OK<br />
|<br />
|}</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Setup_Other&diff=31981
Setup Other
2014-04-30T09:47:12Z
<p>Marcosgdf: /* Proposals module */</p>
<hr />
<div>[[Category:Admin]]<br />
{{TemplateDocUser}}<br />
<br />
'''Help about screen:''' Other setup<br />
<br />
'''Menu path:''' Home -> Setup -> Other<br />
<br />
= Goal =<br />
This page is built to add/edit new parameters without a dedicated page to edit them. In most cases, it is parameters for your own development, external modules, or hidden features.<br />
<br />
For a standard usage of Dolibarr, this screen must be kept empty and not be used.<br />
<br />
= List of known hidden options =<br />
Some options are not visible in the interface (often because they are deprecated or beta features). In most cases you do not need these functions and their use may make the application unstable.<br />
<br />
To enable them you have to define a constant to 1 in '''Home -> Setup -> Other setup''': <br />
<br />
== Global options ==<br />
* MAIN_APPLICATION_TITLE => This will change the title of software (that appears on the login page by default). Warning, changing this may make Dolibarr version detection fails by smartphone applications like [[Application Android - DoliDroid]]<br />
<br />
* MAIN_AUTOFILL_DATE => If this constant is defined (to something else than 0), the date of invoice, proposal, order or payment are filled with current date. It is highly recommended to NOT ENABLE this feature. This create a lot of input errors with no data not validated by users. This lead in bad values saved in database giving headaches when you have to do your accountancy reports ! However some users want it, so we provide it.<br />
<br />
* MAIN_DISABLE_FULL_SCANLIST => Constant to define to disable complete scan of tables to know the total amount of element to allow the pagination to show total number of pages. To activate on systems with a very important number of data (Tables with more than 500 000 records).<br />
<br />
* MAIN_FIRST_TO_UPPER => Dolibarr add upper case to thirdparties, contacts or members names if not done. Warning, with some languages (whose words with uppercase are not same words, or pagecode does not always have an uppercase, like cyrillic languages), this feature may alter your data.<br />
<br />
* MAIN_LOGTOHTML => If this constants is defined, it is possible to have logs inside pages by adding the parameter &logtohtml=1 into URL.<br />
<br />
* MAIN_USE_HOURMIN_IN_DATE_RANGE => On all entities lines (invoice, order, contract...), it is possible to add hour and minutes with date on fields "date start" and "date end".<br />
<br />
* MAIN_REMOVE_INSTALL_WARNING => Remove all security warning that appears to administrator users if URL /install is public. You shoud solve the problem if warning occurs instead of removing this warning. For this, put a file called install.lock into Dolibarr root directory. This will remove warning but also make the page /install not possible to use to protect your installation.<br />
<br />
* MAIN_OPTIMIZE_SPEED => Use some speed enhancements. See page [[Increase_Performance]] for more information.<br />
<br />
* MAIN_OVERWRITE_TRANS_xx_YY => You can use this to change value of a translation key for language xx_YY (ie: en_US) without editing language files. For example: "TranslationKey1:New value1,TranslationKey2:New value 2". Note that using this option slow down seriously your instance. If you can, it is better to edit directly the language files into htdocs/lang/xx_YY.<br />
<br />
* MAIN_REPEATCONTACTONEACHTAB => If added and set to 1, this add contacts on all tabs, not only main tab.<br />
<br />
* MAIN_USE_ADVANCED_PERMS => Active advanced permissions functionality. You will get more details permission but you loose the homogeneity of permission rules.<br />
<br />
* MAIN_DISABLE_JQUERY_JNOTIFY => Disable usage of JNotify to show confirm or error messages<br />
<br />
* MAIN_USE_JQUERY_JEDITABLE => Allow to update from screnn, directly into database, some properties of elements (invoices, proposals, ...) using Ajax. This make response time faster, but avoid using this features, because, it overpass some business actions (updates onother data that should be done consitently) and ignore business controls on data you saved. So this feature breaks consitency of data and stability of software.<br />
<br />
* MAIN_USE_JQUERY_MULTISELECT => Allow to use Ajax when a choice that require multiselect is used (for the moment only external modules uses select box with multiselect values).<br />
<br />
* MAIN_HELPCENTER_LINKTOUSE => Define a target link "I need help" onto logon page<br />
<br />
* MAIN_MODULES_FOR_EXTERNAL => Limit available modules for external users. By defaut value is 'facture,commande,contact,propal,projet,contrat,societe,ficheinter,expedition,agenda'<br />
<br />
* MAIN_PRODUCT_DISABLE_CUSTOMCOUNTRYCODE => Avoid Custom code and country of origin to be set as product description when added to Propal/Order/Invoice<br />
<br />
* MAIN_SHOW_TUNING_INFO => Add tuning information into javascript console. Better when xdebug is enabled.<br />
<br />
* MAIN_DOL_SCRIPTS_ROOT => Define directory who contains 'scripts' directory (e.g /var/www/dolibarr)<br />
<br />
* MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING => A warning saying setup of modules is not complete is shown if number of enabled modules is lower or equal than this value (1 if not defined)<br />
<br />
* MAIN_ADD_SALE_REP_SIGNATURE_IN_NOTE => Add signature of first sale representative into documents (at end of public notes).<br />
<br />
* MAIN_DISABLE_AJAX_COMBOX => If you have a large amount of thirdparty or product, you can disable the autocomplete feature on thirdparties list by setting constant MAIN_DISABLE_AJAX_COMBOX to 1 into Home-Setup-Other (with Dolibarr v3.6.0+).<br />
<br />
* MAIN_USE_PREVIEW_TABS => Add a tabs for a preview of document. Like all other hidden features, this is not stable. Also this require to have the php module "Imagick".<br />
<br />
== Email and SMS ==<br />
* MAIN_MAIL_DEBUG => Write content with header of last mail into file dolibarr_mail.log into directory dolibarr_main_data_root.<br />
<br />
* MAIN_SMS_DEBUG => Write content of SMS sent into file dolibarr_sms.log into directory dolibarr_main_data_root.<br />
<br />
* MAIN_MAIL_ALLOW_SENDMAIL_F => On Linux or BSD system, PHP email function use the command sendmail local to server. In some cases, the sender email must be provided on command line of sendmail with option -f. This option is here to ask Dolibarr to call the function '''mail''' of PHP by adding value for the option -f. Note that in most cases, even with sendmail, sender email is correctly managed as it is added in the email technical header. This option is here only for rare setup of sendmail that ask the '''-f''' option to be mandatory.<br />
<br />
* MAIN_MAIL_SENDMAIL_FORCE_BA => On Lunix or BSD system, PHP email function use the command sendmail local to server. In some case, we want to recipient to be provided to sendmail into the email content instead of its command line parameter. For this we must add the '''-ba''' parameter to sendmail. This option ask PHP to provide this parameter when sending a mail. Note that another solution is to edit the '''mail.force_extra_parameters=-ba''' into '''php.ini''' file.<br />
<br />
* MAIN_MAIL_NO_FULL_EMAIL => Recipient email and sender are cleaned to be on form "<email>" instead of "Name <email>". This might solve problem of compatibility with very old mailers.<br />
<br />
* MAIN_FIX_FOR_BUGGED_MTA => Some MTA agent are bugged and add some CR chars each time they saw a LF. Because Dolibarr emails are forged to be already cleaned, if MTA agent do that, you will send an email with two CR chars. This may result in having recipient not able to read your email. To fix this, add this constant to 1. Dolibarr will then create an email that is not RFC compliant but because the MTA agent is bugged, the email be be modified and become correct during sending, solving any problem. Add this constant if your recipient experience problems when opening email for example users using webmail of orange.fr or hotmail.com<br />
<br />
* MAIN_MAIL_DO_NOT_USE_SIGN => Do not add user signature at end of suggested predefined email<br />
<br />
== Third parties module ==<br />
* SOCIETE_DISABLE_CUSTOMERS => Remove all menu and features related to customers<br />
* SOCIETE_DISABLE_PROSPECTS => Remove all menu and features related to prospects<br />
* SOCIETE_DISABLE_STATE => Do not use field "state/province"<br />
* MAIN_THIRPARTY_CREATION_INDIVIDUAL => Default Thirparty create are individual<br />
<br />
== Proposals module ==<br />
* PROPAL_CLONE_ON_CREATE_PAGE => On the create proposal page, ask if we want to create the proposal by cloning an already existing one. You should use instead the "Clone" button available on existing proposals.<br />
* MAIN_PROPAL_CHOOSE_ODT_DOCUMENT => On setup page, you'll be able to select which ODT document to use when close or cancel proposals.<br />
* <s>MAIN_GENERATE_DOCUMENTS_WITH_PICTURE</s> MAIN_GENERATE_PROPOSALS_WITH_PICTURE => Add picture of product (the first one found if there is several) into the generated PDF of proposals. Note that using this reduce available width for product description.<br />
<br />
== Invoice module ==<br />
* FACTURE_SHOW_SEND_REMINDER => Show link "Send reminder by mail", same feature than "Send by mail" (obsolete feature).<br />
* INVOICE_CAN_ALWAYS_BE_REMOVED => Allow to always delete invoices (even if invoice is not last one).<br />
* INVOICE_CAN_NEVER_BE_REMOVED => Never allow to delete invoices (except draft invoices).<br />
* INVOICE_POSITIVE_CREDIT_NOTE => All amounts on PDF credit notes are positive.<br />
* FACTURE_CHANGE_THIRDPARTY => Allow to change the third party in the draft invoices. If a discount was set from the original thirdparty, then discount remain, making data not coherent.<br />
* FACTURE_USE_PROFORMAT => Enable PROFORMAT invoices type.<br />
* FACTURE_DEPOSITS_ARE_JUST_PAYMENTS => Treats deposit invoices as a special case. Deposit invoices don't get counted on turnover. They are then applied as a payment, like a discount, on the final invoice.<br />
* FACTURE_SENDBYEMAIL_FOR_ALL_STATUS => Can send invoice by email to customer even if invoice has status "draft".<br />
* MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT => Disable VAT on genrated documents. like for an association. (it's work with crabe template)<br />
<br />
== Order module ==<br />
* COMMANDE_REQUIRE_SOURCE => Make the input field "Source of order" mandatory.<br />
* COMMANDE_VALID_AFTER_CLOSE_PROPAL => When an order is created on a proposal close, the order is directly defined with status "Validated".<br />
<br />
== Export module ==<br />
* EXPORT_CSV_SEPARATOR_TO_USE => String value to use as separator to delimit fields int exported files (by default Dolibarr use ","). Example: EXPORT_CSV_SEPARATOR_TO_USE=;<br />
* EXPORT_CSV_FORCE_CHARSET => Choose the charset of file built by CSV export. By default: UTF-8. Example: EXPORT_CSV_FORCE_CHARSET=ISO-8859-1<br />
<br />
== Agenda module ==<br />
* AGENDA_MAX_EVENTS_DAY_VIEW => Define the maximum number of visible entries for each day in agenda. Default value is 3. Value 0 means no limit.<br />
* AGENDA_USE_EVENT_TYPE => Add a mandatory field "Type" when creating an event (deprecated).<br />
<br />
== Products module ==<br />
* PRODUCT_ADD_TYPE_IN_DOCUMENTS => Add text "Product" or "Service" at beginning of details lines on built PDF documents.<br />
* PRODUCT_SHOW_WHEN_CREATE => Old option no more supported (create problems) to be able to add lines of product during first step of element creation.<br />
* PRODUCT_DONOTSEARCH_ANYWHERE => When Ajax search is enabled, search is done on criteria anywhere in label of product. By adding this option, search is done only on start of label. This is really faster when you have a huge number of products.<br />
* PRODUIT_DESC_IN_LIST => Show long description of product/service into lists.<br />
* PRODUIT_CUSTOMER_PRICES_BY_QTY => Enable to set different customer prices according to quantity. Not that we recommend instead to use different product reference than using this. How PRODUIT_CUSTOMER_PRICES and PRODUIT_CUSTOMER_PRICES_BY_QTY works together ?<br />
* PRODUIT_CUSTOMER_PRICES => Enable to set different customer prices according to customer. How PRODUIT_CUSTOMER_PRICES and PRODUIT_CUSTOMER_PRICES_BY_QTY works together ?<br />
<br />
== Services module ==<br />
* SERVICE_ARE_ECOMMERCE_200238EC => If this option is enabled, services are processed like eServices according to directove of EU Council Directive 2002/38/EC (http://ec.europa.eu/taxation_customs/taxation/vat/traders/e-commerce/article_1610_en.htm). Default VAT rate are based on buying country instead of selling country for BtoC sells.<br />
<br />
== Projects module ==<br />
* PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS => Enable linking a project to any supplier even when using the third party link feature.<br />
<br />
== Foundation module ==<br />
* MEMBER_URL_REDIRECT_SUBSCRIPTION => Link called and shown when a member account is autocreated in member module by a guest user.<br />
<br />
== Interventions module ==<br />
* FICHEINTER_CLASSIFY_BILLED => Allow to classify a intervention card as "Billed"<br />
<br />
== Suppliers module ==<br />
* FOURN_PRODUCT_AVAILABILITY => On the Suppliers price page of the products, active the supplier product availability.<br />
<br />
== PDF options ==<br />
* MAIN_DISABLE_FORCE_SAVEAS => If your browser ask always to save downloaded files on disk (like PDF), try to add this option. File might appears directly into your browser.<br />
<br />
* MAIN_DISABLE_PDF_COMPRESSION => Disable PDF compression.<br />
<br />
* MAIN_INVERT_SENDER_RECIPIENT => Invert sender and recipient in some PDF.<br />
<br />
* MAIN_DISABLE_PDF_AUTOUPDATE => Disable automatic generation of PDF each time we add/update/delete a product line (we can still build document by clicking on "Generate"). This option may increase interface speed on server with low CPU.<br />
<br />
* MAIN_USE_BACKGROUND_ON_PDF => Define this constant with short name of an image (example "myimage.jpg") that must be saved into directory "documents/mycompany/logos". This will add this background image into your generated PDF files.<br />
<br />
* MAIN_ADD_PDF_BACKGROUND => Define this constant with short name of a PDF file (example "mypdf.pdf") that must be saved into directory "documents/mycompany". This will add PDF as a background of some of your generated PDF files (proposals,invoices,orders). If you need to concat PDF, see instead [[Module Concat PDF]].<br />
<br />
* MAIN_PDF_FORCE_FONT => To ignore font defined into language file and force usage of a particular font. For example "DejaVuSans".<br />
<br />
* MAIN_PDF_MARGIN_LEFT, MAIN_PDF_MARGIN_RIGHT, MAIN_PDF_MARGIN_TOP, MAIN_PDF_MARGIN_BOTTOM => To force the margins (mm) of PDF documents (10 is default).<br />
<br />
* MAIN_PDF_FREETEXT_HEIGHT => Change height of space reserved to output the free text.<br />
<br />
* MAIN_PDF_TITLE_BACKGROUND_COLOR => Can define a background color onto title line. Example: '220,220,200'<br />
<br />
* MAIN_USE_COMPANY_NAME_OF_CONTACT => Use contact name and information rather than company<br />
<br />
* MAIN_ODT_AS_PDF => Activate PDF conversion from ODT document (libreoffice and jodconverter installation required)<br />
<br />
* MAIN_ODT_AS_PDF_DEL_SOURCE => For ODT generation. If set then initial behaviour is conserved, odt file is removed when generate pdf. Disabled by default</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Setup_Other&diff=31964
Setup Other
2014-04-29T12:21:44Z
<p>Marcosgdf: /* Proposals module */ MAIN_GENERATE_PROPOSALS_WITH_PICTURE</p>
<hr />
<div>[[Category:Admin]]<br />
{{TemplateDocUser}}<br />
<br />
'''Help about screen:''' Other setup<br />
<br />
'''Menu path:''' Home -> Setup -> Other<br />
<br />
= Goal =<br />
This page is built to add/edit new parameters without a dedicated page to edit them. In most cases, it is parameters for your own development, external modules, or hidden features.<br />
<br />
For a standard usage of Dolibarr, this screen must be kept empty and not be used.<br />
<br />
= List of known hidden options =<br />
Some options are not visible in the interface (often because they are deprecated or beta features). In most cases you do not need these functions and their use may make the application unstable.<br />
<br />
To enable them you have to define a constant to 1 in '''Home -> Setup -> Other setup''': <br />
<br />
== Global options ==<br />
* MAIN_APPLICATION_TITLE => This will change the title of software (that appears on the login page by default). Warning, changing this may make Dolibarr version detection fails by smartphone applications like [[Application Android - DoliDroid]]<br />
<br />
* MAIN_AUTOFILL_DATE => If this constant is defined (to something else than 0), the date of invoice, proposal, order or payment are filled with current date. It is highly recommended to NOT ENABLE this feature. This create a lot of input errors with no data not validated by users. This lead in bad values saved in database giving headaches when you have to do your accountancy reports ! However some users want it, so we provide it.<br />
<br />
* MAIN_DISABLE_FULL_SCANLIST => Constant to define to disable complete scan of tables to know the total amount of element to allow the pagination to show total number of pages. To activate on systems with a very important number of data (Tables with more than 500 000 records).<br />
<br />
* MAIN_FIRST_TO_UPPER => Dolibarr add upper case to thirdparties, contacts or members names if not done. Warning, with some languages (whose words with uppercase are not same words, or pagecode does not always have an uppercase, like cyrillic languages), this feature may alter your data.<br />
<br />
* MAIN_LOGTOHTML => If this constants is defined, it is possible to have logs inside pages by adding the parameter &logtohtml=1 into URL.<br />
<br />
* MAIN_USE_HOURMIN_IN_DATE_RANGE => On all entities lines (invoice, order, contract...), it is possible to add hour and minutes with date on fields "date start" and "date end".<br />
<br />
* MAIN_REMOVE_INSTALL_WARNING => Remove all security warning that appears to administrator users if URL /install is public. You shoud solve the problem if warning occurs instead of removing this warning. For this, put a file called install.lock into Dolibarr root directory. This will remove warning but also make the page /install not possible to use to protect your installation.<br />
<br />
* MAIN_OPTIMIZE_SPEED => Use some speed enhancements. See page [[Increase_Performance]] for more information.<br />
<br />
* MAIN_OVERWRITE_TRANS_xx_YY => You can use this to change value of a translation key for language xx_YY (ie: en_US) without editing language files. For example: "TranslationKey1:New value1,TranslationKey2:New value 2". Note that using this option slow down seriously your instance. If you can, it is better to edit directly the language files into htdocs/lang/xx_YY.<br />
<br />
* MAIN_REPEATCONTACTONEACHTAB => If added and set to 1, this add contacts on all tabs, not only main tab.<br />
<br />
* MAIN_USE_ADVANCED_PERMS => Active advanced permissions functionality. You will get more details permission but you loose the homogeneity of permission rules.<br />
<br />
* MAIN_DISABLE_JQUERY_JNOTIFY => Disable usage of JNotify to show confirm or error messages<br />
<br />
* MAIN_USE_JQUERY_JEDITABLE => Allow to update from screnn, directly into database, some properties of elements (invoices, proposals, ...) using Ajax. This make response time faster, but avoid using this features, because, it overpass some business actions (updates onother data that should be done consitently) and ignore business controls on data you saved. So this feature breaks consitency of data and stability of software.<br />
<br />
* MAIN_USE_JQUERY_MULTISELECT => Allow to use Ajax when a choice that require multiselect is used (for the moment only external modules uses select box with multiselect values).<br />
<br />
* MAIN_HELPCENTER_LINKTOUSE => Define a target link "I need help" onto logon page<br />
<br />
* MAIN_MODULES_FOR_EXTERNAL => Limit available modules for external users. By defaut value is 'facture,commande,contact,propal,projet,contrat,societe,ficheinter,expedition,agenda'<br />
<br />
* MAIN_PRODUCT_DISABLE_CUSTOMCOUNTRYCODE => Avoid Custom code and country of origin to be set as product description when added to Propal/Order/Invoice<br />
<br />
* MAIN_SHOW_TUNING_INFO => Add tuning information into javascript console. Better when xdebug is enabled.<br />
<br />
* MAIN_DOL_SCRIPTS_ROOT => Define directory who contains 'scripts' directory (e.g /var/www/dolibarr)<br />
<br />
* MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING => A warning saying setup of modules is not complete is shown if number of enabled modules is lower or equal than this value (1 if not defined)<br />
<br />
* MAIN_ADD_SALE_REP_SIGNATURE_IN_NOTE => Add signature of first sale representative into documents (at end of public notes).<br />
<br />
* MAIN_DISABLE_AJAX_COMBOX => If you have a large amount of thirdparty or product, you can disable the autocomplete feature on thirdparties list by setting constant MAIN_DISABLE_AJAX_COMBOX to 1 into Home-Setup-Other (with Dolibarr v3.6.0+).<br />
<br />
== Email and SMS ==<br />
* MAIN_MAIL_DEBUG => Write content with header of last mail into file dolibarr_mail.log into directory dolibarr_main_data_root.<br />
<br />
* MAIN_SMS_DEBUG => Write content of SMS sent into file dolibarr_sms.log into directory dolibarr_main_data_root.<br />
<br />
* MAIN_MAIL_ALLOW_SENDMAIL_F => On Linux or BSD system, PHP email function use the command sendmail local to server. In some cases, the sender email must be provided on command line of sendmail with option -f. This option is here to ask Dolibarr to call the function '''mail''' of PHP by adding value for the option -f. Note that in most cases, even with sendmail, sender email is correctly managed as it is added in the email technical header. This option is here only for rare setup of sendmail that ask the '''-f''' option to be mandatory.<br />
<br />
* MAIN_MAIL_SENDMAIL_FORCE_BA => On Lunix or BSD system, PHP email function use the command sendmail local to server. In some case, we want to recipient to be provided to sendmail into the email content instead of its command line parameter. For this we must add the '''-ba''' parameter to sendmail. This option ask PHP to provide this parameter when sending a mail. Note that another solution is to edit the '''mail.force_extra_parameters=-ba''' into '''php.ini''' file.<br />
<br />
* MAIN_MAIL_NO_FULL_EMAIL => Recipient email and sender are cleaned to be on form "<email>" instead of "Name <email>". This might solve problem of compatibility with very old mailers.<br />
<br />
* MAIN_FIX_FOR_BUGGED_MTA => Some MTA agent are bugged and add some CR chars each time they saw a LF. Because Dolibarr emails are forged to be already cleaned, if MTA agent do that, you will send an email with two CR chars. This may result in having recipient not able to read your email. To fix this, add this constant to 1. Dolibarr will then create an email that is not RFC compliant but because the MTA agent is bugged, the email be be modified and become correct during sending, solving any problem. Add this constant if your recipient experience problems when opening email for example users using webmail of orange.fr or hotmail.com<br />
<br />
* MAIN_MAIL_DO_NOT_USE_SIGN => Do not add user signature at end of suggested predefined email<br />
<br />
== Third parties module ==<br />
* SOCIETE_DISABLE_CUSTOMERS => Remove all menu and features related to customers<br />
* SOCIETE_DISABLE_PROSPECTS => Remove all menu and features related to prospects<br />
* SOCIETE_DISABLE_STATE => Do not use field "state/province"<br />
* MAIN_THIRPARTY_CREATION_INDIVIDUAL => Default Thirparty create are individual<br />
<br />
== Proposals module ==<br />
* PROPAL_CLONE_ON_CREATE_PAGE => On the create proposal page, ask if we want to create the proposal by cloning an already existing one. You should use instead the "Clone" button available on existing proposals.<br />
* MAIN_PROPAL_CHOOSE_ODT_DOCUMENT => On setup page, you'll be able to select which ODT document to use when close or cancel proposals.<br />
* MAIN_GENERATE_PROPOSALS_WITH_PICTURE<br />
<br />
== Invoice module ==<br />
* FACTURE_SHOW_SEND_REMINDER => Show link "Send reminder by mail", same feature than "Send by mail" (obsolete feature).<br />
* INVOICE_CAN_ALWAYS_BE_REMOVED => Allow to always delete invoices (even if invoice is not last one).<br />
* INVOICE_CAN_NEVER_BE_REMOVED => Never allow to delete invoices (except draft invoices).<br />
* INVOICE_POSITIVE_CREDIT_NOTE => All amounts on PDF credit notes are positive.<br />
* FACTURE_CHANGE_THIRDPARTY => Allow to change the third party in the draft invoices. If a discount was set from the original thirdparty, then discount remain, making data not coherent.<br />
* FACTURE_USE_PROFORMAT => Enable PROFORMAT invoices type.<br />
* FACTURE_DEPOSITS_ARE_JUST_PAYMENTS => Treats deposit invoices as a special case. Deposit invoices don't get counted on turnover. They are then applied as a payment, like a discount, on the final invoice.<br />
* FACTURE_SENDBYEMAIL_FOR_ALL_STATUS => Can send invoice by email to customer even if invoice has status "draft".<br />
* MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT => Disable VAT on genrated documents. like for an association. (it's work with crabe template)<br />
<br />
== Order module ==<br />
* COMMANDE_REQUIRE_SOURCE => Make the input field "Source of order" mandatory.<br />
* COMMANDE_VALID_AFTER_CLOSE_PROPAL => When an order is created on a proposal close, the order is directly defined with status "Validated".<br />
<br />
== Export module ==<br />
* EXPORT_CSV_SEPARATOR_TO_USE => String value to use as separator to delimit fields int exported files (by default Dolibarr use ","). Example: EXPORT_CSV_SEPARATOR_TO_USE=;<br />
* EXPORT_CSV_FORCE_CHARSET => Choose the charset of file built by CSV export. By default: UTF-8. Example: EXPORT_CSV_FORCE_CHARSET=ISO-8859-1<br />
<br />
== Agenda module ==<br />
* AGENDA_MAX_EVENTS_DAY_VIEW => Define the maximum number of visible entries for each day in agenda. Default value is 3. Value 0 means no limit.<br />
* AGENDA_USE_EVENT_TYPE => Add a mandatory field "Type" when creating an event (deprecated).<br />
<br />
== Products module ==<br />
* PRODUCT_ADD_TYPE_IN_DOCUMENTS => Add text "Product" or "Service" at beginning of details lines on built PDF documents.<br />
* PRODUCT_SHOW_WHEN_CREATE => Old option no more supported (create problems) to be able to add lines of product during first step of element creation.<br />
* PRODUCT_DONOTSEARCH_ANYWHERE => When Ajax search is enabled, search is done on criteria anywhere in label of product. By adding this option, search is done only on start of label. This is really faster when you have a huge number of products.<br />
* PRODUIT_DESC_IN_LIST => Show long description of product/service into lists.<br />
* PRODUIT_CUSTOMER_PRICES_BY_QTY => Enable to set different customer prices according to quantity. Not that we recommend instead to use different product reference than using this. How PRODUIT_CUSTOMER_PRICES and PRODUIT_CUSTOMER_PRICES_BY_QTY works together ?<br />
* PRODUIT_CUSTOMER_PRICES => Enable to set different customer prices according to customer. How PRODUIT_CUSTOMER_PRICES and PRODUIT_CUSTOMER_PRICES_BY_QTY works together ?<br />
<br />
== Services module ==<br />
* SERVICE_ARE_ECOMMERCE_200238EC => If this option is enabled, services are processed like eServices according to directove of EU Council Directive 2002/38/EC (http://ec.europa.eu/taxation_customs/taxation/vat/traders/e-commerce/article_1610_en.htm). Default VAT rate are based on buying country instead of selling country for BtoC sells.<br />
<br />
== Projects module ==<br />
* PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS => Enable linking a project to any supplier even when using the third party link feature.<br />
<br />
== Foundation module ==<br />
* MEMBER_URL_REDIRECT_SUBSCRIPTION => Link called and shown when a member account is autocreated in member module by a guest user.<br />
<br />
== Interventions module ==<br />
* FICHEINTER_CLASSIFY_BILLED => Allow to classify a intervention card as "Billed"<br />
<br />
== Suppliers module ==<br />
* FOURN_PRODUCT_AVAILABILITY => On the Suppliers price page of the products, active the supplier product availability.<br />
<br />
== PDF options ==<br />
* MAIN_DISABLE_FORCE_SAVEAS => If your browser ask always to save downloaded files on disk (like PDF), try to add this option. File might appears directly into your browser.<br />
<br />
* MAIN_DISABLE_PDF_COMPRESSION => Disable PDF compression.<br />
<br />
* MAIN_INVERT_SENDER_RECIPIENT => Invert sender and recipient in some PDF.<br />
<br />
* MAIN_DISABLE_PDF_AUTOUPDATE => Disable automatic generation of PDF each time we add/update/delete a product line (we can still build document by clicking on "Generate"). This option may increase interface speed on server with low CPU.<br />
<br />
* MAIN_USE_BACKGROUND_ON_PDF => Define this constant with short name of an image (example "myimage.jpg") that must be saved into directory "documents/mycompany/logos". This will add this background image into your generated PDF files.<br />
<br />
* MAIN_ADD_PDF_BACKGROUND => Define this constant with short name of a PDF file (example "mypdf.pdf") that must be saved into directory "documents/mycompany". This will add PDF as a background of some of your generated PDF files (proposals,invoices,orders). If you need to concat PDF, see instead [[Module Concat PDF]].<br />
<br />
* MAIN_PDF_FORCE_FONT => To ignore font defined into language file and force usage of a particular font. For example "DejaVuSans".<br />
<br />
* MAIN_PDF_MARGIN_LEFT, MAIN_PDF_MARGIN_RIGHT, MAIN_PDF_MARGIN_TOP, MAIN_PDF_MARGIN_BOTTOM => To force the margins (mm) of PDF documents (10 is default).<br />
<br />
* MAIN_PDF_FREETEXT_HEIGHT => Change height of space reserved to output the free text.<br />
<br />
* MAIN_PDF_TITLE_BACKGROUND_COLOR => Can define a background color onto title line. Example: '220,220,200'<br />
<br />
* MAIN_USE_COMPANY_NAME_OF_CONTACT => Use contact name and information rather than company<br />
<br />
* MAIN_ODT_AS_PDF => Activate PDF conversion from ODT document (libreoffice and jodconverter installation required)<br />
<br />
* MAIN_ODT_AS_PDF_DEL_SOURCE => For ODT generation. If set then initial behaviour is conserved, odt file is removed when generate pdf. Disabled by default</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Template:TemplateModuleTabs&diff=31143
Template:TemplateModuleTabs
2014-01-02T16:54:59Z
<p>Marcosgdf: Documented new tabs</p>
<hr />
<div>** 'thirdparty' to add a tab in third party view<br />
** 'intervention' to add a tab in intervention view<br />
** 'order_supplier' to add a tab in supplier order view<br />
** 'invoice_supplier' to add a tab in supplier invoice view<br />
** 'invoice' to add a tab in customer invoice view<br />
** 'order' to add a tab in customer order view<br />
** 'product' to add a tab in product view<br />
** 'stock' to add a tab in stock view<br />
** 'propal' to add a tab in propal view<br />
** 'member' to add a tab in fundation member view<br />
** 'contract' to add a tab in contract view<br />
** 'user' to add a tab in user view<br />
** 'group' to add a tab in group view<br />
** 'contact' to add a tab in contact view<br />
** 'payment' to add a tab in payments view (since 3.6.0)<br />
** 'payment_supplier' to add a tab in supplier payments view (since 3.6.0)<br />
** 'categories_x' to add a tab in category view (replace 'x' by type of category (0=product, 1=supplier, 2=customer, 3=member)</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Module_development&diff=31082
Module development
2013-12-25T00:07:33Z
<p>Marcosgdf: Removed horrible images that reduced readability of text</p>
<hr />
<div>[[Category:Core]]<br />
{{TemplateDocDevEn}}<br />
<br />
To create a new module/addon for Dolibarr, there is several steps. This tutorial will describe you each of them to build a module to extend Dolibarr features, like one or several of the following :<br />
* Add new tables in database<br />
* Add your own menu entries<br />
* Add new screens to edit new tables<br />
* Add or remove tabs on object view (invoice, product, order, event, ...)<br />
* Add predefined exports for the internal export tool<br />
* Add new information boxes in the home page<br />
* Add new substitutions variables<br />
* Define new permissions<br />
* Execute code automatically triggered by a particular Dolibarr action<br />
* Insert your code inside Dolibarr hooks positions<br />
* Add your numbering module<br />
* Add a new document template<br />
* Add a new skin<br />
etc...<br />
All those operations are possible with version 3.2 or more of Dolibarr.<br />
<br />
Following chapters presents how to do all of this manually with an easy way. For experienced developers, a method to do this using MDA generation is also on the work. See last chapter for this.<br />
<br />
=Example of Template External Module=<br />
A good model to start development of external module can be found here : [https://github.com/rdoursenaud/dolibarr-module-template GitHub Dolibarr Module Modèle]<br />
<br />
=Create your module =<br />
== Create a descriptor of Module (required) ==<br />
'''When''': Required as soon as an addon is developed, whatever its goal is (except for adding a skin or a document template).<br />
<br />
=== Create your module descriptor ===<br />
The first step is to create a file descriptor for the module. <br />
* Create directory '''/htdocs/''mymodule''/core/modules'''. Then go into the directory dev/skeletons and copy the file modMyModule.class.php in this directory '''htdocs/''mymodule''/core/modules'''.<br />
Then change the contents of this file as follows:<br />
* Replace all "modMyModule" with a value which corresponds to the purpose of your module. This value must always start with 'mod' and contains only alpha characters.<br />
* Change the number in: $this->numero = 100000 by a number that designate your module id. To avoid conflicts with other modules, you can consult tha page that list already reserved id numbers: [[List of modules id|List of modules id]].<br />
* Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning). <br />
Your file descriptor for your module is ready.<br />
<br />
=== Test your descriptor ===<br />
<br />
Launch Dolibarr and go to page '''Setup->module'''? You must see a new line with your new module and the possibility to activate it or not (browse all the tabs of each category of modules to find it). The value of $this->special determines in which tab will be your module.<br />
<br />
== Tree of path for new module files (required) ==<br />
There is two possible treepath that you can use to organize your module files (the zip file must also match this rule)<br />
=== The new one ===<br />
Note: Only first line is mandatory.<br />
{{TemplateModuleTreeSimple}}<br />
<br />
=== The old one ===<br />
Note: Only first line is mandatory.<br />
{{TemplateModuleTree}}<br />
<br />
== Create your SQL tables and the PHP DAO class (optional) ==<br />
'''When''': If your module needs to manage data of its own<br />
<br />
=== Create your .sql file ===<br />
If your module is designed to manage data of its own, which are not available in the standard version of Dolibarr, it is necessary to define SQL tables to store the data.<br />
<br />
Files for your own module must be placed in a directory.<br />
<br />
Create a subdirectory called "sql" into directory of your module (eg htdocs/mymodule/sql) to put the sql scripts that you will create. Then in the "load_tables" function of your file descriptor module, modify the line<br />
<br />
<source lang="php">$dir = DOL_DOCUMENT_ROOT.'/mymodule/sql/';</source><br />
by<br />
<source lang="php">$dir = DOL_DOCUMENT_ROOT.'/valuechooseformymodule/sql/';</source><br />
<br />
''Rules to follow:''<br />
* Add the files about creating tables commands on the principle of a file '''llx_matable.sql''' per table with a possibly file '''llx_matable.key.sql''' (see existing files in '''install/mysql/tables''' for examples).<br />
<br />
* To manage data, you must create a file called '''data.sql''' inside directory '''/mymodule/sql/''' that contains SQL command to add/edit/delete datas.<br />
<br />
Example of content of a file data.sql<br />
<source lang="sql"><br />
delete from llx_const where name='MYMODULE_IT_WORKS' and entity='__ENTITY__';<br />
insert into llx_const (name, value, type, note, visible, entity) values ('MYMODULE_IT_WORKS','1','chaine','A constant vor my module',1,'__ENTITY__');<br />
</source><br />
<br />
Files must be operational for the database mysql. Rem: The files of other databases are not maintained. They will be read and converted on the fly by the driver of the other database.<br />
<br />
=== Test your .sql files ===<br />
<br />
Once the files ready, you can return to Dolibarr to disable the module, drop those tables in database and reactivate the module. The tables should be recreated by the activation of the module. If this is not the case, check your scripts by passing them by hand, or check the Dolibarr logs.<br />
<br />
=== Generate the PHP DAO class ===<br />
Once you have created your tables into the database, move to the dev/skeletons directory and run the script<br />
<br />
<source lang="bash">php build_class_from_table.php tablename</source><br />
Note: If the command does not work, try to use php-cli php instead.<br />
<br />
This will generate a file '''out.tablename.class.php''' that contains the class to manage table tablename. <br />
In this class, you can find the CRUD methods (Create / Read / Update / Delete) already working to do an insert, a fetch (select), an update, a delete of a row in table.<br />
Remove just the "out" from the file name and put the file in a subdirectory of '''htdocs''' specific to your module (in htdocs/mymodule for example).<br />
<br />
A file '''out.tablename_script.php''' has been generated and contains a sample code to use the class for each of the 4 CRUD methods.<br />
<br />
== The tab management (optional) ==<br />
<br />
=== Add or removed your own tabs on object sheets ===<br />
'''When''': To add a tab on an object (invoices, orders, proposals, member ...)<br />
<br />
To do this go into the file descriptor of module previously created and edit the $this->tabs array:<br />
<br />
<source lang="php"><br />
// Array to add new pages in new tabs or remove existing one<br />
$this->tabs = array('objecttype:+tabname1:Title1:@mymodule:/mymodule/mynewtab1.php?id=__ID__', // To add a new tab identified by code tabname1<br />
'objecttype:+tabname2:Title2:@mymodule:/mymodule/mynewtab2.php?id=__ID__', // To add another new tab identified by code tabname2<br />
'objecttype:-tabname'); // To remove an existing tab identified by code tabname<br />
</source><br />
<br />
The table should contain a list of strings, each string representing a new tab. <br />
The format of the string consisting of 5 parts separated by ":"<br />
* Part 1: The element type (objecttype) where should the tab appears is a value from the following:<br />
{{TemplateModuleTabs}}<br />
* Part 2: A code to identify tab to add (start with +) or to remove (start with -)<br />
* Part 3: The title of the tab. This can be a hard read or better code translation in a file lang.<br />
* Part 4: The name of the file. Lang which contains correspondence between the code translation and language to display. If this name start with @, Dolibarr will search translation file into the lang file of module, so htdocs/mymodule/langs/code_CODE/mymodule.lang, otherwise Dolibarr will look for file htdocs/langs/code_CODE/mymodyle.lang <br />
* Part 5: The url of the page to display when you click on the tab. The __ID__ string will be replaced automatically by the Id of the element concerned.<br />
<br />
To feed the contents of the tab with data from the database, see the next chapter.<br />
<br />
=== Show tabs navigation into your own pages ===<br />
'''When''': To show all standard tabs of an object (produit, tiers, etc.) on your page.<br />
<br />
You must follow these steps :<br />
<br />
'''1. Include files you need into your file'''<br />
<br />
For each object type, there are two files to include with line<br />
<source lang="php">require_once($url_fichier) ;</source><br />
<br />
This is list of those files to include (DOL_DOCUMENT_ROOT is often dolibarr/htdocs/) :<br />
* Object thirdparty (thirdparty) :<br />
** DOL_DOCUMENT_ROOT/societe.class.php<br />
** DOL_DOCUMENT_ROOT/lib/company.lib.php<br />
* Object product (product) :<br />
** DOL_DOCUMENT_ROOT/product.class.php<br />
** DOL_DOCUMENT_ROOT/lib/product.lib.php<br />
* Object invoice (invoice) :<br />
** DOL_DOCUMENT_ROOT/facture.class.php<br />
** DOL_DOCUMENT_ROOT/lib/invoice.lib.php<br />
<br />
'''2. Create and load the object to show into your tab'''<br />
<br />
Create instance of object of the correct class and load object from database by using the fetch method of object en providing to this method the id you get from url (ie : /mytab.php?id=1).<br />
<br />
''Example :''<br />
<source lang="php"><br />
$id=GETPOST('id','int');<br />
$ref=GETPOST('ref','alpha');<br />
$product = new Product($db) ;<br />
$result = $product->fetch($id,$ref) ; // Test $result to check the database read is ok<br />
</source><br />
<br />
'''3. Get list of all tabs to show for your object type'''<br />
<br />
Use fonction XXX_prepare_head($obj), where XXX is name of object. This will return an array with all definition of tab entries to show. Parameter to put into this method is the instance of object you want tabs.<br />
<br />
The resulting array has the following structure<br />
<source lang="php"><br />
$head // Array of tabs<br />
$head[$h] // Element to describe one tab.<br />
$head[$h][0] // Url of page to show when you click on tab<br />
$head[$h][1] // Title of tab<br />
$head[$h][2] // Code name to identify the tab<br />
</source><br />
<br />
''Example :''<br />
<source lang="php"><br />
$head = product_prepare_head($product, $user) ; // parameter $user is present for some function anly<br />
</source><br />
<br />
'''4. show tabs into your page'''<br />
<br />
Use function dol_fiche_head() to show all tabs defined into array $head returned by XX_prepare_head().<br />
<br />
<source lang="php"><br />
dol_fiche_head($links, $active='0', $title='', $notab=0, $picto='')<br />
//$links // Tableau des onglets, appelé $head plus haut.<br />
//$active // Onglet actif (mettre le nom de l'onglet défini dans votre fichier de module, ou un nom contenu dans $head[$h][2]). Cet onglet sera mis en surbrillance<br />
//$title // Title to show (shown into a special tab that you can't click)<br />
//$notab<br />
//$picto // Name of image to show into title. Possible values are:<br />
// product<br />
// service<br />
// company<br />
</source><br />
<br />
This function will show required tabs and open an html element ''< div class="" >'' that correspond to the area under the tabs. To close area of a tab, just use ''< /div >'' into your PHP page.<br />
<br />
== Create or modify PHP screens (optional) ==<br />
'''When''': If the purpose of your module is to add features that require new or modified screens.<br />
<br />
=== Create a new PHP screen ===<br />
You must then create your PHP pages that will show/edit data from tables using the skeleton templates provided as an example in the directory '''dev/skeletons''' (For the development of a script from the command line, see [[Script development]]).<br />
<br />
To create a new user screen, create a subdirectory of '''htdocs''' (if not already done) for your module (in '''htdocs/mymodule''' for example) to store the pages you will create.<br />
<br />
Copy, into that directory, the file '''skeletons_page.php''' that will serve as a starting point for your page file.<br />
Edit the file to have a correct relative path to the main.inc.php file. <br />
<source lang="php"><br />
$res=0;<br />
if (! $res && file_exists("../main.inc.php")) $res=@include("../main.inc.php"); // to work if your module directory is into dolibarr root htdocs directory<br />
if (! $res && file_exists("../../main.inc.php")) $res=@include("../../main.inc.php"); // to work if your module directory is into a subdir of root htdocs directory<br />
if (! $res) die("Include of main fails");<br />
</source><br />
Note that you may add more "../" depending on the depth of the file relative to your module directory tree.<br />
The modules developed for all version of Dolibarr after the 3.2 should be able to be moved in a different folder than "htdocs", like "htdocs/custom", without having to modify the source code of the module, that's why we make several includes, so this rule must be applied by all modules.<br />
<br />
It's in the main.inc.php file that is loaded technical environment variables and permissions. The following variables are objects positioned in this file:<br />
<br />
* $user Objet that contains the characteristics of the user + his permissions.<br />
* $conf Objet that contains Dolibarr configuration.<br />
* $db Objet that contains an opened connection handler to the database.<br />
* $langs Objet that contains the user's language.<br />
<br />
Then enter your code to display the page.<br />
<br />
* To include a class or library dedicated to the module is done using a Dolibarr function (and not using directly include_once):<br />
''Example :''<br />
<source lang="php"><br />
dol_include_once('/mymodule/class/myclass.class.php', 'MyClass');<br />
</source><br />
<br />
* To include classes provided with Dolibarr, use the following syntax:<br />
''Example :''<br />
<source lang="php"><br />
require_once DOL_DOCUMENT_ROOT.'/core/class/doli.class.php';<br />
</source><br />
<br />
=== Add some fields into existing forms ===<br />
You may want to provide a module that add more fields into forms (input and view) of some elements. <br />
<br />
A heavy solution (but not so bad) may be to replace all pages used to create element (this means disable the "New element" menu entry and adding yours, and disable tab that show element to replace with a tab that is your own full page (copied/pasted from original) to do same than original page but modified to add your fields and stored added data into your own table). Go to menu [[#Define your entries in menu (optional)]] and [[#The tab management (optional)]] if this solution suits you (this solution is more powerfull since you can change everything you want into page). <br />
<br />
We will describe here another solution, that works only to "add fields" at end of existing fields, using the element "category" as an example but you can convert this tutorial for invoice, proposal ...<br />
* First thing is to add a table, owned by your module, to store value of new fields. This table will have only one column called "rowid" (will contains same value than field rowid of element table) + one column for each new field you want to add. Then create a class with CRUD (Create/Read/Update/Delete) methods for this new table. For this two tasks, go back to previous chapter [[#Create your SQL tables and the PHP DAO class]].<br />
* Next step is to add a hook into your module to add the new fields into the form. See chapter [[Hooks_system#Implement_the_Hook]] for generic documentation to use hooks.<br />
If you follow this tutorial, to be able to add fields into category forms, you must do:<br />
{{ToComplete}}<br />
<br />
=== Replace parts of screen that are templated (version 3.3+) ===<br />
Some parts of Dolibarr screen are isolated into native PHP template files.<br />
You can develop a module to overwrite such templates with yours.<br />
{{ToComplete}}<br />
<br />
=== Add/replace part of fields supported by hooks ===<br />
See chapter [[Hooks_system#Implement_the_Hook]] to know how to use Dolibarr existing hooks to add/replace code at Dolibarr hooks place.<br />
<br />
=== Database access ===<br />
If you need to edit some data in database inside you own table, use the PHP class generated before.<br />
<br />
If you to make access to tables with no dedicated PHP class available, this is always possible (for example if you want to get a list of records with a particular join or filter). In this case, this is a code samples to follow:<br />
<br />
To make an insert, update or delete:<br />
<br />
<source lang="php"><br />
$db->begin(); // Start transaction<br />
$db->query("My SQL request insert, update or delete");<br />
$db->commit(); // Validate transaction<br />
or $db->rollback() // Cancel transaction<br />
</source><br />
<br />
To read:<br />
<br />
<source lang="php"><br />
$resql=$db->query("My select request");<br />
if ($resql)<br />
{<br />
$num = $db->num_rows($resql);<br />
$i = 0;<br />
if ($num)<br />
{<br />
while ($i < $num)<br />
{<br />
$obj = $db->fetch_object($resql);<br />
if ($obj)<br />
{<br />
// You can use here results<br />
print $obj->field1;<br />
print $obj->field2;<br />
}<br />
$i++;<br />
}<br />
}<br />
}<br />
</source><br />
<br />
=== Define style of your pages ===<br />
To have the look of your own pages to match the Dolibarr theme, it is necessary to use the Dolibarr CSS styles.<br />
<br />
You can use for example:<br />
<br />
* class="'''liste_titre'''" on tags ''tr'' and ''td'' for the head row of a table.<br />
* class="'''pair'''" or class="'''impair'''" on tags ''tr'' and ''td'' of other rows of a table.<br />
* class="'''flat'''" on all input fields (''input, select, textarea''...).<br />
* class="'''button'''" on HTML fields with type ''input type="submit"''.<br />
<br />
=== Use the Dolibarr date picker ===<br />
If you want to use the Dolibarr date selector (with its calendar popup) into your pages, use the following line:<br />
<source lang="php"><br />
$form=new Form($db);<br />
$form->select_date('','mykey',0,0,0,"myform");<br />
</source><br />
The string mykey will identify the date selector in the form. You must use different values if you use several date selectors in same page.<br />
The string myform is the name of the FORM in which the selector is included (value found in the form name="myform" in HTML page).<br />
This means a date selector must be included necessarily into an html FORM.<br />
<br />
To get value after the POST of your form, the command is:<br />
<source lang="php"><br />
$mydate = dol_mktime(12, 0 , 0, $_POST['mykeymonth'], $_POST['mykeyday'], $_POST['mykeyyear']);<br />
print strftime('%A %d %B %Y', $mydate);<br />
</source><br />
<br />
== Add your own setup page (optional) ==<br />
'''When''': If your module need to ask user several parameters.<br />
<br />
=== Create your page to edit parameters ===<br />
If your module need several parameters to be setup, you must create a page to edit options (that will be saved into [[Table llx_const|table '''llx_const''']]).<br />
Create a page named '''mymodule_setuppage.php''' that show possibles options and update them into table from a form.<br />
It is a necessary to take an example from a page into directory '''/admin''' that will show you the way to read/save your parameter.<br />
Put this page into directory '''/admin'''.<br />
Then, into the descriptor file of your module, modify the variable config_page_url to set name of this PHP page (without the path that is not necesary if page is inside directory admin).<br />
<source lang="php"><br />
$this->config_page_url = array("mymodule_setuppage.php");<br />
</source><br />
<br />
=== Test your page ===<br />
Go into page '''Home->Setup->Modules''', you should see a picture at the end of the line of your module to reach your setup page. Click on it, you should be able to view/edit parameters from your page.<br />
<br />
== Define your entries in menu (optional) ==<br />
'''When''': If you have created PHP pages, it is necessary that those pages can be reached from menu entries in Dolibarr menu.<br />
<br />
=== Define your menu entries ===<br />
For this, you must define into the module descriptor, the array this->menu that declare all menus added by your module.<br />
This array contains entries that will appear once your module is activated.<br />
The example module descriptor file '''modMyModule.class.php''' contains an example to declare a top menu and also its left menu entries.<br />
<br />
This is the example of code to declare your own menu entries in a module descriptor file:<br />
<source lang="php"><br />
// Main menu entries<br />
$this->menu = array(); // List of menus to add<br />
$r=0;<br />
<br />
// Add here entries to declare new menus<br />
// Example to declare the Top Menu entry:<br />
$this->menu[$r]=array( 'fk_menu'=>0, // Put 0 if this is a top menu<br />
'type'=>'top', // This is a Top menu entry<br />
'titre'=>'MyModule top menu',<br />
'mainmenu'=>'mymodule',<br />
'leftmenu'=>'mymodule',<br />
'url'=>'/mymodule/pagetop.php',<br />
'langs'=>'mylangfile', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.<br />
'position'=>100,<br />
'enabled'=>'1', // Define condition to show or hide menu entry. Use '$conf->mymodule->enabled' if entry must be visible if module is enabled.<br />
'perms'=>'1', // Use 'perms'=>'$user->rights->mymodule->level1->level2' if you want your menu with a permission rules<br />
'target'=>'',<br />
'user'=>2); // 0=Menu for internal users, 1=external users, 2=both<br />
$r++;<br />
<br />
// Example to declare a Left Menu entry:<br />
$this->menu[$r]=array( 'fk_menu'=>'fk_mainmenu=xxx', // Use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode of parent menu<br />
'type'=>'left', // This is a Left menu entry<br />
'titre'=>'MyModule left menu 1',<br />
'mainmenu'=>'xxx',<br />
'leftmenu'=>'yyy',<br />
'url'=>'/mymodule/pagelevel1.php',<br />
'langs'=>'mylangfile', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.<br />
'position'=>100,<br />
'enabled'=>'1', // Define condition to show or hide menu entry. Use '$conf->mymodule->enabled' if entry must be visible if module is enabled.<br />
'perms'=>'1', // Use 'perms'=>'$user->rights->mymodule->level1->level2' if you want your menu with a permission rules<br />
'target'=>'',<br />
'user'=>2); // 0=Menu for internal users,1=external users, 2=both<br />
$r++;<br />
</source><br />
<br />
To show menu or not depending on a permission, modify property '''perms''' in array. See chapter on permissions later to see how to add permissions.<br />
<br />
=== Test your menu entries ===<br />
Disable and reenable your module under Dolibarr module setup page, menus entries must appear (if property 'enabled' is declaration array is ok).<br />
<br />
== Add your own permissions (optional) ==<br />
'''When''': If you want to add new permissions.<br />
<br />
The way to define permissions that will manage your module is done inside the module descriptor created previously.<br />
Modify line <br />
<source lang="php"><br />
$this->rights_class = 'mymodule'<br />
</source><br />
with correct value for mymodule.<br />
<br />
Then you must fill the array $this->rights with as many entries than different permissions you need to manage.<br />
<br />
<source lang="php"><br />
$this->rights[$r][0] = 10001;<br />
$this->rights[$r][1] = 'Label by default of permission';<br />
$this->rights[$r][3] = 1;<br />
$this->rights[$r][4] = 'action';<br />
$this->rights[$r][5] = 'subaction';<br />
$r++;<br />
</source><br />
<br />
Into $this->rights[$r][0], put a permission id not already used (See into menu '''System info''' on a working installation of Dolibarr to know list of id already used by standard modules.<br />
Into $this->rights[$r][3], put 1 if this permission must be granted automatically by default to any new created user.<br />
Into $this->rights[$r][1], put a label by default for permission (This label will be used if no translation can be found into the file '''admin.lang''').<br />
Into $this->rights[$r][4] and $this->rights[$r][5], put an action and subaction string without spaces. You will be able to test if a user has the permission in your PHP source code with the sequence:<br />
<br />
<source lang="php"><br />
if ($user->rights->mymodule->action->subaction) ...<br />
</source><br />
<br />
== Define you own box (optional) ==<br />
'''When''': If your module need to provide one or several new boxes to show on home page.<br />
<br />
=== Define your box ===<br />
For this, modify the array $this->boxes into the module descriptor file.<br />
All you have to do is to add 2 lines for each box file you will create into directory '''htdocs/mymodule/core/boxes'''<br />
<br />
''Example:''<br />
<source lang="php"><br />
$this->boxes[0]['file']='mybox0.php@mymodule'<br />
$this->boxes[0]['note']='My box 0'<br />
...<br />
$this->boxes[n]['file']='myboxn.php@mymodule'<br />
$this->boxes[n]['note']='My box n'<br />
</source><br />
<br />
Then create files '''htdocs/mymodule/core/boxes/mybox0.php''', '''htdocs/mymodule/core/boxes/mybox1.php'''... by copying an example from an existing box file (found into directory '''htdocs/core/boxes''').<br />
<br />
=== Test if your box is detected by Dolibarr ===<br />
Disable and enabled module.<br />
<br />
Go into menu '''Home - Setup - Boxes'''.<br />
<br />
Your boxes must appear in the list of boxes you can activated. Activate the box and go on home page to see if the box is showing correctly.<br />
<br />
== Define your own export (optional) ==<br />
'''When''': If your module provide new predefined database export profiles (for its own tables or for already existing tables of another module).<br />
<br />
=== Define export ===<br />
For this uncomment and modify arrays $this->export_xxx in your module descriptor file.<br />
<br />
=== Test your export ===<br />
Go into menu Tools -> Export. Your export will appear in the list of available predefined exports (if your module is enabled).<br />
Choose it, you must see list of all possible fields defined in the export arrays.<br />
Choose on field and try to build an export file. If ok, try again with all fields.<br />
<br />
== Define your CSS styles (optional) ==<br />
'''When''': If in your PHP pages, you use class styles that are not defined inside Dolibarr themes CSS (not recommanded).<br />
<br />
=== Create and declare your style sheet ===<br />
Create a style sheet CSS named '''mymodule.css''' or '''mymodule.css.php''' and put it into directory '''htdocs/mymodule'''. You can have only one CSS file per module.<br />
Remember it's better to use existing styles already available by default into Dolibarr (The CSS file used by Dolibarr is file '''themes/mytheme/''themename''.css.php'''. Create your own CSS file only if you need absolutely to add not already existing styles.<br />
<br />
Once your style sheet is ready, declare it into your module descriptor file by modifying the property '''$this->modules_parts'''.<br />
Value to put here must be a relative URL to your CSS file.<br />
For example<br />
<source lang="php"><br />
$this->module_parts = array('css' => array('/mymodule/css/mymodule.css.php'));<br />
</source><br />
<br />
=== Test your style sheet ===<br />
Disable and enable your module.<br />
<br />
Go on home page (index.php). Show the HTML source of the page.<br />
<br />
You should see into the HTML header, a line that declare your style sheet.<br />
<br />
== Add your Javascript functions (optional) ==<br />
'''When''': If in your PHP pages, you use javascript functions not available in Dolibarr (in file lib_head.js)<br />
<br />
If you need to use your own javascript functions inside your PHP pages, it is necessary to have your functions, defined into your javascript file '''htdocs/mymodule/js/mymodule.js''', included into the HTML HEAD section.<br />
To ask Dolibarr that forge this header to include your own javascript file, you must just provide it to the llxHeader() function called by your page.<br />
<br />
Example for page /htdocs/mymodule/mypage.php :<br />
<source lang="php"><br />
require('../main.inc.php');<br />
$morejs=array("/mymodule/js/mymodule.js");<br />
llxHeader('','Titre','','','','',$morejs,'',0,0); <br />
</source><br />
<br />
== Run your own code on any Dolibarr event (optional) ==<br />
'''When''': If you want to execute your own code once a common Dolibarr event has occurred (example: I want to update a table in my module when an invoice is created into Dolibarr), you must create a '''triggers'''.<br />
<br />
See also [[Interfaces_Dolibarr_toward_foreign_systems]]<br />
and [[Interfaces_from_foreign_systems_toward_Dolibarr]]<br />
<br />
== Insert your code inside Dolibarr hooks positions (optional) ==<br />
'''When''': When you want to add code or replace Dolibarr code into another situation than a business event (See previous chapter for adding code during a business event).<br />
<br />
See page [[Hooks_system]].<br />
<br />
<br />
== Add your own numbering rules ==<br />
'''When''': When you need a new rule for generated ref of elements that is not covered by existing rules.<br />
<br />
See page [[Create numbering module]].<br />
<br />
== Add your document template (optional) ==<br />
'''When''': When you want to personalized your own generated PDF or ODT documents.<br />
<br />
Note: To add this feature you don't need to create a module descriptor.<br />
<br />
Documentation to add your own template is available on page [[Create_a_PDF_document_template]] or [[Create_an_ODT_document_template]].<br />
<br />
== Add your skin (optional) ==<br />
'''When''': When you want to personalized your colors/fonts/images.<br />
<br />
Note: To add this feature you don't need to create a module descriptor.<br />
<br />
To add your own skin, read page [[Skins]].<br />
<br />
=Some coding rules and predefined functions =<br />
The coding rules to be followed are defined in the [[Developer documentation]], under section "General Information - Language and standards development".<br />
<br />
A lot of predefined features for developers are also available and described into page [[Developer documentation]] under section "Technical components of Dolibarr".<br />
<br />
=Using MDA =<br />
A method to generate a functional module from a UML model has been developed. More information on the page [[UML2Dolibarr - Build a module using MDA]].<br />
<br />
=Create a package to distribute and install your module =<br />
This process must be used to generate a package to submit it on the http://www.dolistore.com market place.<br />
But you can use it to have a package easy to distribute on your on network.<br />
<br />
* Go into the directory '''/build''' and copy the file '''makepack-dolibarrmodules.conf''' into '''makepack-mymodule.conf'''. Warning, this directory may not be provided in some packages of stable versions. If so, it can be retrieved from the snapshot available for download on the Dolibarr website in area "Development version" (taken in this case the whole build directory which is autonomous and independent directory).<br />
<br />
Edit this file to add list of file names for all new files you created for your module (module descriptor, new sql tables files, php page, images, etc...)<br />
<br />
* Run the script via Perl (need the Perl version 5.0 or later):<br />
<source lang="bash"><br />
perl makepack-dolibarrmodule.pl<br />
</source><br />
The script asks you the name of your module, its major and minor version. A file '''mymodule.zip ''' will then be manufactured containing your module ready to be deployed.<br />
<br />
* The person who receives your module must then place the file in the root directory of a Dolibarr installation and perform the command:<br />
<source lang="bash"><br />
tar -xvf mymodule.zip<br />
</source><br />
<br />
* If you want your module to be public, you can submit it (the zip file) on Dolibarr market place web site: {{LinkToPluginDownload}} (you must create an account first and be logged to use the link "Submit a module/product").<br />
** If your module was build correctly, file will be validated later.<br />
** If quality is enough and license permits it, code might be added inside main Dolibarr sources (except if you disagree for that).<br />
<br />
= Enabling/activation condition of external module on DoliStore =<br />
<br />
See [[Module_Dolistore_Validation_Rules|Validation Rules]]</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Module_development&diff=31081
Module development
2013-12-25T00:06:49Z
<p>Marcosgdf: Removed horrible images that reduced readability of text</p>
<hr />
<div>[[Category:Core]]<br />
{{TemplateDocDevEn}}<br />
<br />
To create a new module/addon for Dolibarr, there is several steps. This tutorial will describe you each of them to build a module to extend Dolibarr features, like one or several of the following :<br />
* Add new tables in database<br />
* Add your own menu entries<br />
* Add new screens to edit new tables<br />
* Add or remove tabs on object view (invoice, product, order, event, ...)<br />
* Add predefined exports for the internal export tool<br />
* Add new information boxes in the home page<br />
* Add new substitutions variables<br />
* Define new permissions<br />
* Execute code automatically triggered by a particular Dolibarr action<br />
* Insert your code inside Dolibarr hooks positions<br />
* Add your numbering module<br />
* Add a new document template<br />
* Add a new skin<br />
etc...<br />
All those operations are possible with version 3.2 or more of Dolibarr.<br />
<br />
Following chapters presents how to do all of this manually with an easy way. For experienced developers, a method to do this using MDA generation is also on the work. See last chapter for this.<br />
<br />
=Example of Template External Module=<br />
A good model to start development of external module can be found here : [https://github.com/rdoursenaud/dolibarr-module-template GitHub Dolibarr Module Modèle]<br />
<br />
=Create your module =<br />
== Create a descriptor of Module (required) ==<br />
'''When''': Required as soon as an addon is developed, whatever its goal is (except for adding a skin or a document template).<br />
<br />
=== Create your module descriptor ===<br />
The first step is to create a file descriptor for the module. <br />
* Create directory '''/htdocs/''mymodule''/core/modules'''. Then go into the directory dev/skeletons and copy the file modMyModule.class.php in this directory '''htdocs/''mymodule''/core/modules'''.<br />
Then change the contents of this file as follows:<br />
* Replace all "modMyModule" with a value which corresponds to the purpose of your module. This value must always start with 'mod' and contains only alpha characters.<br />
* Change the number in: $this->numero = 100000 by a number that designate your module id. To avoid conflicts with other modules, you can consult tha page that list already reserved id numbers: [[List of modules id|List of modules id]].<br />
* Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning). <br />
Your file descriptor for your module is ready.<br />
<br />
=== Test your descriptor ===<br />
<br />
Launch Dolibarr and go to page '''Setup->module'''? You must see a new line with your new module and the possibility to activate it or not (browse all the tabs of each category of modules to find it). The value of $this->special determines in which tab will be your module.<br />
<br />
== Tree of path for new module files (required) ==<br />
There is two possible treepath that you can use to organize your module files (the zip file must also match this rule)<br />
=== The new one ===<br />
Note: Only first line is mandatory.<br />
{{TemplateModuleTreeSimple}}<br />
<br />
=== The old one ===<br />
Note: Only first line is mandatory.<br />
{{TemplateModuleTree}}<br />
<br />
== Create your SQL tables and the PHP DAO class (optional) ==<br />
'''When''': If your module needs to manage data of its own<br />
<br />
=== Create your .sql file ===<br />
If your module is designed to manage data of its own, which are not available in the standard version of Dolibarr, it is necessary to define SQL tables to store the data.<br />
<br />
Files for your own module must be placed in a directory.<br />
<br />
Create a subdirectory called "sql" into directory of your module (eg htdocs/mymodule/sql) to put the sql scripts that you will create. Then in the "load_tables" function of your file descriptor module, modify the line<br />
<br />
<source lang="php">$dir = DOL_DOCUMENT_ROOT.'/mymodule/sql/';</source><br />
by<br />
<source lang="php">$dir = DOL_DOCUMENT_ROOT.'/valuechooseformymodule/sql/';</source><br />
<br />
''Rules to follow:''<br />
* Add the files about creating tables commands on the principle of a file '''llx_matable.sql''' per table with a possibly file '''llx_matable.key.sql''' (see existing files in '''install/mysql/tables''' for examples).<br />
<br />
* To manage data, you must create a file called '''data.sql''' inside directory '''/mymodule/sql/''' that contains SQL command to add/edit/delete datas.<br />
<br />
Example of content of a file data.sql<br />
<source lang="sql"><br />
delete from llx_const where name='MYMODULE_IT_WORKS' and entity='__ENTITY__';<br />
insert into llx_const (name, value, type, note, visible, entity) values ('MYMODULE_IT_WORKS','1','chaine','A constant vor my module',1,'__ENTITY__');<br />
</source><br />
<br />
Files must be operational for the database mysql. Rem: The files of other databases are not maintained. They will be read and converted on the fly by the driver of the other database.<br />
<br />
=== Test your .sql files ===<br />
<br />
Once the files ready, you can return to Dolibarr to disable the module, drop those tables in database and reactivate the module. The tables should be recreated by the activation of the module. If this is not the case, check your scripts by passing them by hand, or check the Dolibarr logs.<br />
<br />
=== Generate the PHP DAO class ===<br />
Once you have created your tables into the database, move to the dev/skeletons directory and run the script<br />
<br />
<source lang="bash">php build_class_from_table.php tablename</source><br />
Note: If the command does not work, try to use php-cli php instead.<br />
<br />
This will generate a file '''out.tablename.class.php''' that contains the class to manage table tablename. <br />
In this class, you can find the CRUD methods (Create / Read / Update / Delete) already working to do an insert, a fetch (select), an update, a delete of a row in table.<br />
Remove just the "out" from the file name and put the file in a subdirectory of '''htdocs''' specific to your module (in htdocs/mymodule for example).<br />
<br />
A file '''out.tablename_script.php''' has been generated and contains a sample code to use the class for each of the 4 CRUD methods.<br />
<br />
== The tab management (optional) ==<br />
<br />
=== Add or removed your own tabs on object sheets ===<br />
'''When''': To add a tab on an object (invoices, orders, proposals, member ...)<br />
<br />
To do this go into the file descriptor of module previously created and edit the $this->tabs array:<br />
<br />
<source lang="php"><br />
// Array to add new pages in new tabs or remove existing one<br />
$this->tabs = array('objecttype:+tabname1:Title1:@mymodule:/mymodule/mynewtab1.php?id=__ID__', // To add a new tab identified by code tabname1<br />
'objecttype:+tabname2:Title2:@mymodule:/mymodule/mynewtab2.php?id=__ID__', // To add another new tab identified by code tabname2<br />
'objecttype:-tabname'); // To remove an existing tab identified by code tabname<br />
</source><br />
<br />
The table should contain a list of strings, each string representing a new tab. <br />
The format of the string consisting of 5 parts separated by ":"<br />
* Part 1: The element type (objecttype) where should the tab appears is a value from the following:<br />
{{TemplateModuleTabs}}<br />
* Part 2: A code to identify tab to add (start with +) or to remove (start with -)<br />
* Part 3: The title of the tab. This can be a hard read or better code translation in a file lang.<br />
* Part 4: The name of the file. Lang which contains correspondence between the code translation and language to display. If this name start with @, Dolibarr will search translation file into the lang file of module, so htdocs/mymodule/langs/code_CODE/mymodule.lang, otherwise Dolibarr will look for file htdocs/langs/code_CODE/mymodyle.lang <br />
* Part 5: The url of the page to display when you click on the tab. The __ID__ string will be replaced automatically by the Id of the element concerned.<br />
<br />
To feed the contents of the tab with data from the database, see the next chapter.<br />
<br />
=== Show tabs navigation into your own pages ===<br />
'''When''': To show all standard tabs of an object (produit, tiers, etc.) on your page.<br />
<br />
You must follow these steps :<br />
<br />
'''1. Include files you need into your file'''<br />
<br />
For each object type, there are two files to include with line<br />
<source lang="php">require_once($url_fichier) ;</source><br />
<br />
This is list of those files to include (DOL_DOCUMENT_ROOT is often dolibarr/htdocs/) :<br />
* Object thirdparty (thirdparty) :<br />
** DOL_DOCUMENT_ROOT/societe.class.php<br />
** DOL_DOCUMENT_ROOT/lib/company.lib.php<br />
* Object product (product) :<br />
** DOL_DOCUMENT_ROOT/product.class.php<br />
** DOL_DOCUMENT_ROOT/lib/product.lib.php<br />
* Object invoice (invoice) :<br />
** DOL_DOCUMENT_ROOT/facture.class.php<br />
** DOL_DOCUMENT_ROOT/lib/invoice.lib.php<br />
<br />
'''2. Create and load the object to show into your tab'''<br />
<br />
Create instance of object of the correct class and load object from database by using the fetch method of object en providing to this method the id you get from url (ie : /mytab.php?id=1).<br />
<br />
''Example :''<br />
<source lang="php"><br />
$id=GETPOST('id','int');<br />
$ref=GETPOST('ref','alpha');<br />
$product = new Product($db) ;<br />
$result = $product->fetch($id,$ref) ; // Test $result to check the database read is ok<br />
</source><br />
<br />
'''3. Get list of all tabs to show for your object type'''<br />
<br />
Use fonction XXX_prepare_head($obj), where XXX is name of object. This will return an array with all definition of tab entries to show. Parameter to put into this method is the instance of object you want tabs.<br />
<br />
The resulting array has the following structure<br />
<source lang="php"><br />
$head // Array of tabs<br />
$head[$h] // Element to describe one tab.<br />
$head[$h][0] // Url of page to show when you click on tab<br />
$head[$h][1] // Title of tab<br />
$head[$h][2] // Code name to identify the tab<br />
</source><br />
<br />
''Example :''<br />
<source lang="php"><br />
$head = product_prepare_head($product, $user) ; // parameter $user is present for some function anly<br />
</source><br />
<br />
'''4. show tabs into your page'''<br />
<br />
Use function dol_fiche_head() to show all tabs defined into array $head returned by XX_prepare_head().<br />
<br />
<source lang="php"><br />
dol_fiche_head($links, $active='0', $title='', $notab=0, $picto='')<br />
//$links // Tableau des onglets, appelé $head plus haut.<br />
//$active // Onglet actif (mettre le nom de l'onglet défini dans votre fichier de module, ou un nom contenu dans $head[$h][2]). Cet onglet sera mis en surbrillance<br />
//$title // Title to show (shown into a special tab that you can't click)<br />
//$notab<br />
//$picto // Name of image to show into title. Possible values are:<br />
// product<br />
// service<br />
// company<br />
</source><br />
<br />
This function will show required tabs and open an html element ''< div class="" >'' that correspond to the area under the tabs. To close area of a tab, just use ''< /div >'' into your PHP page.<br />
<br />
== Create or modify PHP screens (optional) ==<br />
'''When''': If the purpose of your module is to add features that require new or modified screens.<br />
<br />
=== Create a new PHP screen ===<br />
You must then create your PHP pages that will show/edit data from tables using the skeleton templates provided as an example in the directory '''dev/skeletons''' (For the development of a script from the command line, see [[Script development]]).<br />
<br />
To create a new user screen, create a subdirectory of '''htdocs''' (if not already done) for your module (in '''htdocs/mymodule''' for example) to store the pages you will create.<br />
<br />
Copy, into that directory, the file '''skeletons_page.php''' that will serve as a starting point for your page file.<br />
Edit the file to have a correct relative path to the main.inc.php file. <br />
<source lang="php"><br />
$res=0;<br />
if (! $res && file_exists("../main.inc.php")) $res=@include("../main.inc.php"); // to work if your module directory is into dolibarr root htdocs directory<br />
if (! $res && file_exists("../../main.inc.php")) $res=@include("../../main.inc.php"); // to work if your module directory is into a subdir of root htdocs directory<br />
if (! $res) die("Include of main fails");<br />
</source><br />
Note that you may add more "../" depending on the depth of the file relative to your module directory tree.<br />
The modules developed for all version of Dolibarr after the 3.2 should be able to be moved in a different folder than "htdocs", like "htdocs/custom", without having to modify the source code of the module, that's why we make several includes, so this rule must be applied by all modules.<br />
<br />
It's in the main.inc.php file that is loaded technical environment variables and permissions. The following variables are objects positioned in this file:<br />
<br />
* $user Objet that contains the characteristics of the user + his permissions.<br />
* $conf Objet that contains Dolibarr configuration.<br />
* $db Objet that contains an opened connection handler to the database.<br />
* $langs Objet that contains the user's language.<br />
<br />
Then enter your code to display the page.<br />
<br />
* To include a class or library dedicated to the module is done using a Dolibarr function (and not using directly include_once):<br />
''Example :''<br />
<source lang="php"><br />
dol_include_once('/mymodule/class/myclass.class.php', 'MyClass');<br />
</source><br />
<br />
* To include classes provided with Dolibarr, use the following syntax:<br />
''Example :''<br />
<source lang="php"><br />
require_once DOL_DOCUMENT_ROOT.'/core/class/doli.class.php';<br />
</source><br />
<br />
=== Add some fields into existing forms ===<br />
You may want to provide a module that add more fields into forms (input and view) of some elements. <br />
<br />
A heavy solution (but not so bad) may be to replace all pages used to create element (this means disable the "New element" menu entry and adding yours, and disable tab that show element to replace with a tab that is your own full page (copied/pasted from original) to do same than original page but modified to add your fields and stored added data into your own table). Go to menu [[#Define your entries in menu (optional)]] and [[#The tab management (optional)]] if this solution suits you (this solution is more powerfull since you can change everything you want into page). <br />
<br />
We will describe here another solution, that works only to "add fields" at end of existing fields, using the element "category" as an example but you can convert this tutorial for invoice, proposal ...<br />
* First thing is to add a table, owned by your module, to store value of new fields. This table will have only one column called "rowid" (will contains same value than field rowid of element table) + one column for each new field you want to add. Then create a class with CRUD (Create/Read/Update/Delete) methods for this new table. For this two tasks, go back to previous chapter [[#Create your SQL tables and the PHP DAO class]].<br />
* Next step is to add a hook into your module to add the new fields into the form. See chapter [[Hooks_system#Implement_the_Hook]] for generic documentation to use hooks.<br />
If you follow this tutorial, to be able to add fields into category forms, you must do:<br />
{{ToComplete}}<br />
<br />
=== Replace parts of screen that are templated (version 3.3+) ===<br />
Some parts of Dolibarr screen are isolated into native PHP template files.<br />
You can develop a module to overwrite such templates with yours.<br />
{{ToComplete}}<br />
<br />
=== Add/replace part of fields supported by hooks ===<br />
See chapter [[Hooks_system#Implement_the_Hook]] to know how to use Dolibarr existing hooks to add/replace code at Dolibarr hooks place.<br />
<br />
=== Database access ===<br />
If you need to edit some data in database inside you own table, use the PHP class generated before.<br />
<br />
If you to make access to tables with no dedicated PHP class available, this is always possible (for example if you want to get a list of records with a particular join or filter). In this case, this is a code samples to follow:<br />
<br />
To make an insert, update or delete:<br />
<br />
<source lang="php"><br />
$db->begin(); // Start transaction<br />
$db->query("My SQL request insert, update or delete");<br />
$db->commit(); // Validate transaction<br />
or $db->rollback() // Cancel transaction<br />
</source><br />
<br />
To read:<br />
<br />
<source lang="php"><br />
$resql=$db->query("My select request");<br />
if ($resql)<br />
{<br />
$num = $db->num_rows($resql);<br />
$i = 0;<br />
if ($num)<br />
{<br />
while ($i < $num)<br />
{<br />
$obj = $db->fetch_object($resql);<br />
if ($obj)<br />
{<br />
// You can use here results<br />
print $obj->field1;<br />
print $obj->field2;<br />
}<br />
$i++;<br />
}<br />
}<br />
}<br />
</source><br />
<br />
=== Define style of your pages ===<br />
To have the look of your own pages to match the Dolibarr theme, it is necessary to use the Dolibarr CSS styles.<br />
<br />
You can use for example:<br />
<br />
* class="'''liste_titre'''" on tags ''tr'' and ''td'' for the head row of a table.<br />
* class="'''pair'''" or class="'''impair'''" on tags ''tr'' and ''td'' of other rows of a table.<br />
* class="'''flat'''" on all input fields (''input, select, textarea''...).<br />
* class="'''button'''" on HTML fields with type ''input type="submit"''.<br />
<br />
=== Use the Dolibarr date picker ===<br />
If you want to use the Dolibarr date selector (with its calendar popup) into your pages, use the following line:<br />
<source lang="php"><br />
$form=new Form($db);<br />
$form->select_date('','mykey',0,0,0,"myform");<br />
</source><br />
The string mykey will identify the date selector in the form. You must use different values if you use several date selectors in same page.<br />
The string myform is the name of the FORM in which the selector is included (value found in the form name="myform" in HTML page).<br />
This means a date selector must be included necessarily into an html FORM.<br />
<br />
To get value after the POST of your form, the command is:<br />
<source lang="php"><br />
$mydate = dol_mktime(12, 0 , 0, $_POST['mykeymonth'], $_POST['mykeyday'], $_POST['mykeyyear']);<br />
print strftime('%A %d %B %Y', $mydate);<br />
</source><br />
<br />
== Add your own setup page (optional) ==<br />
'''When''': If your module need to ask user several parameters.<br />
<br />
=== Create your page to edit parameters ===<br />
If your module need several parameters to be setup, you must create a page to edit options (that will be saved into [[Table llx_const|table '''llx_const''']]).<br />
Create a page named '''mymodule_setuppage.php''' that show possibles options and update them into table from a form.<br />
It is a necessary to take an example from a page into directory '''/admin''' that will show you the way to read/save your parameter.<br />
Put this page into directory '''/admin'''.<br />
Then, into the descriptor file of your module, modify the variable config_page_url to set name of this PHP page (without the path that is not necesary if page is inside directory admin).<br />
<source lang="php"><br />
$this->config_page_url = array("mymodule_setuppage.php");<br />
</source><br />
<br />
=== Test your page ===<br />
Go into page '''Home->Setup->Modules''', you should see a picture at the end of the line of your module to reach your setup page. Click on it, you should be able to view/edit parameters from your page.<br />
<br />
== Define your entries in menu (optional) ==<br />
'''When''': If you have created PHP pages, it is necessary that those pages can be reached from menu entries in Dolibarr menu.<br />
<br />
=== Define your menu entries ===<br />
For this, you must define into the module descriptor, the array this->menu that declare all menus added by your module.<br />
This array contains entries that will appear once your module is activated.<br />
The example module descriptor file '''modMyModule.class.php''' contains an example to declare a top menu and also its left menu entries.<br />
<br />
This is the example of code to declare your own menu entries in a module descriptor file:<br />
<source lang="php"><br />
// Main menu entries<br />
$this->menu = array(); // List of menus to add<br />
$r=0;<br />
<br />
// Add here entries to declare new menus<br />
// Example to declare the Top Menu entry:<br />
$this->menu[$r]=array( 'fk_menu'=>0, // Put 0 if this is a top menu<br />
'type'=>'top', // This is a Top menu entry<br />
'titre'=>'MyModule top menu',<br />
'mainmenu'=>'mymodule',<br />
'leftmenu'=>'mymodule',<br />
'url'=>'/mymodule/pagetop.php',<br />
'langs'=>'mylangfile', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.<br />
'position'=>100,<br />
'enabled'=>'1', // Define condition to show or hide menu entry. Use '$conf->mymodule->enabled' if entry must be visible if module is enabled.<br />
'perms'=>'1', // Use 'perms'=>'$user->rights->mymodule->level1->level2' if you want your menu with a permission rules<br />
'target'=>'',<br />
'user'=>2); // 0=Menu for internal users, 1=external users, 2=both<br />
$r++;<br />
<br />
// Example to declare a Left Menu entry:<br />
$this->menu[$r]=array( 'fk_menu'=>'fk_mainmenu=xxx', // Use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode of parent menu<br />
'type'=>'left', // This is a Left menu entry<br />
'titre'=>'MyModule left menu 1',<br />
'mainmenu'=>'xxx',<br />
'leftmenu'=>'yyy',<br />
'url'=>'/mymodule/pagelevel1.php',<br />
'langs'=>'mylangfile', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.<br />
'position'=>100,<br />
'enabled'=>'1', // Define condition to show or hide menu entry. Use '$conf->mymodule->enabled' if entry must be visible if module is enabled.<br />
'perms'=>'1', // Use 'perms'=>'$user->rights->mymodule->level1->level2' if you want your menu with a permission rules<br />
'target'=>'',<br />
'user'=>2); // 0=Menu for internal users,1=external users, 2=both<br />
$r++;<br />
</source><br />
<br />
To show menu or not depending on a permission, modify property '''perms''' in array. See chapter on permissions later to see how to add permissions.<br />
<br />
=== Test your menu entries ===<br />
Disable and reenable your module under Dolibarr module setup page, menus entries must appear (if property 'enabled' is declaration array is ok).<br />
<br />
== Add your own permissions (optional) ==<br />
'''When''': If you want to add new permissions.<br />
<br />
The way to define permissions that will manage your module is done inside the module descriptor created previously.<br />
Modify line <br />
<source lang="php"><br />
$this->rights_class = 'mymodule'<br />
</source><br />
with correct value for mymodule.<br />
<br />
Then you must fill the array $this->rights with as many entries than different permissions you need to manage.<br />
<br />
<source lang="php"><br />
$this->rights[$r][0] = 10001;<br />
$this->rights[$r][1] = 'Label by default of permission';<br />
$this->rights[$r][3] = 1;<br />
$this->rights[$r][4] = 'action';<br />
$this->rights[$r][5] = 'subaction';<br />
$r++;<br />
</source><br />
<br />
Into $this->rights[$r][0], put a permission id not already used (See into menu '''System info''' on a working installation of Dolibarr to know list of id already used by standard modules.<br />
Into $this->rights[$r][3], put 1 if this permission must be granted automatically by default to any new created user.<br />
Into $this->rights[$r][1], put a label by default for permission (This label will be used if no translation can be found into the file '''admin.lang''').<br />
Into $this->rights[$r][4] and $this->rights[$r][5], put an action and subaction string without spaces. You will be able to test if a user has the permission in your PHP source code with the sequence:<br />
<br />
<source lang="php"><br />
if ($user->rights->mymodule->action->subaction) ...<br />
</source><br />
<br />
== Define you own box (optional) ==<br />
'''When''': If your module need to provide one or several new boxes to show on home page.<br />
<br />
=== Define your box ===<br />
For this, modify the array $this->boxes into the module descriptor file.<br />
All you have to do is to add 2 lines for each box file you will create into directory '''htdocs/mymodule/core/boxes'''<br />
<br />
''Example:''<br />
<source lang="php"><br />
$this->boxes[0]['file']='mybox0.php@mymodule'<br />
$this->boxes[0]['note']='My box 0'<br />
...<br />
$this->boxes[n]['file']='myboxn.php@mymodule'<br />
$this->boxes[n]['note']='My box n'<br />
</source><br />
<br />
Then create files '''htdocs/mymodule/core/boxes/mybox0.php''', '''htdocs/mymodule/core/boxes/mybox1.php'''... by copying an example from an existing box file (found into directory '''htdocs/core/boxes''').<br />
<br />
=== Test if your box is detected by Dolibarr ===<br />
Disable and enabled module.<br />
<br />
Go into menu '''Home - Setup - Boxes'''.<br />
<br />
Your boxes must appear in the list of boxes you can activated. Activate the box and go on home page to see if the box is showing correctly.<br />
<br />
== Define your own export (optional) ==<br />
'''When''': If your module provide new predefined database export profiles (for its own tables or for already existing tables of another module).<br />
<br />
=== Define export ===<br />
For this uncomment and modify arrays $this->export_xxx in your module descriptor file.<br />
<br />
=== Test your export ===<br />
Go into menu Tools -> Export. Your export will appear in the list of available predefined exports (if your module is enabled).<br />
Choose it, you must see list of all possible fields defined in the export arrays.<br />
Choose on field and try to build an export file. If ok, try again with all fields.<br />
<br />
== Define your CSS styles (optional) ==<br />
'''When''': If in your PHP pages, you use class styles that are not defined inside Dolibarr themes CSS (not recommanded).<br />
<br />
=== Create and declare your style sheet ===<br />
Create a style sheet CSS named '''mymodule.css''' or '''mymodule.css.php''' and put it into directory '''htdocs/mymodule'''. You can have only one CSS file per module.<br />
Remember it's better to use existing styles already available by default into Dolibarr (The CSS file used by Dolibarr is file '''themes/mytheme/''themename''.css.php'''. Create your own CSS file only if you need absolutely to add not already existing styles.<br />
<br />
Once your style sheet is ready, declare it into your module descriptor file by modifying the property '''$this->modules_parts'''.<br />
Value to put here must be a relative URL to your CSS file.<br />
For example<br />
<source lang="php"><br />
$this->module_parts = array('css' => array('/mymodule/css/mymodule.css.php'));<br />
</source><br />
<br />
=== Test your style sheet ===<br />
Disable and enable your module.<br />
<br />
Go on home page (index.php). Show the HTML source of the page.<br />
<br />
You should see into the HTML header, a line that declare your style sheet.<br />
<br />
== Add your Javascript functions (optional) ==<br />
'''When''': If in your PHP pages, you use javascript functions not available in Dolibarr (in file lib_head.js)<br />
<br />
If you need to use your own javascript functions inside your PHP pages, it is necessary to have your functions, defined into your javascript file '''htdocs/mymodule/js/mymodule.js''', included into the HTML HEAD section.<br />
To ask Dolibarr that forge this header to include your own javascript file, you must just provide it to the llxHeader() function called by your page.<br />
<br />
Example for page /htdocs/mymodule/mypage.php :<br />
<source lang="php"><br />
require('../main.inc.php');<br />
$morejs=array("/mymodule/js/mymodule.js");<br />
llxHeader('','Titre','','','','',$morejs,'',0,0); <br />
</source><br />
<br />
== Run your own code on any Dolibarr event (optional) ==<br />
'''When''': If you want to execute your own code once a common Dolibarr event has occurred (example: I want to update a table in my module when an invoice is created into Dolibarr), you must create a '''triggers'''.<br />
<br />
See also [[Interfaces_Dolibarr_toward_foreign_systems]]<br />
and [[Interfaces_from_foreign_systems_toward_Dolibarr]]<br />
<br />
== Insert your code inside Dolibarr hooks positions (optional) ==<br />
'''When''': When you want to add code or replace Dolibarr code into another situation than a business event (See previous chapter for adding code during a business event).<br />
<br />
See page [[Hooks_system]].<br />
<br />
<br />
== Add your own numbering rules ==<br />
'''When''': When you need a new rule for generated ref of elements that is not covered by existing rules.<br />
<br />
See page [[Create numbering module]].<br />
<br />
== Add your document template (optional) ==<br />
'''When''': When you want to personalized your own generated PDF or ODT documents.<br />
<br />
Note: To add this feature you don't need to create a module descriptor.<br />
<br />
Documentation to add your own template is available on page [[Create_a_PDF_document_template]] or [[Create_an_ODT_document_template]].<br />
<br />
== Add your skin (optional) ==<br />
'''When''': When you want to personalized your colors/fonts/images.<br />
<br />
Note: To add this feature you don't need to create a module descriptor.<br />
<br />
To add your own skin, read page [[Skins]].<br />
<br />
=Some coding rules and predefined functions =<br />
The coding rules to be followed are defined in the [[Developer documentation]], under section "General Information - Language and standards development".<br />
<br />
A lot of predefined features for developers are also available and described into page [[Developer documentation]] under section "Technical components of Dolibarr".<br />
<br />
=Using MDA =<br />
A method to generate a functional module from a UML model has been developed. More information on the page [[UML2Dolibarr - Build a module using MDA]].<br />
<br />
=Create a package to distribute and install your module =<br />
This process must be used to generate a package to submit it on the http://www.dolistore.com market place.<br />
But you can use it to have a package easy to distribute on your on network.<br />
<br />
* Go into the directory '''/build''' and copy the file '''makepack-dolibarrmodules.conf''' into '''makepack-mymodule.conf'''. Warning, this directory may not be provided in some packages of stable versions. If so, it can be retrieved from the snapshot available for download on the Dolibarr website in area "Development version" (taken in this case the whole build directory which is autonomous and independent directory).<br />
<br />
Edit this file to add list of file names for all new files you created for your module (module descriptor, new sql tables files, php page, images, etc...)<br />
<br />
* Run the script via Perl (need the Perl version 5.0 or later):<br />
<source lang="bash"><br />
perl makepack-dolibarrmodule.pl<br />
</source><br />
The script asks you the name of your module, its major and minor version. A file '''mymodule.zip ''' will then be manufactured containing your module ready to be deployed.<br />
<br />
* The person who receives your module must then place the file in the root directory of a Dolibarr installation and perform the command:<br />
<source lang="bash"><br />
tar -xvf mymodule.zip<br />
</source><br />
<br />
* If you want your module to be public, you can submit it (the zip file) on Dolibarr market place web site: {{LinkToPluginDownload}} (you must create an account first and be logged to use the link "Submit a module/product").<br />
** If your module was build correctly, file will be validated later.<br />
** If quality is enough and license permits it, code might be added inside main Dolibarr sources (except if you disagree for that).<br />
<br />
= [[File:Art.png]] Enabling/activation condition of external module on DoliStore =<br />
<br />
See [[Module_Dolistore_Validation_Rules|Validation Rules]]</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=M%C3%B3dulo_Productos&diff=29787
Módulo Productos
2013-07-03T06:02:07Z
<p>Marcosgdf: /* Productos asociados */</p>
<hr />
<div>[[Category:Producto]]<br />
{{TemplateDocUsuario}}<br />
{{TemplateModES}}<br />
{{BasculeDevUsuario|<br />
nom=Productos|<br />
num=50|<br />
devdoc=[[Módulo Productos (desarrollador)]]|<br />
userdoc=Esta página|}}<br />
<br />
= Introducción =<br />
Este módulo le permite gestionar un catálogo de productos. Vea también el [[Módulo Servicios]] para gestionar un catálogo de servicios.<br />
<br />
= Instalación =<br />
{{NoInstallModuleEs}}<br />
<br />
= Configuración =<br />
{{ActivationModuleEs}}<br />
<br />
= Definición =<br />
== Productos ==<br />
Un producto en Dolibarr es un bien a gestionar, ya que caracteriza a un objeto ofrecido a los clientes, o a que caracteriza a un objeto obtenido de los proveedores.<br />
Estos son tangibles, a diferencia de los [[Servicios]].<br />
<br />
Un producto responde, en resumen, a las siguientes reglas:<br />
* Un producto puede ser almacenado en un almacén (Sólamente los productos aparecen en el módulo [[StocksES|Stocks]]. Los servicios no aparecerán).<br />
* Un producto puede ser entregado (Sólamente los productos aparecen en el módulo [[Módulo Expediciones|Expediciones]]. Los servicios no aparecerán. Estos últimos se pueden o no realizar, pero no se pueden entregar).<br />
* Un producto es normalmente un bien material. Su valor suele depreciarse con el tiempo (Un producto de ocasión vale menos que el mismo producto nuevo).<br />
<br />
== Productos compuestos ==<br />
Los productos compuestos son los [[Productos]] anclados a un producto padre.<br />
<br />
Un producto compuesto responde, a las siguientes reglas:<br />
* Al añadir un producto en un documento (presupuesto, factura, pedido), sólo el padre del producto aparece en la pantalla.<br />
* Las existencias de un subproducto se aumentan/disminuyen cuando el producto disminuye.<br />
<br />
= Ciclo de vida/Reglas de gestión =<br />
{{ToComplete}}<br />
<br />
= Ejemplos casos de uso =<br />
{{ToComplete}}<br />
{{ExamplesCaseEs<br />
|nombre=UCMP01: <br />
|situacion=<br />
|acciones=<br />
}}&nbsp;</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Language_and_development_rules&diff=29453
Language and development rules
2013-05-03T21:55:37Z
<p>Marcosgdf: /* PostgeSQL specificities */</p>
<hr />
<div>{{TemplateDocDevEn}}<br />
<br />
This is some rules on language, syntax and norm we use into Dolibarr project:<br />
<br />
= Versions =<br />
* Dolibarr must works on:<br />
# All OS (Windows, Linux, MACOS...)<br />
# PHP {{PHPMinVersion}} (Must works with no need of complementary PHP module, except module to PHP module to access database).<br />
# Mysql {{MySqlMinVersion}}<br />
<br />
= Copyright Norms =<br />
* All PHP files must start with a header that looks like <br />
<source lang="php"><br />
<?php<br />
/* Copyright (C) YYYY John Doe <email@email.com><br />
*<br />
* Licence information<br />
*/<br />
...<br />
</source><br />
When you edit an existing file of project, you must add a Copyright line under others.<br />
<br />
= PHP Norms =<br />
* Dolibarr is written with PHP and supports all PHP version higher than {{PHPMinVersion}}. All files must end with extension .php<br />
<br />
* Usage of superglobals PHP variables must use dedicated operators $_COOKIES, $_SERVER, $_ENV but use dolibarr function GETPOST() to get content of $_GET or $_POST..<br />
Other operators ($HTTP_SERVER_GET, ...) are now deprecated inside PHP, so they must no more be used. Like that code will works alos if option '''register_long_arrays''' is to off.<br />
Moreover, the code must works when PHP option '''register_globals''' is off (recommanded by PHP). It must works the same way that when option '''register_globals''' is on (by default on a lot of installations).<br />
<br />
* Smart tags PHP are not used. PHP code section must start with '''<?php'''<br />
<br />
* Do not use '''PHP_SELF'''. Use instead $_SERVER["PHP_SELF"].<br />
<br />
* When several variables must be initialized with same value, you must use several lines<br />
<source lang="php"><br />
$var1=1;$var2=1;$var3=1;<br />
</source><br />
instead of<br />
<source lang="php"><br />
$var1=$var2=$var3=1;<br />
</source><br />
that is slower.<br />
<br />
* String must be rounded by simple quote and vairable inside string must be out of the quote.<br />
<source lang="php"><br />
print 'My text show my '.$variable.' !';<br />
</source><br />
<br />
* Comments must use the C syntax, ie a double antislash for a comment on one line and a slash-star to open a bloc for several lines<br />
<source lang="php"><br />
/* Bloc of comment<br />
*<br />
* End of bloc<br />
*/<br />
<br />
$monobjet = new MonObjet($db);<br />
$result=$monobjet->fetch($idobject);<br />
<br />
for ($i = 1 , $i < 2 ; $i++)<br />
{<br />
// comment on one line<br />
print $i;<br />
}<br />
<br />
</source><br />
<br />
* Files must be saved with Unix format (LF) and not Windows (CR/LF). Unif format is compatible on all OS like Unix like, Windows, Mac, but the Windows text file format is no working on some PHP under Unix.<br />
<br />
* Functions must return a value strictly higher than 0 if successfull and strictly lower than 0 if error.<br />
<br />
* No dead code (code never used) into Dolibarr core code (code used by external modules only must be included into external modules).<br />
<br />
* Use "include_once" for anything with functions or class definitions in it (so *.class.php and *.lib.php files), use "include" for template-style php with files containing a mix of HTML and PHP (so *.inc.php and *.tpl.php files).<br />
<br />
= SQL rules =<br />
<br />
== Table structures ==<br />
<br />
* Structure of tables.<br />
When you create a new table, it is recommanded to use same conventions than other Dolibarr tables. This means the following fields:<br />
- rowid integer for id<br />
- tms timestamp that will contains date of last modification (the database manage this field automaticaly, no need to manage it by the code, just create the field)<br />
- import_key that will contains the import code YYYYMMDDHHMMSS if you make mass import.<br />
Eventualy<br />
- datec timestamp that is the creation date<br />
- fk_user_creat integer that is the id of user making creation<br />
- fk_user_modif integer that is the id of user making change<br />
<br />
Note field:<br />
- note_private text for private comment of the object<br />
- note_pubic text for public comment of the object<br />
or <br />
- note text if there is no need to have private and public<br />
<br />
<br />
* Type of fields:<br />
Well, to be compatible with any accurancy required by any country on amounts, and with any database syntax, we will use the following type into database:<br />
- integer for an any of foreign key<br />
- double(24,8) for any amount<br />
- double(6,3) for any vat rate<br />
- real for a quantity<br />
- varchar for a string (also if length is 1, the type char is more and more deprecated)<br />
- timestamp for a field date+time that is automatically updated<br />
- datetime for a field date+tie<br />
- date for a field date<br />
<br />
* All tables has a prefix to avoid name conflicts with other projects. In current version this prefix is fixed ans can't be modified. Its value is <tt>llx_</tt>. In a future version this value should be modified during installation process.<br />
<br />
== Primary keys ==<br />
The primary key of a table must be called <tt>rowid</tt>.<br />
<br />
Some old tables does not use this rule and use a primary key called <tt>id</tt> (ie [[Table llx_c_actioncomm]]), but the reason is history and this should not happens anymore.<br />
<br />
== Foreign keys ==<br />
A foreign key name must start with prefix <tt>fk_</tt> followed by the table name linked (this is required to avoid duplicate names in project that are not allowed even if on different tables by some DBMS like Postgresql) then the name of child field (this is to allow to have several foreign keys on same table).<br />
<br />
Example:<br />
''fk_facture_fourn_fk_soc'' is a foreign key on table llx_facture_fourn for field fk_soc in this table (that link to the rowid field in another table)<br />
<br />
Note: If you develop your own external module, it must have no foreign keys that point to Dolibarr standard tables. This will break standard dolibarr upgrades, repair, backup and restore tools and may also break standard features.<br />
<br />
== Alternative keys ==<br />
Sometimes, we need another unique keys than primary key. We can add in this case an alternate unique key. When we need this, we can create an alternate unique key. Such an index is called by a name that start by prefix <tt>uk_</tt> followed by an underscore, then the the table name (this is required to avoid duplicate names of unique keys that may create problems for some DBMS like Postgresql) and then another string to define the key (this is to allow to have several unique keys on same table).<br />
<br />
Example:<br />
''uk_societe_code_client'' is a unique key on table llx_societe on field code_client.<br />
<br />
== Index performance ==<br />
Some fields are often used as search or order criteria, or for joins. In such case, we need to set a performance index on field to increase performances. Such indexes are named with a prefix <tt>idx_</tt> then the table name and then the field name.<br />
<br />
Example:<br />
''idx_societe_user_creat'' is a performance index on table llx_societe for field user_creat<br />
<br />
== DDL file format ==<br />
Files that contain definition of the database structure (DDL files) must be 2 per tables:<br />
* Each table is defined by its own file whose name is <tt>llx_''mytable''.sql</tt><br />
A comment will be added on each field to explain its usage.<br />
* All foreign keys, performance indexes or other constraints will be defined into another file called <tt>llx_''mytable''.key.sql</tt><br />
<br />
Those files must be stored into directory '''install/mysql/tables''' for all standard files or '''mymodule/tables''' for tables provided by an external module.<br />
<br />
Example '''file of table llx_mytable.sql''':<br />
<br />
<source lang="sql"><br />
-- ===========================================================================<br />
-- Copyright (C) 2008 Author <email@author.com><br />
-- <br />
-- This program is free software; you can redistribute it and/or modify<br />
-- it under the terms of the GNU General Public License as published by<br />
-- the Free Software Foundation; either version 2 of the License, or<br />
-- (at your option) any later version.<br />
--<br />
-- This program is distributed in the hope that it will be useful,<br />
-- but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br />
-- GNU General Public License for more details.<br />
--<br />
-- You should have received a copy of the GNU General Public License<br />
-- along with this program. If not, see <http://www.gnu.org/licenses/>.<br />
-- ===========================================================================<br />
<br />
create table llx_mytable<br />
(<br />
rowid integer AUTO_INCREMENT PRIMARY KEY,<br />
field_one integer,<br />
field_two integer NOT NULL,<br />
fk_field integer,<br />
field_date datetime,<br />
tms timestamp<br />
)type=innodb;<br />
</source><br />
<br />
Example '''file for keys/indexs on llx_mytable.key.sql''':<br />
<br />
<source lang="sql"><br />
-- ===========================================================================<br />
-- Copyright (C) 2008 Author <email@author.com><br />
-- <br />
-- This program is free software; you can redistribute it and/or modify<br />
-- it under the terms of the GNU General Public License as published by<br />
-- the Free Software Foundation; either version 2 of the License, or<br />
-- (at your option) any later version.<br />
--<br />
-- This program is distributed in the hope that it will be useful,<br />
-- but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br />
-- GNU General Public License for more details.<br />
--<br />
-- You should have received a copy of the GNU General Public License<br />
-- along with this program. If not, see <http://www.gnu.org/licenses/>.<br />
-- ===========================================================================<br />
<br />
ALTER TABLE llx_matable ADD UNIQUE uk_matable_field(field_one, field_two);<br />
<br />
ALTER TABLE llx_matable ADD CONSTRAINT fk_matable_fk_field FOREIGN KEY (fk_field) REFERENCES llx_matablepere (rowid);<br />
</source><br />
<br />
== SQL Coding rules ==<br />
* Alias usage/Fields naming<br />
When doing select, we can use alias to simplify writing/reading of requests:<br />
<source lang="sql"><br />
select chp1, chpxxx2 as chp2 from table2 as t1, table2 as t2 where t1.chpx = t2.chpy<br />
</source><br />
However, we must not used alias for update request as they are not compatible with Mysql 3.1.<br />
<br />
* All SELECT * are forbidden ! Any SELECT must define complete list of fields to get. This avoid confusion. Example:<br />
<source lang="sql"><br />
SELECT field_a, field_b, field_c FROM table_1 WHERE field_d = '$id'<br />
</source><br />
<br />
* Into SQL requests, you must quote fields except fields that contains amounts that must be stored as double or real type. Quotes on numbers may results in saving a different value. For example 412.62 in an insert will be saved with value 412.61999512 into database (due to implicit conversion string to numeric) if target field has type double(24,8). Only PHP see value 412.61999512. Other tools will see 412.62 giving sensation that there is no problem. But it's PHP that hase the good vision. There is really a wrong value into database. By removing quotes on numbers, no problem occurs.<br />
<br />
Example:<br />
<source lang="sql"><br />
Good: INSERT INTO table_1 (field_txt, field_num) VALUES ('txt', 412.62)<br />
Bad: INSERT INTO table_1 (field_txt, field_num) VALUES ('txt', '412.62')<br />
</source><br />
<br />
Note, problem of float numbers is same problem on all langauges and not only when inserting data into database. It occurs also with any language when you work on "real" numbers, so numbers must be, as soon as they are affected, cleaned with function price2num with second parameter defined to :<br />
'MU' (for unit prices), 'MT' (for total prices) or 'MS' (otherwise) depending on usage of number. (see function documentation)<br />
<br />
* Functions NOW or SYSDATE are forbidden inside SQL requests. If you must use the current date into a field, value must come from the PHP and not from the database engine. This is to avoid a better portability of code and a correct management of TimeZone.<br />
<br />
== Mysql specificities ==<br />
* Tables must be declared with format InnoDB.<br />
This format support foreign keys and their restrictions, and transactions integrity is also supported. This guarantee that Dolibarr events keep all data with correct values between tables even even transaction modify different tables.<br />
<br />
* Dolibarr must works even if Mysql option '''strict''' is active.<br />
To activate it (recommanded when developping on Dolibarr), add the following line into the config file of your Mysql server (my.cnf)<br />
<source lang="ini"><br />
sql-mode="STRICT_ALL_TABLES,ONLY_FULL_GROUP_BY,NO_ZERO_DATE"<br />
</source><br />
<br />
== PostgreSQL specificities ==<br />
Only Mysql SQL files must be maintained.<br />
Those files are converted "on the fly" by the database Dolibarr driver.<br />
<br />
There is an exception<br />
The SQL "UPDATE FROM" : <br />
Syntax MySQL :<br />
<source lang="sql"><br />
UPDATE table_taget as target, table_source as source SET fieldtarget=source.fieldsource<br />
WHERE source.rowid=target.rowid;<br />
</source><br />
<br />
Syntax PgSQL:<br />
<source lang="sql"><br />
UPDATE table_taget as target SET fieldtarget=source.fieldsource<br />
FROM table_source as source WHERE source.rowid=target.rowid;<br />
</source><br />
<br />
There is no native SQL request "update from" in dolibarr core. But in your module you should do :<br />
<source lang="php"><br />
if ($this->db->type=='pgsql') {<br />
$sql="UPDATE table_taget as target SET fieldtarget=source.fieldsource<br />
FROM table_source as source WHERE source.rowid=target.rowid";<br />
} else {<br />
$sql= "UPDATE table_taget as target, table_source as source SET fieldtarget=source.fieldsource<br />
WHERE source.rowid=target.rowid";<br />
}<br />
</source><br />
<br />
= HTML norms =<br />
* HTML used must be HTML compliant and not XHTML. All attributes of HTML tags must be in lower case and quoted with ".<br />
<br />
* Links href must be absolute and use the function dol_buildpath() to get absolute path from a relative path and img tag must be build using function img_picto().<br />
For example:<br />
<source lang="php"><br />
print '<a href="'.dol_buildpath('/mydir/mypage.php').'">'.img_picto('Texte alt','namepictopng','').'</a>';<br />
</source><br />
<br />
* HTML tables must have columns with no forced width, except for columns that contains data we know the length. For example, a column with a picto only can be forced to with="20px".<br />
Otherwise, we must avoid forcing the column width. Reason is that, in most cases, the browser make a better works to define column width automatically than forced values, and it works whatever is the resolution.<br />
<br />
* Javascript/ajax code and call to javascript files into php pages must be avoided. However, if you need to include javascript code, you must add a condition on "$conf->use_javascript_ajax"<br />
<source lang="php"><br />
if ($conf->use_javascript_ajax) {<br />
... // php code generating javascript here<br />
}<br />
</source><br />
<br />
* Popups windows must not be used, except for tooltips (and must have a condition as explained before).<br />
<br />
* External scripts must be written into Perl if they can't be written into PHP. Usage of another language is not forbidden but must be argue before onto development mailing-list.<br />
<br />
= Dolibarr norms and code skeleton =<br />
<br />
== Skeleton code ==<br />
To standardize the code, and to speed up the development of new components in Dolibarr, you'll find 4 skeletons fully prepared in the directory '''dev/skeletons'''.<br />
<br />
* 1 that serves as an example of the module description: '''myModule.class.php'''<br />
* 1 that serves as an example of code for creating a new class: '''skeleton_class.class.php'''<br />
* 1 that serves as an example of code for creating a new page: '''skeleton_page.php'''<br />
* 1 that serves as an example of code for creating a script for executing command lines: '''skeleton_script.php'''<br />
<br />
Use it as an example.<br />
Note that the skeletons are also used by the PHP code generator, which is described in the development chapter of Dolibarr modules, to speed up your development.<br />
<br />
== Dates and Timezones ==<br />
Dolibarr is an application that is multi-user and multi-location. It's therefore necessary to store dates in the right format. To avoid problems with conversions, the following rules should be applied:<br />
<br />
* A date into memory must always be stored with Timestamp GMT format.<br />
* A date stored into database, is the GMT Timestamp of date submitted into the request usng the <b>PHP server</b> timezone. This does not apply to date update automatically by database (fields '''tms''' into database).<br />
For exemple le 1st january 1970, 3 hour at Paris (TZ=+1) = 2 hour at Greenwitch (TZ=0) will be stored into memory with value 7200 and will be submitted into a SQL request to database with the string '19700101030000' (PHP convert into its TZ hour and databse will unconvert it using its timezone too that is same than PHP).<br />
<br />
All select methods should translate date fields, that are with format TZ of database ('19700101030000'), into a timestamp field by calling the method db->jdate. This is to store into memory a GTM Timestamp date. All insert methods must convert, during generation of SQL request, the memory date into the string by using db->idate (you may find examples into skeleton).<br />
<br />
* Dates that are updated automatically (field '''tms''' into database) contains a GMT Timestamp GMT of date when change is done. The select will also use the db->jdate (that use PHP server TZ) to convert read data into a GMT Timestamp into memory. So if timezone of database differs from timezone of PHP server (one of them is not correctly set), you may experience differences between creation date and update date.<br />
<br />
* Manipulation date with PHP must be done using the Dolibarr date functions: '''dol_now(), dol_mktime(), dol_stringtotime(), dol_getdate(), dol_time_plus_duree()'''. You may also find other functions available into file '''date.lib.php'''.<br />
<br />
== UTF8/ISO encoding ==<br />
Dolibarr stores data in the following way:<br />
* In database, data is stored in UTF8 or ISO. It depends on the database's pagecode therefore these options are set at creation time. In any case, Dolibarr's database driver (in lib/database) deals with it to convert from/to UTF8 at insertion and readout.<br />
* Memory data is stored in UTF8 (PHP object instances).<br />
* Screen displayed web pages are UTF8 (for versions prior to 2.5.1, the deprecated $character_set parameter from conf.php file defines output format).<br />
<br />
== Float numbers, amount and calculation ==<br />
With PHP, like other languages (Java for exemple), non integer data (float, real, double) are not reliable for calculation.<br />
Try to make for example <br />
<source lang="php"><br />
print 239.2 - 229.3 - 9.9;<br />
</source><br />
You wont get zero but a very small decimal number. If you get zero her, you should be able to find other examples that don't work.<br />
Problem of float is general, so a variable that is a result of a calculation using decimal numbers must ALWAYS be cleaned using the function '''price2num()''' with the econd parameter to: 'MU', 'MT' or 'MS' depending on need (see description of function).<br />
<source lang="php"><br />
print price2num(239.2 - 229.3 - 9.9, 'MT');<br />
</source><br />
If data manipulated is not an amount, so using MU, MT, MS has no sense, so you must use the function '''round()'''.<br />
<br />
== Creation of tables ==<br />
Do not create tables, on the fly, during execution by a standard user, we mean, during current usage of software.<br />
If you create a module that use its own table not available into default Dolibarr code, take a look at tutorial [[Module Development]] that will explain you how roviding new tables with your module to have the created during module activation and not during module usage.<br />
<br />
== Logs ==<br />
Add logs to your code using function<br />
<source lang="php"><br />
dol_syslog($yourmessage, LOG_INFO|LOG_DEBUG|LOG_WARNING|LOG_ERR);<br />
</source><br />
<br />
== Working directory ==<br />
If you need to create a working directory, into your code, refer to it with <br />
'''DOL_DATA_ROOT.'/monmodule''''<br />
<br />
The directory can be created into your code by the following fnction:<br />
<source lang="php"><br />
$mymoduledir=DOL_DATA_ROOT.'/monmodule';<br />
dol_mkdir($mymoduledir);<br />
</source><br />
<br />
If you need a directory to store temporary data, this directory must be '''DOL_DATA_ROOT.'/monmodule/temp''''<br />
<br />
= Design patterns and Object programming =<br />
<br />
== Creation design patterns (GoF) ==<br />
Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]).<br />
No usage of such patterns is required. We found some objects next to Singletons or Factory but not completely compliant with syntax, this is to be compatible with PHP 4 that is not a pure object language. <br />
<br />
== Structure design patterns (GoF) ==<br />
Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]). <br />
No usage of such patterns is required.<br />
<br />
== Behavior design patterns (GoF) ==<br />
Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]). <br />
No usage of such patterns is required.<br />
<br />
== Design patterns of enterprise (Martin Fowler) ==<br />
<br />
=== Patterns of code organization ===<br />
[[wikipedia:Martin Fowler|Martin Fowler]] has identified 3 ways to organize code:<br />
* The '''Transaction Script''' (The source code is linear for each user action).<br />
This is the old school used by all procedural languages.<br />
Inconvenient: Redundancy of code. Need to know the physical model of data to develop.<br />
* The '''Domain Model'''<br />
This notion is available with object languages. It is business process (to identify before) that are used for objects classes.<br />
Inconvenient: Model very complex to maintain.<br />
* The '''Table Module'''<br />
This is a mix between 2 previous where we have only one unique class for each table of database.<br />
<br />
-> As shown in code skeletons (see previous chapter), Dolibarr use concept of '''Table Module'''.<br />
<br />
=== Communication between business logic - data (ORM) ===<br />
<br />
There is 3 way to make links:<br />
<br />
* The '''Table And Row Data Gateway'''<br />
This is the most simple. You have one class per table and each class is a link to the table with CRUD methods (Ceate, Read, Update, Delete). A class instance is a record a the table. The class contains only code to reach lines and fields of table.<br />
<br />
Example: This mode is used by some ORM Frameworks, like '''iBatis''' (http://ibatis.apache.org/).<br />
<br />
* The '''Active Record'''<br />
Same than previous, but we are allowed to add some business functions into the class, if such functions are dedicated to the table or recordng into this table.<br />
<br />
Example: This mode is used for Dolibarr development and most PHP softwares that includes their own framework and best practices.<br />
<br />
* The '''Data Mapper'''<br />
Classes represent entities of the problem and not the data. So you have to double, triple ... theese classes with Mapper classes to access the data.<br />
More "purist" on paper (closer of business), this method also has the disadvantage of being more complex in practice.<br />
<br />
Example: This is the choice if you use the ORM Framework '''Propel''' (http://propel.phpdb.org/trac/). We find this model on heavier applications, based on this ORM among others.<br />
<br />
-> For Dolibarr development, it is recommended to use the connection mode '''Active Record''', which offers the advantages of a model close to the business without having the complexity, without obfuscating the technique. It is in this way that the development, understanding of code and technical maintenance and / or business seems the more productive (this is however an ongoing debate between the purists and the pragmatists, debate in which nobody can really be right, because it depends on the objectives).</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Language_and_development_rules&diff=29452
Language and development rules
2013-05-03T21:55:04Z
<p>Marcosgdf: /* Table strutures */</p>
<hr />
<div>{{TemplateDocDevEn}}<br />
<br />
This is some rules on language, syntax and norm we use into Dolibarr project:<br />
<br />
= Versions =<br />
* Dolibarr must works on:<br />
# All OS (Windows, Linux, MACOS...)<br />
# PHP {{PHPMinVersion}} (Must works with no need of complementary PHP module, except module to PHP module to access database).<br />
# Mysql {{MySqlMinVersion}}<br />
<br />
= Copyright Norms =<br />
* All PHP files must start with a header that looks like <br />
<source lang="php"><br />
<?php<br />
/* Copyright (C) YYYY John Doe <email@email.com><br />
*<br />
* Licence information<br />
*/<br />
...<br />
</source><br />
When you edit an existing file of project, you must add a Copyright line under others.<br />
<br />
= PHP Norms =<br />
* Dolibarr is written with PHP and supports all PHP version higher than {{PHPMinVersion}}. All files must end with extension .php<br />
<br />
* Usage of superglobals PHP variables must use dedicated operators $_COOKIES, $_SERVER, $_ENV but use dolibarr function GETPOST() to get content of $_GET or $_POST..<br />
Other operators ($HTTP_SERVER_GET, ...) are now deprecated inside PHP, so they must no more be used. Like that code will works alos if option '''register_long_arrays''' is to off.<br />
Moreover, the code must works when PHP option '''register_globals''' is off (recommanded by PHP). It must works the same way that when option '''register_globals''' is on (by default on a lot of installations).<br />
<br />
* Smart tags PHP are not used. PHP code section must start with '''<?php'''<br />
<br />
* Do not use '''PHP_SELF'''. Use instead $_SERVER["PHP_SELF"].<br />
<br />
* When several variables must be initialized with same value, you must use several lines<br />
<source lang="php"><br />
$var1=1;$var2=1;$var3=1;<br />
</source><br />
instead of<br />
<source lang="php"><br />
$var1=$var2=$var3=1;<br />
</source><br />
that is slower.<br />
<br />
* String must be rounded by simple quote and vairable inside string must be out of the quote.<br />
<source lang="php"><br />
print 'My text show my '.$variable.' !';<br />
</source><br />
<br />
* Comments must use the C syntax, ie a double antislash for a comment on one line and a slash-star to open a bloc for several lines<br />
<source lang="php"><br />
/* Bloc of comment<br />
*<br />
* End of bloc<br />
*/<br />
<br />
$monobjet = new MonObjet($db);<br />
$result=$monobjet->fetch($idobject);<br />
<br />
for ($i = 1 , $i < 2 ; $i++)<br />
{<br />
// comment on one line<br />
print $i;<br />
}<br />
<br />
</source><br />
<br />
* Files must be saved with Unix format (LF) and not Windows (CR/LF). Unif format is compatible on all OS like Unix like, Windows, Mac, but the Windows text file format is no working on some PHP under Unix.<br />
<br />
* Functions must return a value strictly higher than 0 if successfull and strictly lower than 0 if error.<br />
<br />
* No dead code (code never used) into Dolibarr core code (code used by external modules only must be included into external modules).<br />
<br />
* Use "include_once" for anything with functions or class definitions in it (so *.class.php and *.lib.php files), use "include" for template-style php with files containing a mix of HTML and PHP (so *.inc.php and *.tpl.php files).<br />
<br />
= SQL rules =<br />
<br />
== Table structures ==<br />
<br />
* Structure of tables.<br />
When you create a new table, it is recommanded to use same conventions than other Dolibarr tables. This means the following fields:<br />
- rowid integer for id<br />
- tms timestamp that will contains date of last modification (the database manage this field automaticaly, no need to manage it by the code, just create the field)<br />
- import_key that will contains the import code YYYYMMDDHHMMSS if you make mass import.<br />
Eventualy<br />
- datec timestamp that is the creation date<br />
- fk_user_creat integer that is the id of user making creation<br />
- fk_user_modif integer that is the id of user making change<br />
<br />
Note field:<br />
- note_private text for private comment of the object<br />
- note_pubic text for public comment of the object<br />
or <br />
- note text if there is no need to have private and public<br />
<br />
<br />
* Type of fields:<br />
Well, to be compatible with any accurancy required by any country on amounts, and with any database syntax, we will use the following type into database:<br />
- integer for an any of foreign key<br />
- double(24,8) for any amount<br />
- double(6,3) for any vat rate<br />
- real for a quantity<br />
- varchar for a string (also if length is 1, the type char is more and more deprecated)<br />
- timestamp for a field date+time that is automatically updated<br />
- datetime for a field date+tie<br />
- date for a field date<br />
<br />
* All tables has a prefix to avoid name conflicts with other projects. In current version this prefix is fixed ans can't be modified. Its value is <tt>llx_</tt>. In a future version this value should be modified during installation process.<br />
<br />
== Primary keys ==<br />
The primary key of a table must be called <tt>rowid</tt>.<br />
<br />
Some old tables does not use this rule and use a primary key called <tt>id</tt> (ie [[Table llx_c_actioncomm]]), but the reason is history and this should not happens anymore.<br />
<br />
== Foreign keys ==<br />
A foreign key name must start with prefix <tt>fk_</tt> followed by the table name linked (this is required to avoid duplicate names in project that are not allowed even if on different tables by some DBMS like Postgresql) then the name of child field (this is to allow to have several foreign keys on same table).<br />
<br />
Example:<br />
''fk_facture_fourn_fk_soc'' is a foreign key on table llx_facture_fourn for field fk_soc in this table (that link to the rowid field in another table)<br />
<br />
Note: If you develop your own external module, it must have no foreign keys that point to Dolibarr standard tables. This will break standard dolibarr upgrades, repair, backup and restore tools and may also break standard features.<br />
<br />
== Alternative keys ==<br />
Sometimes, we need another unique keys than primary key. We can add in this case an alternate unique key. When we need this, we can create an alternate unique key. Such an index is called by a name that start by prefix <tt>uk_</tt> followed by an underscore, then the the table name (this is required to avoid duplicate names of unique keys that may create problems for some DBMS like Postgresql) and then another string to define the key (this is to allow to have several unique keys on same table).<br />
<br />
Example:<br />
''uk_societe_code_client'' is a unique key on table llx_societe on field code_client.<br />
<br />
== Index performance ==<br />
Some fields are often used as search or order criteria, or for joins. In such case, we need to set a performance index on field to increase performances. Such indexes are named with a prefix <tt>idx_</tt> then the table name and then the field name.<br />
<br />
Example:<br />
''idx_societe_user_creat'' is a performance index on table llx_societe for field user_creat<br />
<br />
== DDL file format ==<br />
Files that contain definition of the database structure (DDL files) must be 2 per tables:<br />
* Each table is defined by its own file whose name is <tt>llx_''mytable''.sql</tt><br />
A comment will be added on each field to explain its usage.<br />
* All foreign keys, performance indexes or other constraints will be defined into another file called <tt>llx_''mytable''.key.sql</tt><br />
<br />
Those files must be stored into directory '''install/mysql/tables''' for all standard files or '''mymodule/tables''' for tables provided by an external module.<br />
<br />
Example '''file of table llx_mytable.sql''':<br />
<br />
<source lang="sql"><br />
-- ===========================================================================<br />
-- Copyright (C) 2008 Author <email@author.com><br />
-- <br />
-- This program is free software; you can redistribute it and/or modify<br />
-- it under the terms of the GNU General Public License as published by<br />
-- the Free Software Foundation; either version 2 of the License, or<br />
-- (at your option) any later version.<br />
--<br />
-- This program is distributed in the hope that it will be useful,<br />
-- but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br />
-- GNU General Public License for more details.<br />
--<br />
-- You should have received a copy of the GNU General Public License<br />
-- along with this program. If not, see <http://www.gnu.org/licenses/>.<br />
-- ===========================================================================<br />
<br />
create table llx_mytable<br />
(<br />
rowid integer AUTO_INCREMENT PRIMARY KEY,<br />
field_one integer,<br />
field_two integer NOT NULL,<br />
fk_field integer,<br />
field_date datetime,<br />
tms timestamp<br />
)type=innodb;<br />
</source><br />
<br />
Example '''file for keys/indexs on llx_mytable.key.sql''':<br />
<br />
<source lang="sql"><br />
-- ===========================================================================<br />
-- Copyright (C) 2008 Author <email@author.com><br />
-- <br />
-- This program is free software; you can redistribute it and/or modify<br />
-- it under the terms of the GNU General Public License as published by<br />
-- the Free Software Foundation; either version 2 of the License, or<br />
-- (at your option) any later version.<br />
--<br />
-- This program is distributed in the hope that it will be useful,<br />
-- but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br />
-- GNU General Public License for more details.<br />
--<br />
-- You should have received a copy of the GNU General Public License<br />
-- along with this program. If not, see <http://www.gnu.org/licenses/>.<br />
-- ===========================================================================<br />
<br />
ALTER TABLE llx_matable ADD UNIQUE uk_matable_field(field_one, field_two);<br />
<br />
ALTER TABLE llx_matable ADD CONSTRAINT fk_matable_fk_field FOREIGN KEY (fk_field) REFERENCES llx_matablepere (rowid);<br />
</source><br />
<br />
== SQL Coding rules ==<br />
* Alias usage/Fields naming<br />
When doing select, we can use alias to simplify writing/reading of requests:<br />
<source lang="sql"><br />
select chp1, chpxxx2 as chp2 from table2 as t1, table2 as t2 where t1.chpx = t2.chpy<br />
</source><br />
However, we must not used alias for update request as they are not compatible with Mysql 3.1.<br />
<br />
* All SELECT * are forbidden ! Any SELECT must define complete list of fields to get. This avoid confusion. Example:<br />
<source lang="sql"><br />
SELECT field_a, field_b, field_c FROM table_1 WHERE field_d = '$id'<br />
</source><br />
<br />
* Into SQL requests, you must quote fields except fields that contains amounts that must be stored as double or real type. Quotes on numbers may results in saving a different value. For example 412.62 in an insert will be saved with value 412.61999512 into database (due to implicit conversion string to numeric) if target field has type double(24,8). Only PHP see value 412.61999512. Other tools will see 412.62 giving sensation that there is no problem. But it's PHP that hase the good vision. There is really a wrong value into database. By removing quotes on numbers, no problem occurs.<br />
<br />
Example:<br />
<source lang="sql"><br />
Good: INSERT INTO table_1 (field_txt, field_num) VALUES ('txt', 412.62)<br />
Bad: INSERT INTO table_1 (field_txt, field_num) VALUES ('txt', '412.62')<br />
</source><br />
<br />
Note, problem of float numbers is same problem on all langauges and not only when inserting data into database. It occurs also with any language when you work on "real" numbers, so numbers must be, as soon as they are affected, cleaned with function price2num with second parameter defined to :<br />
'MU' (for unit prices), 'MT' (for total prices) or 'MS' (otherwise) depending on usage of number. (see function documentation)<br />
<br />
* Functions NOW or SYSDATE are forbidden inside SQL requests. If you must use the current date into a field, value must come from the PHP and not from the database engine. This is to avoid a better portability of code and a correct management of TimeZone.<br />
<br />
== Mysql specificities ==<br />
* Tables must be declared with format InnoDB.<br />
This format support foreign keys and their restrictions, and transactions integrity is also supported. This guarantee that Dolibarr events keep all data with correct values between tables even even transaction modify different tables.<br />
<br />
* Dolibarr must works even if Mysql option '''strict''' is active.<br />
To activate it (recommanded when developping on Dolibarr), add the following line into the config file of your Mysql server (my.cnf)<br />
<source lang="ini"><br />
sql-mode="STRICT_ALL_TABLES,ONLY_FULL_GROUP_BY,NO_ZERO_DATE"<br />
</source><br />
<br />
== PostgeSQL specificities ==<br />
Only Mysql SQL files must be maintained.<br />
Those files are converted "on the fly" by the database Dolibarr driver.<br />
<br />
There is an exception<br />
The SQL "UPDATE FROM" : <br />
Syntax MySQL :<br />
<source lang="sql"><br />
UPDATE table_taget as target, table_source as source SET fieldtarget=source.fieldsource<br />
WHERE source.rowid=target.rowid;<br />
</source><br />
<br />
Syntax PgSQL:<br />
<source lang="sql"><br />
UPDATE table_taget as target SET fieldtarget=source.fieldsource<br />
FROM table_source as source WHERE source.rowid=target.rowid;<br />
</source><br />
<br />
There is no native SQL request "update from" in dolibarr core. But in your module you should do :<br />
<source lang="php"><br />
if ($this->db->type=='pgsql') {<br />
$sql="UPDATE table_taget as target SET fieldtarget=source.fieldsource<br />
FROM table_source as source WHERE source.rowid=target.rowid";<br />
} else {<br />
$sql= "UPDATE table_taget as target, table_source as source SET fieldtarget=source.fieldsource<br />
WHERE source.rowid=target.rowid";<br />
}<br />
</source><br />
<br />
= HTML norms =<br />
* HTML used must be HTML compliant and not XHTML. All attributes of HTML tags must be in lower case and quoted with ".<br />
<br />
* Links href must be absolute and use the function dol_buildpath() to get absolute path from a relative path and img tag must be build using function img_picto().<br />
For example:<br />
<source lang="php"><br />
print '<a href="'.dol_buildpath('/mydir/mypage.php').'">'.img_picto('Texte alt','namepictopng','').'</a>';<br />
</source><br />
<br />
* HTML tables must have columns with no forced width, except for columns that contains data we know the length. For example, a column with a picto only can be forced to with="20px".<br />
Otherwise, we must avoid forcing the column width. Reason is that, in most cases, the browser make a better works to define column width automatically than forced values, and it works whatever is the resolution.<br />
<br />
* Javascript/ajax code and call to javascript files into php pages must be avoided. However, if you need to include javascript code, you must add a condition on "$conf->use_javascript_ajax"<br />
<source lang="php"><br />
if ($conf->use_javascript_ajax) {<br />
... // php code generating javascript here<br />
}<br />
</source><br />
<br />
* Popups windows must not be used, except for tooltips (and must have a condition as explained before).<br />
<br />
* External scripts must be written into Perl if they can't be written into PHP. Usage of another language is not forbidden but must be argue before onto development mailing-list.<br />
<br />
= Dolibarr norms and code skeleton =<br />
<br />
== Skeleton code ==<br />
To standardize the code, and to speed up the development of new components in Dolibarr, you'll find 4 skeletons fully prepared in the directory '''dev/skeletons'''.<br />
<br />
* 1 that serves as an example of the module description: '''myModule.class.php'''<br />
* 1 that serves as an example of code for creating a new class: '''skeleton_class.class.php'''<br />
* 1 that serves as an example of code for creating a new page: '''skeleton_page.php'''<br />
* 1 that serves as an example of code for creating a script for executing command lines: '''skeleton_script.php'''<br />
<br />
Use it as an example.<br />
Note that the skeletons are also used by the PHP code generator, which is described in the development chapter of Dolibarr modules, to speed up your development.<br />
<br />
== Dates and Timezones ==<br />
Dolibarr is an application that is multi-user and multi-location. It's therefore necessary to store dates in the right format. To avoid problems with conversions, the following rules should be applied:<br />
<br />
* A date into memory must always be stored with Timestamp GMT format.<br />
* A date stored into database, is the GMT Timestamp of date submitted into the request usng the <b>PHP server</b> timezone. This does not apply to date update automatically by database (fields '''tms''' into database).<br />
For exemple le 1st january 1970, 3 hour at Paris (TZ=+1) = 2 hour at Greenwitch (TZ=0) will be stored into memory with value 7200 and will be submitted into a SQL request to database with the string '19700101030000' (PHP convert into its TZ hour and databse will unconvert it using its timezone too that is same than PHP).<br />
<br />
All select methods should translate date fields, that are with format TZ of database ('19700101030000'), into a timestamp field by calling the method db->jdate. This is to store into memory a GTM Timestamp date. All insert methods must convert, during generation of SQL request, the memory date into the string by using db->idate (you may find examples into skeleton).<br />
<br />
* Dates that are updated automatically (field '''tms''' into database) contains a GMT Timestamp GMT of date when change is done. The select will also use the db->jdate (that use PHP server TZ) to convert read data into a GMT Timestamp into memory. So if timezone of database differs from timezone of PHP server (one of them is not correctly set), you may experience differences between creation date and update date.<br />
<br />
* Manipulation date with PHP must be done using the Dolibarr date functions: '''dol_now(), dol_mktime(), dol_stringtotime(), dol_getdate(), dol_time_plus_duree()'''. You may also find other functions available into file '''date.lib.php'''.<br />
<br />
== UTF8/ISO encoding ==<br />
Dolibarr stores data in the following way:<br />
* In database, data is stored in UTF8 or ISO. It depends on the database's pagecode therefore these options are set at creation time. In any case, Dolibarr's database driver (in lib/database) deals with it to convert from/to UTF8 at insertion and readout.<br />
* Memory data is stored in UTF8 (PHP object instances).<br />
* Screen displayed web pages are UTF8 (for versions prior to 2.5.1, the deprecated $character_set parameter from conf.php file defines output format).<br />
<br />
== Float numbers, amount and calculation ==<br />
With PHP, like other languages (Java for exemple), non integer data (float, real, double) are not reliable for calculation.<br />
Try to make for example <br />
<source lang="php"><br />
print 239.2 - 229.3 - 9.9;<br />
</source><br />
You wont get zero but a very small decimal number. If you get zero her, you should be able to find other examples that don't work.<br />
Problem of float is general, so a variable that is a result of a calculation using decimal numbers must ALWAYS be cleaned using the function '''price2num()''' with the econd parameter to: 'MU', 'MT' or 'MS' depending on need (see description of function).<br />
<source lang="php"><br />
print price2num(239.2 - 229.3 - 9.9, 'MT');<br />
</source><br />
If data manipulated is not an amount, so using MU, MT, MS has no sense, so you must use the function '''round()'''.<br />
<br />
== Creation of tables ==<br />
Do not create tables, on the fly, during execution by a standard user, we mean, during current usage of software.<br />
If you create a module that use its own table not available into default Dolibarr code, take a look at tutorial [[Module Development]] that will explain you how roviding new tables with your module to have the created during module activation and not during module usage.<br />
<br />
== Logs ==<br />
Add logs to your code using function<br />
<source lang="php"><br />
dol_syslog($yourmessage, LOG_INFO|LOG_DEBUG|LOG_WARNING|LOG_ERR);<br />
</source><br />
<br />
== Working directory ==<br />
If you need to create a working directory, into your code, refer to it with <br />
'''DOL_DATA_ROOT.'/monmodule''''<br />
<br />
The directory can be created into your code by the following fnction:<br />
<source lang="php"><br />
$mymoduledir=DOL_DATA_ROOT.'/monmodule';<br />
dol_mkdir($mymoduledir);<br />
</source><br />
<br />
If you need a directory to store temporary data, this directory must be '''DOL_DATA_ROOT.'/monmodule/temp''''<br />
<br />
= Design patterns and Object programming =<br />
<br />
== Creation design patterns (GoF) ==<br />
Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]).<br />
No usage of such patterns is required. We found some objects next to Singletons or Factory but not completely compliant with syntax, this is to be compatible with PHP 4 that is not a pure object language. <br />
<br />
== Structure design patterns (GoF) ==<br />
Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]). <br />
No usage of such patterns is required.<br />
<br />
== Behavior design patterns (GoF) ==<br />
Design patterns defined by the Gang Of Four (see wikipédia on [[wikipedia:Design pattern|Design patters]]). <br />
No usage of such patterns is required.<br />
<br />
== Design patterns of enterprise (Martin Fowler) ==<br />
<br />
=== Patterns of code organization ===<br />
[[wikipedia:Martin Fowler|Martin Fowler]] has identified 3 ways to organize code:<br />
* The '''Transaction Script''' (The source code is linear for each user action).<br />
This is the old school used by all procedural languages.<br />
Inconvenient: Redundancy of code. Need to know the physical model of data to develop.<br />
* The '''Domain Model'''<br />
This notion is available with object languages. It is business process (to identify before) that are used for objects classes.<br />
Inconvenient: Model very complex to maintain.<br />
* The '''Table Module'''<br />
This is a mix between 2 previous where we have only one unique class for each table of database.<br />
<br />
-> As shown in code skeletons (see previous chapter), Dolibarr use concept of '''Table Module'''.<br />
<br />
=== Communication between business logic - data (ORM) ===<br />
<br />
There is 3 way to make links:<br />
<br />
* The '''Table And Row Data Gateway'''<br />
This is the most simple. You have one class per table and each class is a link to the table with CRUD methods (Ceate, Read, Update, Delete). A class instance is a record a the table. The class contains only code to reach lines and fields of table.<br />
<br />
Example: This mode is used by some ORM Frameworks, like '''iBatis''' (http://ibatis.apache.org/).<br />
<br />
* The '''Active Record'''<br />
Same than previous, but we are allowed to add some business functions into the class, if such functions are dedicated to the table or recordng into this table.<br />
<br />
Example: This mode is used for Dolibarr development and most PHP softwares that includes their own framework and best practices.<br />
<br />
* The '''Data Mapper'''<br />
Classes represent entities of the problem and not the data. So you have to double, triple ... theese classes with Mapper classes to access the data.<br />
More "purist" on paper (closer of business), this method also has the disadvantage of being more complex in practice.<br />
<br />
Example: This is the choice if you use the ORM Framework '''Propel''' (http://propel.phpdb.org/trac/). We find this model on heavier applications, based on this ORM among others.<br />
<br />
-> For Dolibarr development, it is recommended to use the connection mode '''Active Record''', which offers the advantages of a model close to the business without having the complexity, without obfuscating the technique. It is in this way that the development, understanding of code and technical maintenance and / or business seems the more productive (this is however an ongoing debate between the purists and the pragmatists, debate in which nobody can really be right, because it depends on the objectives).</div>
Marcosgdf
https://wiki.dolibarr.org/index.php?title=Documentaci%C3%B3n_traductores&diff=29059
Documentación traductores
2013-03-30T12:34:46Z
<p>Marcosgdf: /* Integrar su traducción en Dolibarr */</p>
<hr />
<div>= [[File:Language.png]] Traducir Dolibarr a otro idioma =<br />
Dolibarr se desarrolla por defecto en Francés e inglés<br />
<br />
Existen 4 métodos para realizar la traducción de Dolibarr (1 automático mediante autotranslator.php, 3 manuales mediente phpLangEditor, iniTranslation o completamente manual).<br />
Los describimos a continuación por orden de preferencia de uso:<br />
<br />
== Traducción automática mediante la utilidad autotranslator.php ==<br />
<br />
* SO del traductor: Cualquiera<br />
* Utilidad: autotranslator.php viene con Dolibarr, se encuentra en la carpeta '''dev/translation'''.<br />
<br />
Para traducir o actualizar todos los archivos en un nuevo idioma, símplemente ejecute el script:<br />
<source lang="bash"><br />
php autotranslator.php lang_code_source lang_code_target GOOGLEAPIKEY<br />
</source><br />
Por ejemplo:<br />
<source lang="bash"><br />
php autotranslator.php en_US pt_PT GOOGLEAPIKEY<br />
</source><br />
para realizar la traducción al portugés (pt_PT) utilizando el inglés (en_US) como origen.<br />
<br />
Todos los ficheros no existentes serán creados, y los existentes se actualizarán con las cadenas inexistentes. Las cadenas ya traducidas anteriormente se conservarán tal cual.<br />
La utilidad utiliza el servicio de [http://translate.google.com traducción de Google] para encontrar el valor traducido de una cadena.<br />
Su PHP debe de tener permisios de escritura en la carpeta '''htdocs/langs''' y disponer de las funciones de la extensión curl disponibles.<br />
<br />
== Traducción manual mediante el plugin de Firefox phpLangEditor ==<br />
* SO del traductor: Cualquiera<br />
* Utilidad: phpLangEditor (plugin de Firefox) [[File:PhpLangEditor.jpg|40px]]<br />
<br />
Estas son las etapas a seguir para realizar traducciones mediante phpLangEditor:<br />
<br />
# Instalar Firefox y el plugin phpLangEditor ([[Media:PhpLangEditor254.xpi]])<br />
# Necesita realizar un paso complementario para terminar la instalación del plugin. Teclee la dirección '''about:config''' y, seguidamente en el campo filtro, indique '''phplangeditor'''. <br />
Doble clic en la línea phpLangEditor.file.typeOfLangExt y ponga '''ini''' en lugar de '''php'''. phpLangEditor estará disponible para traducir Dolibarr. <br />
# Desde Firefox, abra phpLangEditor buscando el menú '''Herramientas -> PHP lang editor'''.<br />
# Haga clic en "Abrir referencia" y busque su fichero .lang de origen (por ejemplo, en su carpeta Dolibarr, htdocs/langs/en_US/bills.lang<br />
# Haga clic en "Abrir traducción" y seleccione el fichero que convenga la traducción, si el fichero ya existe (por ejemplo htdocs/langs/es_ES/bills.lang).<br />
# Puede escoger ver todos los términos a traducir o solamente los que lo estén. Haga clic en el término en la columna de la izquierda para realizar la traducción en el cuadro de abajo. También puede utilizar métodos abreviados de teclado, como CTRL+N para pasar a la siguiente<br />
# Guarde el fichero una vez haya terminado la traducción.<br />
# Editar el fichero con un editor de texto para suprimir o corregir la primera línea de comentario. En efecto, con phpLangEditor, no és posible traducir las líneas comentadas (las que empiezan con un #), así que el fichero traducido contiene una vez sea guardado la línea de comentario del archivo origen. Una pequeña edición manual es necesaria para corregir o suprimir esta línea, aunque esto no afecta negativamente el buen funcionamiento del nuevo archivo .lang.<br />
<br />
== Traducción manual mediante iniTranslator ==<br />
* SO del traductor: Windows<br />
* Utilidad: [http://initranslator.sf.net iniTranslator] (bajo Windows).<br />
<br />
# Ejecute su aplicación de traducción, la cual le pedirá el fichero modelo (Por ejemplo, en iniTranslator, Archivo - Abrir Original). Escojer el fihero origen modelo en la carpeta htdocs/langs/en_US ó htdocs/langs/fr_FR, que están actualizados.<br />
# Escoja seguidamente el fichero a traducir, en la carpeta htdocs/langs/xx_XX donde xx és el código del idioma a traducir.<br />
# iniTranslator mostrará los archivos 2 cara a cara con la falta de cadenas a traducir.<br />
# Completar<br />
# Guardar el nuevo fichero de destino.<br />
<br />
Atención, iniTranslator sufre un grave defecto. No mantiene el orden original de los parámetros y crea el archivo generado por orden alfabético de las claves en lugar de mantener el orden del archivo de origen. Además, las áreas de comentarios de los archivos de origen no se reflejan en el archivo de destino traducido.<br />
<br />
== Traducción totalmente manual ==<br />
<br />
Para traducir Dolibarr a otro idioma, vaya a la carpeta langs y cree una carpeta llamada con el código de idioma a traducir (Siguiendo el mismo formato de las ya existentes, por ejemplo en_US, fr_FR, es_ES, de_DE, etc...).<br />
Deberá copiar los archivos de una carpeta lang ya traducida (por ejemplo en_US/main.lang ó fr_FR/bills.lang), y pegarlas en la carpeta del nuevo idioma que acabamos de crear y empezaremos a traducir el contenido de estos archivos.<br />
<br />
Estos ficheros están constituidos de la siguiente manera:<br />
<br />
<source lang="ini"><br />
Code1=Frase a traducir 1<br />
Code2=Frase a traducir 2<br />
...<br />
Coden=Frase a traducir n<br />
</source><br />
<br />
Solamente las frases a la derecha del = se deben traducir, el código debe permanecer sin cambios.<br />
Es posible traducir los archivos uno por uno, sin tener que traducirlos todos a la vez. Si un archivo no se ha traducido en el nuevo idioma, Dolibarr utilizará el Inglés.<br />
<br />
Para tener una variable de cadena para el idioma en el código PHP, todo lo que necesita hacer es cargar el archivo de idioma y utilizar el método para recuperar la variable traducida. Esto se puede hacer de la siguiente manera:<br />
<br />
<source lang="php"><br />
$langs->load("nombredelarchivo"); // o $langs->load("nombredelarchivo@mimodulo") si miarchivo.lang se encuentra en el directorio htdocs/mimodulo/langs/xx_XX <br />
<br />
print $langs->trans("CodeX")<br />
</source><br />
<br />
Y una entrada del tipo<br />
<source lang="ini"><br />
CodeX=Phrase X<br />
</source><br />
<br />
debe de ser añadida a los ficheros .lang<br />
<br />
== Integrar su traducción en Dolibarr ==<br />
<br />
Si usted ha completado archivos .lang existentes en Dolibarr de forma incompleta o si ha creado nuevos archivos .lang para un nuevo idioma, puede :<br />
<br />
* Incluir sus cambios o archivos en la versión oficial de Dolibarr. Es posible, si sabe usar un sistema GIT. Para ello cree una cuenta en {{TemplateUrlSCM}}, haga un fork del proyecto Dolibarr, haga sus cambios y mande un Pull Request. <br />
* o envíe sus archivos por e-mail en un adjunto a la lista inglesa: '''dolibarr-dev@nongnu.org''' (Inscripción en {{TemplateURLMLDev}}). Un desarrollador lo integrará por usted.<br />
<br />
''Nota:'' Hay dos idomas principales, que siempre están completos:<br />
* El francés (ficheros .lang de la carpeta lang/fr_FR)<br />
* El inglés (ficheros .lang de la carpeta lang/en_US)<br />
Puede utilizar indistintamente tanto uno como el otro (el que prefiera) como referencia ya que los dos están actualizados. Todos los demás archivos de idioma son susceptibles de estar incompletos.<br />
<br />
== Difusión de su idioma ==<br />
=== En los fuentes Dolibarr oficiales ===<br />
Lo mejor que puede hacer, después de realizar una traducción, es incluirla incluye en la versión oficial de Dolibarr. Para ello, consulte el captítulo anterior.<br />
<br />
=== Como una extensión ===<br />
Al crear un nuevo idioma, si este no se encuentra integrado en Dolibarr, puede ser difundido a otros usuarios. Para ello puede crear un paquete para su distribución mediante el script '''build/makepack-dolibarrlang.pl''' o creando un zip de forma manual que puede subir a dolistore.com o a la lista de correo de desarrolladores '''dolibarr-dev''' (Inscripción en {{TemplateURLMLDev}}).<br />
<br />
El archivo creado debe ser descomprimido en el directorio Dolibarr para que el idioma se encuente disponible.<br />
<br />
= [[File:Language.png]] Traducción del wiki =<br />
El wiki se mantiene en 3 idiomas: Inglés, Francés y Español.<br />
Si desea mejorar la documentación en uno de estos idiomas, simplemente debe de crear una cuenta en este wiki.<br />
Entonces, podrá modificar una traducción incorrecta o traducir una página a la espera de traducción. La lista de estas páginas se encuentra disponible en la página [[:Category:Page_waiting_for_translation]].</div>
Marcosgdf