Table llx deplacement: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 10: Line 10:


= Structure =
= Structure =
{|  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"
== 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)  
| &nbsp;
| NO
| PRI
| PRI
| NULL
|  
| auto_increment  
| auto_increment  
| technical index
| technical index
|-
|-
| tms
| ref
| timestamp
| varchar(30)
|  
|  
|
| NULL
|  
|  
| CURRENT_TIMESTAMP
| reference donation (TODO change to NOT NULL)
|-
| entity
| int(11)
| NO
|
| 1
|  
|  
| last update date
| 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 creation
| 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
|  
|  
| type of trip note
| Status of trips/expenses (0=Draft, 1=Validated)
|-
|-
| km
| km
| double
| 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
|}&nbsp;
 
== 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
|}&nbsp;

Latest revision as of 12:37, 10 August 2012


En verysmall.png The documentation related to other tables is available on the page: Table SQL
Fr verysmall.png La documentation relative aux autres tables est disponible sur la page: Table SQL
Es verysmall.png La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
De verysmall.png Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
Cn verysmall.png与其他表相关的文档请参阅:Table SQL


Content/Contenu/Contenido

En verysmall.png Contains the expenses and trips notes

Fr verysmall.png Contient les notes de frais et déplacements

Es verysmall.png Contiene las notas de gastos y desplazamientos

Structure

Table

Field Type Null Key Default Extra Description
rowid int(11) NO PRI auto_increment technical index
ref varchar(30) NULL reference donation (TODO change to NOT NULL)
entity int(11) NO 1 multi company id
date_c datetime NO date of creation
tms timestamp NO Current date Date of last modification. See page Field Tms.
dated datetime YES NULL date of trip
fk_user int(11) NO ID of user made the trip note (llx_user->rowid)
fk_user_author int(11) YES NULL ID of creator user of trip note (llx_user->rowid)
type varchar(12) NO type of trip note
fk_statut integer YES 1 Status of trips/expenses (0=Draft, 1=Validated)
km real YES NULL amount or km
fk_soc int(11) YES NULL ID society affected (llx_societe->rowid)
fk_projet int(11) YES NULL ID proyect affected (llx_projet->rowid)
note text YES NULL notes
note_public text YES NULL public notes

 

Keys

Key Type Fields
PRIMARY PRIMARY rowid