31,029
edits
mNo edit summary |
|||
| Line 70: | Line 70: | ||
= List of known events = | = List of known events = | ||
Dolibarr events that launch triggers are identified by an event code '''$action'''. Existing codes are: | |||
* USER_CREATE | * USER_CREATE | ||
* USER_MODIFY | * USER_MODIFY | ||
* USER_DISABLE | * USER_DISABLE | ||
In such cases, the variable $object contains an object of type user.class.php | |||
* COMPANY_CREATE | * COMPANY_CREATE | ||
* COMPANY_MODIFY | * COMPANY_MODIFY | ||
* COMPANY_DELETE | * COMPANY_DELETE | ||
In such cases, the variable $object contains an object of type societe.class.php | |||
* PRODUCT_CREATE | * PRODUCT_CREATE | ||
* PRODUCT_MODIFY | * PRODUCT_MODIFY | ||
* PRODUCT_DELETE | * PRODUCT_DELETE | ||
In such cases, the variable $object contains an object of type product.class.php | |||
* ORDER_CREATE | * ORDER_CREATE | ||
* ORDER_VALIDATE | * ORDER_VALIDATE | ||
* ORDER_DELETE | * ORDER_DELETE | ||
In such cases, the variable $object contains an object of type commande.class.php | |||
* ORDER_SUPPLIER_CREATE | * ORDER_SUPPLIER_CREATE | ||
* ORDER_SUPPLIER_VALIDATE | * ORDER_SUPPLIER_VALIDATE | ||
In such cases, the variable $object contains an object of type fournisseur.commande.class.php | |||
* PROPAL_CREATE | * PROPAL_CREATE | ||
| Line 101: | Line 101: | ||
* PROPAL_CLOSE_SIGNED | * PROPAL_CLOSE_SIGNED | ||
* PROPAL_CLOSE_REFUSED | * PROPAL_CLOSE_REFUSED | ||
In such cases, the variable $object contains an object of type societe.class.php | |||
* CONTRACT_CREATE | * CONTRACT_CREATE | ||
| Line 109: | Line 109: | ||
* CONTRACT_CLOSE | * CONTRACT_CLOSE | ||
* CONTRACT_DELETE | * CONTRACT_DELETE | ||
In such cases, the variable $object contains an object of type contract.class.php | |||
* BILL_CREATE | * BILL_CREATE | ||
| Line 116: | Line 116: | ||
* BILL_CANCEL | * BILL_CANCEL | ||
* BILL_DELETE | * BILL_DELETE | ||
In such cases, the variable $object contains an object of type facture.class.php | |||
* PAYMENT_CUSTOMER_CREATE | * PAYMENT_CUSTOMER_CREATE | ||
In such cases, the variable $object contains an object of type paiement.class.php | |||
* PAYMENT_SUPPLIER_CREATE | * PAYMENT_SUPPLIER_CREATE | ||
In such cases, the variable $object contains an object of type paiementfourn.class.php | |||
* FICHEINTER_VALIDATE | * FICHEINTER_VALIDATE | ||
In such cases, the variable $object contains an object of type ficheinter.class.php | |||
* MEMBER_CREATE | * MEMBER_CREATE | ||
| Line 133: | Line 133: | ||
* MEMBER_RESILIATE | * MEMBER_RESILIATE | ||
* MEMBER_DELETE | * MEMBER_DELETE | ||
In such cases, the variable $object contains an object of type adherent.class.php | |||
* CATEGORY_CREATE | |||
* CATEGORY_UPDATE | |||
* CATEGORY_DELETE | |||
In such cases, the variable $object contains an object of type adherent.class.php | |||
= Manage new events = | = Manage new events = | ||