31,040
edits
No edit summary |
(→Table) |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 10: | Line 10: | ||
= Structure = | = Structure = | ||
{| align="left" width="100%" border="0 | == 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>Field</b> | ||
|style="background-color: #e9e9ef"| <b>Type</b> | |style="background-color: #e9e9ef"| <b>Type</b> | ||
| Line 21: | Line 22: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
|- | |- | ||
| | | ref | ||
| | | varchar(30) | ||
| | | | ||
| | |||
| NULL | |||
| | | | ||
| | | reference donation (TODO change to NOT NULL) | ||
|- | |||
| entity | |||
| int(11) | |||
| NO | |||
| | |||
| 1 | |||
| | | | ||
| | | multi company id | ||
|- | |- | ||
| date_c | | date_c | ||
| datetime | |||
| NO | |||
| | |||
| | |||
| | |||
| date of creation | |||
{{FieldTms}} | |||
|- | |||
| dated | |||
| datetime | | datetime | ||
| YES | | YES | ||
| Line 41: | Line 59: | ||
| NULL | | NULL | ||
| | | | ||
| date of | | date of trip | ||
|- | |- | ||
| fk_user | | fk_user | ||
| int(11) | | int(11) | ||
| | | NO | ||
| | | | ||
| | | | ||
| Line 61: | Line 79: | ||
| type | | type | ||
| varchar(12) | | varchar(12) | ||
| NO | |||
| | |||
| | | | ||
| | | | ||
| type of trip note | |||
|- | |||
| fk_statut | |||
| integer | |||
| YES | |||
| | | | ||
| 1 | |||
| | | | ||
| | | Status of trips/expenses (0=Draft, 1=Validated) | ||
|- | |- | ||
| km | | km | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 82: | Line 108: | ||
| | | | ||
| ID society affected ([[Table llx_societe|llx_societe]]->rowid) | | ID society affected ([[Table llx_societe|llx_societe]]->rowid) | ||
|- | |||
| fk_projet | |||
| int(11) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| ID proyect affected ([[Table llx_projet|llx_projet]]->rowid) | |||
|- | |- | ||
| note | | note | ||
| Line 90: | Line 124: | ||
| | | | ||
| notes | | notes | ||
|} | |- | ||
| note_public | |||
| text | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| public notes | |||
|} | |||
== 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 | |||
|} | |||