Line 2:
Line 2:
Dolibarr provides two simple mechanisms to interface Dolibarr with an external system on the behave of a Dolibarr event :
Dolibarr provides two simple mechanisms to interface Dolibarr with an external system on the behave of a Dolibarr event :
−
* [[Triggers]] - a mechanism to activate your own code when Dolibarr executes an action
+
* [[Triggers]] - a mechanism to activate your own code when Dolibarr executes an action (for example, creation of invoice, edit of a user, delete of an order, ...)
* [[Hooks system]] - an interface to integrate your own code in an entry point of Dolibarr
* [[Hooks system]] - an interface to integrate your own code in an entry point of Dolibarr
For more information on the opposite mechanism (allow an external system to interface with the Dolibarr system and use the Dolibarr's datas), see [[Interfaces from foreign systems toward Dolibarr]]).
For more information on the opposite mechanism (allow an external system to interface with the Dolibarr system and use the Dolibarr's datas), see [[Interfaces from foreign systems toward Dolibarr]]).