Table llx facturedet rec: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 25: Line 25:
| auto_increment  
| auto_increment  
| technical index
| technical index
|-
| fk_facture
| int(11)
| NO
| MUL
|
|
| ID of related facture ([[Table llx_facture|llx_facture]]->rowid)
|-
| fk_product
| int(11)
| NO
| MUL
|
|
| ID of related product ([[Table llx_product|llx_product]]->rowid)
|-
| product_type
| int(11)
| NO
|
| 0
|
| type of product
|-
| description
| text
| NO
|
|
|
| description of product
|-
| datec
| datetime
| YES
|
| NULL
|
| creation date
|-
| tva_taux
| double
| NO
|
| 19.6
|
| VAT tax
|-
| qty
| double
| NO
|
|
|
| quantity
|-
| remise
| double
| YES
|
| 0
|
| discount
|-
| remise_percent
| double
| YES
|
| 0
|
| percent discount
|-
| price
| double
| YES
|
| NULL
|
| final price
|-
| subprice
| double
| YES
|
|
|
| price before discount
|-
| total_ttc
| double
| YES
|
|
|
| total with tax
|-
| total_ht
| double
| YES
|
|
|
| total excluding tax
|-
| total_tva
| double
| YES
|
|
|
| total tax
|-
| total_ttc
| double
| YES
|
| 0.00
|
| total with tax
|}
|}

Revision as of 09:32, 8 July 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

Structure

Field Type Null Key Default Extra Description
rowid int(11)   PRI NULL auto_increment technical index
fk_facture int(11) NO MUL ID of related facture (llx_facture->rowid)
fk_product int(11) NO MUL ID of related product (llx_product->rowid)
product_type int(11) NO 0 type of product
description text NO description of product
datec datetime YES NULL creation date
tva_taux double NO 19.6 VAT tax
qty double NO quantity
remise double YES 0 discount
remise_percent double YES 0 percent discount
price double YES NULL final price
subprice double YES price before discount
total_ttc double YES total with tax
total_ht double YES total excluding tax
total_tva double YES total tax
total_ttc double YES 0.00 total with tax