31,040
edits
No edit summary |
(→Keys) |
||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category:Invoices]] | |||
[[Category:Facture]] | [[Category:Facture]] | ||
[[Category:Facturas]] | [[Category:Facturas]] | ||
| Line 5: | Line 6: | ||
{{ListOfTables}} | {{ListOfTables}} | ||
= Contenu = | = Content/Contenu/Contenido = | ||
{{flag en}} Contains the predefined invoices. The invoice details are in [[Table llx_facturedet_rec]] | |||
{{flag fr}} Contient les factures prédéfinies. les détails de la facture sont dans la [[Table llx_facturedet_rec]] | |||
{{flag sp}} Contiene las facturas predefinidas. Los detalles de la factura se encuentran en la [[Table llx_facturedet_rec]] | |||
= Structure = | = Structure = | ||
== 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>Type</b> | |||
|style="background-color: #e9e9ef"| <b>Null</b> | |||
|style="background-color: #e9e9ef"| <b>Key</b> | |||
|style="background-color: #e9e9ef"| <b>Default</b> | |||
|style="background-color: #e9e9ef"| <b>Extra</b> | |||
|style="background-color: #e9e9ef"| <b>Description</b> | |||
|- | |||
| rowid | |||
| int(11) | |||
| NO | |||
| PRI | |||
| | |||
| auto_increment | |||
| technical index | |||
|- | |||
| titre | |||
| varchar(50) | |||
| NO | |||
| UNI | |||
| | |||
| | |||
| title | |||
|- | |||
| entity | |||
| int(11) | |||
| NO | |||
| UNI | |||
| 1 | |||
| | |||
| multi company id | |||
|- | |||
| fk_soc | |||
| int(11) | |||
| NO | |||
| MUL | |||
| | |||
| | |||
| ID society ([[Table llx_societe|llx_societe]]->rowid) | |||
|- | |||
| datec | |||
| datetime | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| creation date | |||
|- | |||
| amount | |||
| real | |||
| NO | |||
| | |||
| 0 | |||
| | |||
| amount | |||
|- | |||
| remise | |||
| real | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| discount | |||
|- | |||
| remise_percent | |||
| real | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| percent discount | |||
|- | |||
| remise_absolute | |||
| real | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| absolut discount | |||
|- | |||
| tva | |||
| real | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| VAT | |||
|- | |||
| total | |||
| real | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| total | |||
|- | |||
| total_ttc | |||
| real | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| total with tax | |||
|- | |||
| fk_user_author | |||
| int(11) | |||
| YES | |||
| MUL | |||
| NULL | |||
| | |||
| ID of user author of invoice ([[Table llx_user|llx_user]]->rowid) | |||
|- | |||
| fk_projet | |||
| int(11) | |||
| YES | |||
| MUL | |||
| NULL | |||
| | |||
| ID of related proyect ([[Table llx_projet|llx_projet]]->rowid) | |||
|- | |||
| fk_cond_reglement | |||
| int(11) | |||
| NO | |||
| | |||
| 0 | |||
| | |||
| Id of payment condition ([[Table llx_cond_reglement|llx_cond_reglement]]->rowid) | |||
|- | |||
| fk_mode_reglement | |||
| int(11) | |||
| NO | |||
| | |||
| 0 | |||
| | |||
| Id of payment mode | |||
|- | |||
| date_lim_reglement | |||
| date | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| date limit for payment | |||
|- | |||
| note | |||
| text | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| comentary | |||
|- | |||
| note_public | |||
| text | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| public comentary | |||
|- | |||
| frequency | |||
| char(2) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| invoice frequency | |||
|- | |||
| last_gen | |||
| varchar(7) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|} | |||
== 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 | |||
|- | |||
| idx_facture_rec_uk_titre | |||
| UNI | |||
| titre, entity | |||
||- | |||
| idx_facture_rec_fk_soc | |||
| MULTIPLE | |||
| fk_soc | |||
|- | |||
| idx_facture_rec_fk_user_author | |||
| MULTIPLE | |||
| fk_user_author | |||
|- | |||
| idx_facture_rec_fk_projet | |||
| MULTIPLE | |||
| fk_projet | |||
|} | |||