Difference between revisions of "Module Suppliers (developer)"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:Supplier]]
 
[[Category:Supplier]]
 
{{TemplateDocDevEn}}
 
{{TemplateDocDevEn}}
 +
{{TemplateModEN}}
 
{{BasculeDevUserEn|
 
{{BasculeDevUserEn|
 
name=Supplier|
 
name=Supplier|

Revision as of 08:38, 9 January 2010

Supplier
Numero/ID of module 40
User doc. of module Module Suppliers Orders, Module Suppliers Invoices
Developer doc. of module This page

Feature

This module manage the following entities:

  • Suppliers orders
  • Lines of suppliers orders
  • Suppliers invoices
  • Lines of suppliers invoices

Entity Supplier orders

The PHP class to use to manipulate such object is file htdocs/fourn/fournisseur.commande.class.php.

It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.

Business rules

See Module Suppliers Orders.

Permissions

  • ->fournisseur->commande->lire
  • ->fournisseur->commande->creer
  • ->fournisseur->commande->valider
  • ->fournisseur->commande->approuver
  • ->fournisseur->commande->commander
  • ->fournisseur->commande->cloturer

Different Status

Number is value of field fk_statut in Table llx_commande_fournisseur.

  • 0 : draft
  • 1 : validated (no more a draft)
  • 2 : accepted (Your leader accept your request)
  • 3 : sent to supplier
  • 4 : received partially
  • 5 : received completely or closed
  • 9 : refused (Your leader disagree your request)

Entity Supplier invoices

The PHP class to use to manipulate such object is file htdocs/fourn/fournisseur.facture.class.php.

It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.

Business rules

See Module Suppliers Invoices.

Life cycle

Permissions

  • ->fournisseur->facture->lire
  • ->fournisseur->facture->creer
  • ->fournisseur->facture->valider
  • ->fournisseur->facture->supprimer
  • ->fournisseur->facture->export

Tables SQL