Table llx facturedet rec: 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:
| product_type
| product_type
| int(11)  
| int(11)  
| NO
| YES
|  
|  
| 0
| 0
Line 59: Line 61:
| YES
| YES
|  
|  
|  
| NULL
|  
|  
| description of product
| description of product
Line 72: Line 74:
|-
|-
| tva_taux
| tva_taux
| double
| real
| YES
| YES
|  
|  
Line 80: Line 82:
|-
|-
| qty
| qty
| double
| real
| YES
| YES
|  
|  
Line 88: Line 90:
|-
|-
| remise
| remise
| double
| real
| YES  
| YES  
|  
|  
Line 96: Line 98:
|-
|-
| remise_percent
| remise_percent
| double
| real
| YES  
| YES  
|  
|  
Line 104: Line 106:
|-
|-
| price
| price
| double
| real
| YES
| YES
|  
|  
Line 112: Line 114:
|-
|-
| subprice
| subprice
| double
| real
| YES
| YES
|  
|  
Line 120: Line 122:
|-
|-
| total_ttc
| total_ttc
| double
| real
| YES  
| YES  
|  
|  
Line 128: Line 130:
|-
|-
| total_ht
| total_ht
| double
| ral
| YES
| YES
|  
|  
Line 136: Line 138:
|-
|-
| total_tva
| total_tva
| double
| real
| YES
| YES
|  
|  
Line 144: Line 146:
|-
|-
| total_ttc
| total_ttc
| double
| real
| YES
| YES
|  
|  
Line 150: Line 152:
|  
|  
| total with tax
| total with tax
|}
|}&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
|}&nbsp;

Revision as of 09:42, 21 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 the lines of predefined invoices, this table is linked with Table llx_facture_rec.

Fr verysmall.png Contient les lignes des factures prédéfinies, cette table est liée avec la Table llx_facture_rec.

Es verysmall.png Contiene las líneas de las facturas predefinidas, esta tabla está vinculada con Table llx_facture_rec.

Structure

Table

Version 1.1 2009/10/07

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

 

Keys

Version 1.1 2009/10/07

Key Type Fields
PRIMARY PRIMARY rowid