31,029
edits
| Line 58: | Line 58: | ||
<0 if KO, 0 if nothing is done, >0 if OK | <0 if KO, 0 if nothing is done, >0 if OK | ||
You can also use | You can also use, inside this function, the following preinitialized variables: | ||
* '''$object''' is the object on which action is done (see next chapter) | * '''$object''' is the object on which action is done (see next chapter) | ||
* '''$user''' is the object containing all information of Dolibarr user that realizes the business event. | * '''$user''' is the object containing all information of Dolibarr user that realizes the business event. | ||