Table llx commande fournisseur: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 14: Line 14:


= Structure =
= Structure =
== Table ==
'''Version 1.1 2009/10/07'''
{|  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" 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>Field</b>
Line 25: Line 27:
| rowid  
| rowid  
| int(11)  
| int(11)  
| &nbsp;
| NO
| PRI
| PRI
| NULL
|  
| auto_increment  
| auto_increment  
| technical index
| technical index
Line 49: Line 51:
| fk_projet
| fk_projet
| int(11)
| int(11)
|  
| YES
|  
|  
| 0
| 0
Line 65: Line 67:
| entity
| entity
| int(11)  
| int(11)  
| &nbsp;
| NO
|  
|  
| 1
| 1
Line 137: Line 139:
| source
| source
| smallint(6)
| smallint(6)
| YES
| NO
|
|  
|  
| NULL
|  
|  
| order source
| order source
Line 149: Line 151:
| 0
| 0
|  
|  
|  
| ID of status
|-
|-
| amount_ht
| amount_ht
| double
| real
| YES
| YES
|  
|  
| 0
| 0
|  
|  
|  
| amount without tax
|-
|-
| remise_percent
| remise_percent
| double
| real
| YES
| YES
|  
|  
| 0
| 0
|  
|  
|  
| discount percentage 
|-
|-
| remise
| remise
| double
| real
| YES
| YES
|  
|  
| 0
| 0
|  
|  
|  
| discount amount
|-
|-
| tva
| tva
Line 179: Line 181:
| YES
| YES
|  
|  
| 0.00
| 0.00000000
|
|  
|  
| VAT
|-
|-
| total_ht
| total_ht
Line 187: Line 189:
| YES
| YES
|  
|  
| 0.00
| 0.00000000
|  
|  
|  
|  
Line 195: Line 197:
| YES
| YES
|  
|  
| 0.00
| 0.00000000
|
|  
|  
| total without tax
|-
|-
| note
| note
Line 230: Line 232:
|  
|  
| order method
| order method
|}
|}&nbsp;
== Keys ==
'''Version 1.1 2009/10/07'''
{|  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>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;

Revision as of 07:31, 20 October 2009


En verysmall.png The documentation related to other tables is available on the page: Table SQL
Fr verysmall.png La documentation relative aux autres tables est disponible sur la page: Table SQL
Es verysmall.png La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
De verysmall.png Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
Cn verysmall.png与其他表相关的文档请参阅:Table SQL


Content/Contenu/Contenido

En verysmall.png Contains provider orders. The order details are in Table llx_commande_fournisseurdet

Fr verysmall.png Table principales des commandes fournisserus, les détails de la commande sont dans la Table llx_commande_fournisseurdet

Es verysmall.png Tabla principal de los pedidos a proveedores, los detalles de pedidos se encuentran en Table llx_commande_fournisseurdet

Structure

Table

Version 1.1 2009/10/07

Field Type Null Key Default Extra Description
rowid int(11) NO PRI auto_increment technical index
tms timestamp NO CURRENT_TIMESTAMP last update date
fk_soc int(11) NO ID society (llx_societe->rowid)
fk_projet int(11) YES 0 ID of proyect (llx_projet->rowid)
ref varchar(30) YES order number
entity int(11) NO 1 multi company id
ref_supplier varchar(30) YES NULL supplier order number
date_creation datetime YES NULL creation date
date_valid datetime YES NULL validation date
date_cloture datetime YES NULL closed date
date_comande date YES NULL order date
fk_user_author int(11) YES NULL ID creator user (llx_user->rowid)
fk_user_valid int(11) YES NULL ID validator user (llx_user->rowid)
fk_user_cloture int(11) YES NULL ID closer user (llx_user->rowid)
source smallint(6) NO order source
fk_statut smallint(6) YES 0 ID of status
amount_ht real YES 0 amount without tax
remise_percent real YES 0 discount percentage
remise real YES 0 discount amount
tva double(24,8) YES 0.00000000 VAT
total_ht double(24,8) YES 0.00000000
total_ttc double(24,8) YES 0.00000000 total without tax
note text YES NULL comentary
note_public text YES NULL public comentary
model_pdf varchar(50) YES NULL Model PDF to print
fk_methode_commande int(11) YES 0 order method

 

Keys

Version 1.1 2009/10/07

Key Type Fields
PRIMARY PRIMARY rowid
uk_commande_fournisseur_ref UNIQUE ref,fk_soc,entity
idx_commande_fournisseur_fk_soc MULTIPLE fk_soc