Table llx livraison: Difference between revisions
Jump to navigation
Jump to search
| Line 10: | Line 10: | ||
= 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 21: | Line 23: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
| Line 29: | Line 31: | ||
| tms | | tms | ||
| timestamp | | timestamp | ||
| | | NO | ||
| | | | ||
| CURRENT_TIMESTAMP | | CURRENT_TIMESTAMP | ||
| Line 38: | Line 40: | ||
| varchar(30) | | varchar(30) | ||
| NO | | NO | ||
| | | UNI | ||
| NULL | | NULL | ||
| | | | ||
| Line 45: | Line 47: | ||
| entity | | entity | ||
| int(11) | | int(11) | ||
| | | NO | ||
| | | UNI | ||
| 1 | | 1 | ||
| | | | ||
| Line 62: | Line 64: | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | | MUL | ||
| NULL | | NULL | ||
| | | | ||
| Line 74: | Line 76: | ||
| | | | ||
| ID of related expedition([[Table llx_expedition|llx_expedition]]->rowid) | | ID of related expedition([[Table llx_expedition|llx_expedition]]->rowid) | ||
|- | |- | ||
| date_creation | | date_creation | ||
| Line 87: | Line 87: | ||
| fk_user_author | | fk_user_author | ||
| int(11) | | int(11) | ||
| | | YES | ||
| | | MUL | ||
| | | NULL | ||
| | | | ||
| ID of user made the delivery ([[Table llx_user|llx_user]]->rowid) | | ID of user made the delivery ([[Table llx_user|llx_user]]->rowid) | ||
| Line 96: | Line 96: | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | | MUL | ||
| NULL | | NULL | ||
| | | | ||
| Line 112: | Line 112: | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | | MUL | ||
| NULL | | NULL | ||
| | | | ||
| Line 129: | Line 129: | ||
| YES | | YES | ||
| | | | ||
| 0. | | 0.00000000 | ||
| | | | ||
| total excluding tax | | total excluding tax | ||
| Line 156: | Line 156: | ||
| | | | ||
| Model PDF to print | | Model PDF to print | ||
|} | |} | ||
== 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_livraison_uk_ref | |||
| UNIQUE | |||
| ref,entity | |||
|- | |||
| idx_livraison_fk_soc | |||
| MULTIPLE | |||
| fk_soc | |||
|- | |||
| idx_livraison_fk_user_author | |||
| MULTIPLE | |||
| fk_user_author | |||
|- | |||
| idx_livraison_fk_user_valid | |||
| MULTIPLE | |||
| fk_user_valid | |||
|- | |||
| idx_livraison_fk_adresse_livraison | |||
| MULTIPLE | |||
| fk_adresse_livraison | |||
|} | |||
Revision as of 12:55, 22 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 delivery notes. The delivery notes details are in Table llx_livraisondet
Contient les bons de livraison. Les lignes de détails des bons de livraison sont dans la Table llx_livraisondet
Contiene las notas de entrega. Los detalles de las entregas se encuentran en la Table llx_livraisondet
Structure
Table
Version 1.1 2009/10/07
| Field | Type | Null | Key | Default | Extra | Description |
| rowid | int(11) | NO | PRI | auto_increment | technical index | |
| tms | timestamp | NO | CURRENT_TIMESTAMP | last update date | ||
| ref | varchar(30) | NO | UNI | NULL | delivery number | |
| entity | int(11) | NO | UNI | 1 | multi company id | |
| ref_client | varchar(30) | YES | NULL | customer number | ||
| fk_soc | int(11) | YES | MUL | NULL | ID of society affected (llx_societe->rowid) | |
| fk_expedition | int(11) | YES | NULL | ID of related expedition(llx_expedition->rowid) | ||
| date_creation | datetime | YES | NULL | date of creation | ||
| fk_user_author | int(11) | YES | MUL | NULL | ID of user made the delivery (llx_user->rowid) | |
| fk_user_valid | int(11) | YES | MUL | NULL | ID of validator user of delivery (llx_user->rowid) | |
| date_livraison | date | YES | NULL | date of delivery | ||
| fk_adresse_livraison | int(11) | YES | MUL | NULL | ID of delivery adress (llx_societe_adresse_livraison->rowid) | |
| statut | smallint(6) | YES | 0 | status of delivery | ||
| total_ht | double(24,8) | YES | 0.00000000 | total excluding tax | ||
| note | text | YES | NULL | comentary | ||
| note_public | text | YES | NULL | public comentary | ||
| model_pdf | varchar(50) | YES | NULL | Model PDF to print |
Keys
Version 1.1 2009/10/07
| Key | Type | Fields |
| PRIMARY | PRIMARY | rowid |
| idx_livraison_uk_ref | UNIQUE | ref,entity |
| idx_livraison_fk_soc | MULTIPLE | fk_soc |
| idx_livraison_fk_user_author | MULTIPLE | fk_user_author |
| idx_livraison_fk_user_valid | MULTIPLE | fk_user_valid |
| idx_livraison_fk_adresse_livraison | MULTIPLE | fk_adresse_livraison |