13
edits
(Corrected typos) |
|||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
{{ListOfTables}} | {{ListOfTables}} | ||
= Contenu = | = Content/Contenu/Contenido = | ||
{{flag en}} Contains suppliers orders. The order details are in [[Table llx_commande_fournisseurdet]] | |||
{{flag fr}} | {{flag fr}} Table principales des commandes fournisserus, les détails de la commande sont dans la [[Table llx_commande_fournisseurdet]] | ||
{{flag sp}} Tabla principal de los pedidos a proveedores, los detalles de pedidos se encuentran en [[Table llx_commande_fournisseurdet]] | |||
{{flag sp}} | |||
= Structure = | = Structure = | ||
== Table == | |||
{| align="left" width="100%" border="0 | {| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox" | ||
|style="background-color: #e9e9ef"| <b>Field</b> | |style="background-color: #e9e9ef"| <b>Field</b> | ||
|style="background-color: #e9e9ef"| <b>Type</b> | |style="background-color: #e9e9ef"| <b>Type</b> | ||
| Line 27: | Line 26: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
|- | |- | ||
| | | ref | ||
| | | varchar(30) | ||
| | | YES | ||
| | | UNI | ||
| | |||
| | |||
| | | | ||
| order number | |||
{{FieldEntity}} | |||
{{FieldRefExt}} | |||
|- | |||
| ref_supplier | |||
| varchar(30) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| supplier order number | |||
|- | |- | ||
| fk_soc | | fk_soc | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| | | UNI | ||
| | | | ||
| | | | ||
| ID | | ID society ([[Table llx_societe|llx_societe]]->rowid) | ||
|- | |- | ||
| fk_projet | | fk_projet | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0 | ||
| | | | ||
| ID of proyect | | ID of proyect ([[Table llx_projet|llx_projet]]->rowid) | ||
{{FieldTms}} | |||
|- | |- | ||
| | | date_creation | ||
| | | datetime | ||
| | | YES | ||
| | | | ||
| | | NULL | ||
| | | | ||
| creation date | |||
|- | |- | ||
| | | date_valid | ||
| datetime | | datetime | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| validation date | |||
|- | |- | ||
| | | date_cloture | ||
| datetime | | datetime | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| closed date | |||
|- | |- | ||
| | | date_comande | ||
| | | date | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| order date | |||
|- | |||
| fk_user_author | |||
| int(11) | |||
| YES | |||
| | | | ||
| NULL | |||
| | |||
| ID creator user ([[Table llx_user|llx_user]]->rowid) | |||
|- | |- | ||
| | | fk_user_valid | ||
| | | int(11) | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| ID validator user ([[Table llx_user|llx_user]]->rowid) | |||
|- | |- | ||
| | | fk_user_cloture | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | |||
| NULL | |||
| | | | ||
| | | ID closer user ([[Table llx_user|llx_user]]->rowid) | ||
|- | |||
| source | |||
| smallint(6) | |||
| NO | |||
| | | | ||
| | | | ||
| | | | ||
| order source | |||
|- | |- | ||
| | | fk_statut | ||
| | | smallint(6) | ||
| YES | | YES | ||
| | | | ||
| 0 | |||
| | | | ||
| ID of status - See [[Module Suppliers (developer)]] | |||
|- | |- | ||
| | | amount_ht | ||
| | | real | ||
| YES | |||
| | | | ||
| | | 0 | ||
| | |||
| | | | ||
| amount without tax | |||
|- | |- | ||
| | | remise_percent | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| 0 | |||
| | | | ||
| discount percentage | |||
|- | |- | ||
| | | remise | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| 0 | |||
| | |||
| discount amount | |||
|- | |- | ||
| | | tva | ||
| double | | double(24,8) | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0.00000000 | ||
| | | | ||
| VAT | |||
|- | |- | ||
| | | total_ht | ||
| double | | double(24,8) | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0.00000000 | ||
| | | | ||
| total without tax | |||
|- | |- | ||
| | | total_ttc | ||
| double | | double(24,8) | ||
| YES | | YES | ||
| | | | ||
| 0.00000000 | |||
| | | | ||
| total | |||
|- | |- | ||
| | | note | ||
| | | text | ||
| YES | | YES | ||
| | | | ||
| | | NULL | ||
| | | | ||
| comentary | |||
|- | |- | ||
| | | note_public | ||
| text | | text | ||
| YES | | YES | ||
| | | | ||
| NULL | |||
| NULL | |||
| | | | ||
| public comentary | |||
|- | |- | ||
| model_pdf | | model_pdf | ||
| varchar(50) | | varchar(50) | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| Model PDF to print | |||
|- | |- | ||
| fk_methode_commande | | fk_methode_commande | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0 | ||
| | | | ||
| | | order method | ||
|} | |} | ||
== Keys == | |||
{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox" | |||
|style="background-color: #e9e9ef"| <b>Key</b> | |||
|style="background-color: #e9e9ef"| <b>Type</b> | |||
|style="background-color: #e9e9ef"| <b>Fields</b> | |||
|- | |||
| PRIMARY | |||
| PRIMARY | |||
| rowid | |||
|- | |||
| uk_commande_fournisseur_ref | |||
| UNIQUE | |||
| ref,fk_soc,entity | |||
|- | |||
| idx_commande_fournisseur_fk_soc | |||
| MULTIPLE | |||
| fk_soc | |||
|} | |||
edits