31,003
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 81: | Line 81: | ||
If your module is designed to manage data of its own, which are not available in the standard version of Dolibarr, it is necessary to define SQL tables to store the data. | If your module is designed to manage data of its own, which are not available in the standard version of Dolibarr, it is necessary to define SQL tables to store the data. | ||
Scripts for creating tables and loading data by your own module are saved into a subdirectory | Scripts for creating tables and loading data by your own module are saved into a subdirectory sql ('''"mymodule/sql"''') of your module. (With ModuleBuilder, the directory and all sql files will be created automatically when you will create a new Object from tab Object). | ||
Then check into your descriptor file, into function '''init''' that the line | Then check into your descriptor file, into function '''init''' that the line | ||