Module Sales Orders (developer): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Eldy moved page Module Customers Orders (developer) to Module Sales Orders (developer)) |
||
| (16 intermediate revisions by 4 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_Commandes_Clients_(développeur)]] | |||
[[es:Módulo_Pedidos_(desarrollador)]] | |||
<!-- END interlang links --> | |||
[[Category:Orders]] | |||
{{TemplateDocDevEn}} | |||
{{TemplateModEN Developer}} | |||
{{BasculeDevUserEn| | {{BasculeDevUserEn| | ||
name=Order| | name=Order| | ||
num=25| | |||
devdoc=This page| | devdoc=This page| | ||
userdoc=[[Customers Orders]]| | userdoc=[[Module Customers Orders]]|}} | ||
== | = Feature = | ||
{{ToTranslate}} | |||
Customer orders module allows you to manage the following entities in Dolibarr: | |||
* Customer orders | |||
* Lines of customer order | |||
Supplier orders are managed by the '''[[Module Suppliers (developer)]]''' module. | |||
= Entity Order = | |||
{{TemplateDocDevEntityEn| | |||
class=htdocs/commande/class/commande.class.php}} | |||
* | '''Business rules''': | ||
* | * A command/order has several command/order lines | ||
* | * It is possible to attach 1 to n contacts for an order | ||
* To complete... | |||
'''Cycle | '''Life Cycle''': | ||
* | * An order can be created in draft mode (Causes trigger ORDER_CREATE) | ||
* | * An order can be changed (Causes trigger ORDER_UPDATE) | ||
* | * An order can be validated (Causes trigger ORDER_VALIDATE) | ||
= Permissions = | |||
*->commande->lire | *->commande->lire | ||
*->commande->creer | *->commande->creer | ||
| Line 41: | Line 48: | ||
*->commande->export | *->commande->export | ||
= Tables SQL = | |||
* [[Table llx commande|llx_commande]] table principales des commandes clients | * [[Table llx commande|llx_commande]] table principales des commandes clients | ||
* [[Table llx commandedet|llx_commandedet]] détails des commandes clients | * [[Table llx commandedet|llx_commandedet]] détails des commandes clients | ||
Latest revision as of 12:43, 12 August 2019
| Order | |
|---|---|
| Numero/ID of module | 25 |
| User doc. of module | Module Customers Orders |
| Developer doc. of module | This page |
Feature
Customer orders module allows you to manage the following entities in Dolibarr:
- Customer orders
- Lines of customer order
Supplier orders are managed by the Module Suppliers (developer) module.
Entity Order
The PHP class to use to manipulate such object is file htdocs/commande/class/commande.class.php.
It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.
Business rules:
- A command/order has several command/order lines
- It is possible to attach 1 to n contacts for an order
- To complete...
Life Cycle:
- An order can be created in draft mode (Causes trigger ORDER_CREATE)
- An order can be changed (Causes trigger ORDER_UPDATE)
- An order can be validated (Causes trigger ORDER_VALIDATE)
Permissions
- ->commande->lire
- ->commande->creer
- ->commande->valider
- ->commande->envoyer
- ->commande->cloturer
- ->commande->annuler
- ->commande->supprimer
- ->commande->export
Tables SQL
- llx_commande table principales des commandes clients
- llx_commandedet détails des commandes clients
