Table llx commande fournisseur: Difference between revisions
| Line 16: | Line 16: | ||
= Structure = | = Structure = | ||
{| align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0" style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5" | |||
|style="background-color: #e9e9ef"| <b>Field</b> | |||
| | |style="background-color: #e9e9ef"| <b>Type</b> | ||
|style="background-color: #e9e9ef"| <b>Null</b> | |||
| rowid | |style="background-color: #e9e9ef"| <b>Key</b> | ||
| tms | |style="background-color: #e9e9ef"| <b>Default</b> | ||
| fk_soc | |style="background-color: #e9e9ef"| <b>Extra</b> | ||
| fk_projet | |style="background-color: #e9e9ef"| <b>Description</b> | ||
| ref | |- | ||
| date_creation | | rowid | ||
| date_valid | | int(11) | ||
| date_cloture | | | ||
| date_commande | | PRI | ||
| fk_user_author | | NULL | ||
| fk_user_valid | | auto_increment | ||
| fk_user_cloture | | technical index | ||
| source | |- | ||
| fk_statut | | tms | ||
| amount_ht | | timestamp | ||
| remise_percent | | NO | ||
| remise | | | ||
| tva | | CURRENT_TIMESTAMP | ||
| total_ht | | | ||
| total_ttc | | | ||
| note | |- | ||
| note_public | | fk_soc | ||
| model_pdf | | int(11) | ||
| fk_methode_commande | int(11) | | NO | ||
| MUL | |||
| | |||
| | |||
| ID of society | |||
|- | |||
| fk_projet | |||
| int(11) | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| ID of proyect | |||
|- | |||
| ref | |||
| varchar(30) | |||
| NO | |||
| UNI | |||
| | |||
| | |||
| | |||
|- | |||
| date_creation | |||
| datetime | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| date_valid | |||
| datetime | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| date_cloture | |||
| datetime | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| date_commande | |||
| date | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| fk_user_author | |||
| int(11) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| fk_user_valid | |||
| int(11) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| fk_user_cloture | |||
| int(11) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| source | |||
| smallint(6) | |||
| NO | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
| fk_statut | |||
| smallint(6) | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| 0 pour brouillon, 1 pour validée, 2 pour "approuvée", 5 pour "reçu complètement" | |||
|- | |||
| amount_ht | |||
| double | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| remise_percent | |||
| double | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| remise | |||
| double | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| tva | |||
| double | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| total_ht | |||
| double | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| total_ttc | |||
| double | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| note | |||
| text | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| note_public | |||
| text | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| model_pdf | |||
| varchar(50) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| fk_methode_commande | |||
| int(11) | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|} | |||
Revision as of 14:54, 12 May 2009
The documentation related to other tables is available on the page: Table SQL
La documentation relative aux autres tables est disponible sur la page: Table SQL
La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
与其他表相关的文档请参阅:Table SQL
Contenu
La table llx_commande_fournisseur contient les commandes fournisseurs (les commandes effectuées auprès des fournisseurs). Ces commandes peuvent plus tard être étendues sous forme de factures fournisseurs, auquel cas c'est la table Table llx_facture_fourn qui est utilisée, en combinaison (s'il y a un lien entre commande et facture) avec la table Table llx_comfourn_facfourn.
Contains the provider orders (orders made to the providers). These orders may be later extended as (provider-) invoices, in which case Table llx_facture_fourn is used, in combination (if there is a link between order and invoice) with Table llx_comfourn_facfourn.
Contiene los pedidos a proveedores (pedidos realizados a los proveedores). Estos pedidos pueden extenderse a facturas de proveedores, en este caso se usa la Table llx_facture_fourn, en combinación (si hay un vínculo entre pedido y factura) con la Table llx_comfourn_facfourn
Structure
| Field | Type | Null | Key | Default | Extra | Description |
| rowid | int(11) | PRI | NULL | auto_increment | technical index | |
| tms | timestamp | NO | CURRENT_TIMESTAMP | |||
| fk_soc | int(11) | NO | MUL | ID of society | ||
| fk_projet | int(11) | YES | 0 | ID of proyect | ||
| ref | varchar(30) | NO | UNI | |||
| date_creation | datetime | YES | NULL | |||
| date_valid | datetime | YES | NULL | |||
| date_cloture | datetime | YES | NULL | |||
| date_commande | date | YES | NULL | |||
| fk_user_author | int(11) | YES | NULL | |||
| fk_user_valid | int(11) | YES | NULL | |||
| fk_user_cloture | int(11) | YES | NULL | |||
| source | smallint(6) | NO | ||||
| fk_statut | smallint(6) | YES | 0 | 0 pour brouillon, 1 pour validée, 2 pour "approuvée", 5 pour "reçu complètement" | ||
| amount_ht | double | YES | 0 | |||
| remise_percent | double | YES | 0 | |||
| remise | double | YES | 0 | |||
| tva | double | YES | 0 | |||
| total_ht | double | YES | 0 | |||
| total_ttc | double | YES | 0 | |||
| note | text | YES | NULL | |||
| note_public | text | YES | NULL | |||
| model_pdf | varchar(50) | YES | NULL | |||
| fk_methode_commande | int(11) | YES | 0 |