Table llx deplacement: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
mNo edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 2: Line 2:
{{ListOfTables}}
{{ListOfTables}}


= Contenu =
= Content/Contenu/Contenido =
{{flag en}} Contains the expenses and trips notes


{{flag fr}} Contient les notes de frais et déplacements
{{flag sp}} Contiene las notas de gastos y desplazamientos


= 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
|-
| 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
{{FieldTms}}
|-
| dated
| datetime
| YES
|
| NULL
|
| date of trip
|-
| fk_user
| int(11)
| NO
|
|
|
| ID of user made the trip note ([[Table llx_user|llx_user]]->rowid)
|-
| fk_user_author
| int(11)
| YES
|
| NULL
|
| ID of creator user of trip note ([[Table llx_user|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 ([[Table llx_societe|llx_societe]]->rowid)
|-
| fk_projet
| int(11)
| YES
|
| NULL
|
| ID proyect affected ([[Table llx_projet|llx_projet]]->rowid)
|-
| note
| text
| YES
|
| NULL
|
| 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