31,040
edits
mNo edit summary |
|||
| Line 18: | Line 18: | ||
5.Modify the code of the method getNextValue() to return the next available reference numbering. Within the code for this function, you can use parameters $objsoc or $facture containing the information of third parties involved in the generation and the object invoice involved in the generation (The name of these variables may differ depending on the nature of the managed entity module). You can also use the objects $langs, $conf and $db if you declare them first in the function with ligne | 5.Modify the code of the method getNextValue() to return the next available reference numbering. Within the code for this function, you can use parameters $objsoc or $facture containing the information of third parties involved in the generation and the object invoice involved in the generation (The name of these variables may differ depending on the nature of the managed entity module). You can also use the objects $langs, $conf and $db if you declare them first in the function with ligne | ||
global $langs, $db, $conf | global $langs, $db, $conf | ||
where | where | ||
$conf contains all configuration of Dolibarr. | $conf contains all configuration of Dolibarr. | ||