31,026
edits
No edit summary |
(→Table) |
||
| (11 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
[[ | [[Category:Table SQL]] | ||
{{ListOfTables}} | |||
= Contenu = | = Content/Contenu/Contenido = | ||
{{flag en}} Contains the delivery notes. The delivery notes details are in [[Table llx_livraisondet]] | |||
{{flag fr}} Contient les bons de livraison. Les lignes de détails des bons de livraison sont dans la [[Table llx_livraisondet]] | |||
{{flag sp}} Contiene las notas de entrega. Los detalles de las entregas se encuentran en la [[Table llx_livraisondet]] | |||
= 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 | |||
{{FieldTms}} | |||
|- | |||
| ref | |||
| varchar(30) | |||
| NO | |||
| UNI | |||
| NULL | |||
| | |||
| delivery number | |||
|- | |||
| entity | |||
| int(11) | |||
| NO | |||
| UNI | |||
| 1 | |||
| | |||
| multi company id | |||
|- | |||
| ref_costumer | |||
| varchar(30) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| customer number | |||
|- | |||
| fk_soc | |||
| int(11) | |||
| YES | |||
| MUL | |||
| NULL | |||
| | |||
| ID of society affected ([[Table llx_societe|llx_societe]]->rowid) | |||
|- | |||
| date_creation | |||
| datetime | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| date of creation | |||
|- | |||
| fk_user_author | |||
| int(11) | |||
| YES | |||
| MUL | |||
| NULL | |||
| | |||
| ID of user made the delivery ([[Table llx_user|llx_user]]->rowid) | |||
|- | |||
| fk_user_valid | |||
| int(11) | |||
| YES | |||
| MUL | |||
| NULL | |||
| | |||
| ID of validator user of delivery ([[Table llx_user|llx_user]]->rowid) | |||
|- | |||
| date_delivery | |||
| date | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| date of delivery | |||
|- | |||
| fk_adresse_livraison | |||
| int(11) | |||
| YES | |||
| MUL | |||
| NULL | |||
| | |||
| ID of delivery adress ([[Table llx_societe_adresse_livraison|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 == | |||
{| 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_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 | |||
|} | |||