Table llx facture rec: Difference between revisions
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) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
| Line 34: | Line 36: | ||
| varchar(50) | | varchar(50) | ||
| NO | | NO | ||
| UNI | |||
| | | | ||
| | | | ||
| | | title | ||
|- | |- | ||
| fk_soc | | fk_soc | ||
| Line 56: | Line 58: | ||
|- | |- | ||
| amount | | amount | ||
| | | real | ||
| NO | | NO | ||
| | | | ||
| Line 64: | Line 66: | ||
|- | |- | ||
| remise | | remise | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 72: | Line 74: | ||
|- | |- | ||
| remise_percent | | remise_percent | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 80: | Line 82: | ||
|- | |- | ||
| remise_absolute | | remise_absolute | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 88: | Line 90: | ||
|- | |- | ||
| tva | | tva | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 96: | Line 98: | ||
|- | |- | ||
| total | | total | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 104: | Line 106: | ||
|- | |- | ||
| total_ttc | | total_ttc | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 182: | Line 184: | ||
| | | | ||
| | | | ||
|} | |} | ||
== 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 | |||
|- | |||
| idx_facture_rec_uk_titre | |||
| UNI | |||
| titre | |||
|- | |||
| idx_facture_rec_fksoc | |||
| MULTIPLE | |||
| fk_soc | |||
|- | |||
| 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 | |||
|} | |||
Revision as of 08:01, 21 October 2009
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 predefined invoices. The invoice details are in Table llx_facturedet_rec
Contient les factures prédéfinies. les détails de la facture sont dans la Table llx_facturedet_rec
Contiene las facturas predefinidas. Los detalles de la factura se encuentran en la Table llx_facturedet_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 | |
| titre | varchar(50) | NO | UNI | title | ||
| fk_soc | int(11) | NO | MUL | ID society (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 (llx_user->rowid) | |
| fk_projet | int(11) | YES | MUL | NULL | ID of related proyect (llx_projet->rowid) | |
| fk_cond_reglement | int(11) | NO | 0 | Id of payment condition (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
Version 1.1 2009/10/07
| Key | Type | Fields |
| PRIMARY | PRIMARY | rowid |
| idx_facture_rec_uk_titre | UNI | titre |
| idx_facture_rec_fksoc | MULTIPLE | fk_soc |
| 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 |