Module Contract (developer): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
PolyglotBot (talk | contribs) m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.) |
||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category: | <!-- 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]] | |||
{{TemplateDocDevEn}} | |||
{{TemplateModEN Developer}} | |||
{{BasculeDevUserEn| | {{BasculeDevUserEn| | ||
name=Contrat| | name=Contrat| | ||
num=54| | |||
devdoc=This page| | devdoc=This page| | ||
userdoc=[[Contracts]]|}} | userdoc=[[Module Contracts]]|}} | ||
= Feature = | |||
Module to manage contracts of services | |||
== | = Entity Contract = | ||
{{TemplateDocDevEntityEn| | |||
class=htdocs/contrat/class/contrat.class.php}} | |||
== 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 == | ||
{{ToComplete}} | |||
= Permissions = | |||
* ->contrat->lire | * ->contrat->lire | ||
* ->contrat->creer | * ->contrat->creer | ||
| Line 39: | Line 38: | ||
* ->contrat->desactiver | * ->contrat->desactiver | ||
= Tables SQL = | |||
* [[Table llx_contrat|llx_contrat]] Contient le liste des contrats | * [[Table llx_contrat|llx_contrat]] Contient le liste des contrats | ||
* [[Table llx_contratdet|llx_contratdet]] Contient les | * [[Table llx_contratdet|llx_contratdet]] Contient les lignes détails d'un contrats | ||
* | * [[Table llx_contratdet_log|llx_contratdet_log]] Contient l'historique des modifications des lignes contrats | ||
* [[Table_llx_element_contact|llx_element_contact]] Liste des associations des contacts aux contrats | |||
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
