Table llx facturedet rec: Difference between revisions
Jump to navigation
Jump to search
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category:Facture]] | [[Category:Facture]] | ||
[[Category:Facturas]] | [[Category:Facturas]] | ||
[[Category:Invoices]] | |||
[[Category:Table SQL]] | [[Category:Table SQL]] | ||
| Line 6: | Line 7: | ||
= Content/Contenu/Contenido = | = Content/Contenu/Contenido = | ||
{{Flag en}} Contains the lines of predefined invoices, this table is linked with [[Table llx_facture_rec]]. | |||
{{Flag fr}} Contient les lignes des factures prédéfinies, cette table est liée avec la [[Table llx_facture_rec]]. | |||
{{Flag sp}} Contiene las líneas de las facturas predefinidas, esta tabla está vinculada con [[Table llx_facture_rec]]. | |||
= Structure = | = Structure = | ||
{| align="left" width="100%" border="0 | == Table == | ||
{| 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 19: | Line 26: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
| Line 28: | Line 35: | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| | | | ||
| | | | ||
| ID of related facture ([[Table | | | ||
| ID of related facture ([[Table llx_facture_rec|llx_facture_rec]]->rowid) | |||
|- | |- | ||
| fk_product | | fk_product | ||
| int(11) | | int(11) | ||
| | | YES | ||
| | | | ||
| NULL | |||
| | | | ||
| ID of related product ([[Table llx_product|llx_product]]->rowid) | | ID of related product ([[Table llx_product|llx_product]]->rowid) | ||
| Line 43: | Line 50: | ||
| product_type | | product_type | ||
| int(11) | | int(11) | ||
| | | YES | ||
| | | | ||
| 0 | | 0 | ||
| Line 51: | Line 58: | ||
| description | | description | ||
| text | | text | ||
| | | YES | ||
| | | | ||
| NULL | |||
| | | | ||
| description of product | | description of product | ||
| Line 66: | Line 73: | ||
|- | |- | ||
| tva_taux | | tva_taux | ||
| | | real | ||
| | | YES | ||
| | | | ||
| 19.6 | | 19.6 | ||
| Line 74: | Line 81: | ||
|- | |- | ||
| qty | | qty | ||
| | | real | ||
| YES | |||
| | |||
| | | | ||
| NULL | |||
| | | | ||
| quantity | | quantity | ||
|- | |- | ||
| remise | | remise | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 90: | Line 97: | ||
|- | |- | ||
| remise_percent | | remise_percent | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 98: | Line 105: | ||
|- | |- | ||
| price | | price | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 106: | Line 113: | ||
|- | |- | ||
| subprice | | subprice | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| | | NULL | ||
| | | | ||
| price before discount | | price before discount | ||
|- | |- | ||
| total_ttc | | total_ttc | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| | | NULL | ||
| | | | ||
| total with tax | | total with tax | ||
|- | |- | ||
| total_ht | | total_ht | ||
| | | ral | ||
| YES | | YES | ||
| | | | ||
| | | NULL | ||
| | | | ||
| total excluding tax | | total excluding tax | ||
|- | |- | ||
| total_tva | | total_tva | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| | | NULL | ||
| | | | ||
| total tax | | total tax | ||
|- | |- | ||
| total_ttc | | total_ttc | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| | | NULL | ||
| | | | ||
| total with tax | | total with tax | ||
|} | |} | ||
== 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 | |||
|} | |||
Latest revision as of 15:24, 19 July 2011
The documentation related to other tables is available on the page: Table SQL
La documentation relative aux autres tables est disponible sur la page: Table SQL
La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
与其他表相关的文档请参阅:Table SQL
Content/Contenu/Contenido
Contains the lines of predefined invoices, this table is linked with Table llx_facture_rec.
Contient les lignes des factures prédéfinies, cette table est liée avec la Table llx_facture_rec.
Contiene las líneas de las facturas predefinidas, esta tabla está vinculada con Table llx_facture_rec.
Structure
Table
| 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
| Key | Type | Fields |
| PRIMARY | PRIMARY | rowid |