Module Contract (developer)
Jump to navigation
Jump to search
Contrat | |
---|---|
Numero/ID of module | 54 |
User doc. of module | Module Contracts |
Developer doc. of module | This page |
Feature
Module to manage contracts of services
Entity Contract
The PHP class to use to manipulate such object is file htdocs/contrat/class/contrat.class.php.
It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.
Life cycle of a contract
Status of contracts:
- 0 : Draft (This call trigger CONTRACT_CREATE)
- 1 : Contract is not a draft. In this case, its status is status of all contract lines.
Entity Line of contract
Status of contract lines
Permissions
- ->contrat->lire
- ->contrat->creer
- ->contrat->activer
- ->contrat->desactiver
Tables SQL
- llx_contrat Contient le liste des contrats
- llx_contratdet Contient les lignes détails d'un contrats
- llx_contratdet_log Contient l'historique des modifications des lignes contrats
- llx_element_contact Liste des associations des contacts aux contrats