Table llx commande fournisseur: Difference between revisions

Corrected typos
(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}} 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]].
{{flag fr}} Table principales des commandes fournisserus, les détails de la commande sont dans la [[Table llx_commande_fournisseurdet]]


{{flag en}} 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]].
{{flag sp}} Tabla principal de los pedidos a proveedores, los detalles de pedidos se encuentran en [[Table llx_commande_fournisseurdet]]
 
{{flag sp}} 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 =
= Structure =
 
== Table ==
{|  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"
{|  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)  
| &nbsp;
| NO
| PRI
| PRI
| NULL
|  
| auto_increment  
| auto_increment  
| technical index
| technical index
|-
|-
| tms
| ref
| timestamp
| varchar(30)
| NO
| YES
|
| UNI
| CURRENT_TIMESTAMP
|  
|
|  
|  
| order number
{{FieldEntity}}
{{FieldRefExt}}
|-
| ref_supplier
| varchar(30)
| YES
|
| NULL
|
| supplier order number
|-
|-
| fk_soc  
| fk_soc  
| int(11)  
| int(11)
| NO  
| NO
| MUL
| UNI
|
|  
|
|  
| ID of society
| 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}}
|-
|-
| ref
| date_creation
| varchar(30)
| datetime
| NO
| YES
| UNI
|  
|  
|
| NULL
|  
|  
| creation date
|-
|-
| date_creation
| date_valid
| datetime  
| datetime
| YES  
| YES
|
|  
| NULL  
| NULL
|
|  
|  
| validation date
|-
|-
| date_valid
| date_cloture
| datetime  
| datetime
| YES  
| YES
|
|  
| NULL  
| NULL
|
|  
|  
| closed date
|-
|-
| date_cloture
| date_comande
| datetime
| date
| YES  
| YES
|  
|  
| NULL  
| NULL
|  
|  
| order date
|-
| fk_user_author
| int(11)
| YES
|  
|  
| NULL
|
| ID creator user ([[Table llx_user|llx_user]]->rowid)
|-
|-
| date_commande
| fk_user_valid
| date
| int(11)
| YES  
| YES
|  
|  
| NULL  
| NULL
| 
|  
|  
| ID validator user ([[Table llx_user|llx_user]]->rowid)
|-
|-
| fk_user_author
| fk_user_cloture
| int(11)  
| int(11)
| YES  
| YES
|
| NULL
|  
|  
| NULL
| ID closer user ([[Table llx_user|llx_user]]->rowid)
|-
| source
| smallint(6)
| NO
|  
|  
|  
|  
|-
| fk_user_valid
| int(11)
| YES
|
| NULL
|
|  
|  
| order source
|-
|-
| fk_user_cloture
| fk_statut
| int(11)  
| smallint(6)
| YES  
| YES
|
| NULL
|  
|  
| 0
|  
|  
| ID of status - See [[Module Suppliers (developer)]]
|-
|-
| source
| amount_ht
| smallint(6)
| real
| NO
| YES
|
|  
|
| 0
|
|  
|  
| amount without tax
|-
|-
| fk_statut
| remise_percent
| smallint(6)
| real
| YES  
| YES
|
| 0
|
| 0 pour brouillon, 1 pour validée, 2 pour "approuvée", 5 pour "reçu complètement"
|-
| amount_ht
| double
| YES
|
| 0
|  
|  
| 0
|  
|  
| discount percentage 
|-
|-
| remise_percent
| remise
| double
| real
| YES  
| YES
|
| 0
|
|  
|  
| 0
|
| discount amount
|-
|-
| remise
| tva
| double  
| double(24,8)
| YES  
| YES
|  
|  
| 0  
| 0.00000000
|
|  
|  
| VAT
|-
|-
| tva
| total_ht
| double  
| double(24,8)
| YES  
| YES
|  
|  
| 0  
| 0.00000000
|
|  
|  
| total without tax
|-
|-
| total_ht
| total_ttc
| double  
| double(24,8)
| YES  
| YES
|
| 0 
|  
|  
| 0.00000000
|  
|  
| total
|-
|-
| total_ttc
| note
| double
| text
| YES  
| YES
|  
|  
| 0 
| NULL
|
|  
|  
| comentary
|-
|-
| note
| note_public
| text  
| text
| YES  
| YES
|
| NULL
|
|  
|  
|-
| NULL
| note_public
| text
| YES
|
| 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
|}
|}&nbsp;
 
== 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
|}&nbsp;
13

edits