4,395
edits
m (moved Facturedet rec (Table SQL) to Table llx facturedet rec) |
|||
| 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 | |||
|} | |} | ||