Module Contract (developer)

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Numero/ID of module 54
User doc. of module Module Contracts
Developer doc. of module This page


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

En verysmall.png Page waiting to complete. To complete, create an account, go back and clic on "Modify".
Fr verysmall.png Page en attente d'être complété. Pour compléter, créez un compte, revenez et cliquez sur "Modifier".
Es verysmall.png Página a completar. Para completarla, cree una cuenta, vuelva a la página y haga clic en "editar"
De verysmall.png Seite wartet auf Vervollständigung. Um zu helfen, erstelle ein Konto, gehe zurück und klicke auf "Bearbeiten".
Cn verysmall.png 待完成,欲帮助完成,注册帐号,点击“编辑"
Jp verysmall.png ページは未完成の状態です。完成させるにはアカウントを作成し、ページに戻って「編集」をクリックして下さい。


  • ->contrat->lire
  • ->contrat->creer
  • ->contrat->activer
  • ->contrat->desactiver

Tables SQL