Module Contract (developer): Difference between revisions
Jump to navigation
Jump to search
PolyglotBot (talk | contribs) m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.) |
|||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<!-- BEGIN origin interlang links --> | |||
<!-- You can edit this section but do NOT remove these comments | |||
Links below will be automatically replicated on translated pages by PolyglotBot --> | |||
[[fr:Module_Contrat_(développeur)]] | |||
[[es:Módulo_Contratos_(desarrollador)]] | |||
<!-- END interlang links --> | |||
[[Category:Contract]] | [[Category:Contract]] | ||
{{TemplateDocDevEn}} | {{TemplateDocDevEn}} | ||
{{TemplateModEN}} | {{TemplateModEN Developer}} | ||
{{BasculeDevUserEn| | {{BasculeDevUserEn| | ||
name=Contrat| | name=Contrat| | ||
| Line 13: | Line 20: | ||
= Entity Contract = | = Entity Contract = | ||
{{TemplateDocDevEntityEn| | {{TemplateDocDevEntityEn| | ||
class=htdocs/contrat/contrat.class.php}} | class=htdocs/contrat/class/contrat.class.php}} | ||
== Life cycle of a contract == | == 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. | |||
* 0 : | |||
* 1 : | |||
= Entity Line of contract = | |||
== | == Status of contract lines == | ||
{{ToComplete}} | {{ToComplete}} | ||
Latest revision as of 13:20, 23 July 2019
| 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
