31,026
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 8: | Line 8: | ||
{{TemplateDocDevEn}} | {{TemplateDocDevEn}} | ||
=Execute your own code on a Dolibarr | =Execute your own code on a Dolibarr business event= | ||
To execute personalized code after a Dolibarr event (create/modify/remove a third party/invoice/product or other), Dolibarr offers a mechanism of business triggers. This mechanism allows you to personalize a work-flow to have Dolibarr business events being synchronized into another application for example. | To execute personalized code after a Dolibarr event (create/modify/remove a third party/invoice/product or other), Dolibarr offers a mechanism of business triggers. This mechanism allows you to personalize a work-flow to have Dolibarr business events being synchronized into another application for example. | ||
You can also use triggers to modify the behavior of Dolibarr itself: for example, to create automatically a contract when an invoice is validated. | You can also use triggers to modify the behavior of Dolibarr itself: for example, to create automatically a contract when an invoice is validated. | ||