Table llx deplacement: Difference between revisions

 
(5 intermediate revisions by 3 users not shown)
Line 11: Line 11:
= Structure =
= Structure =
== Table ==
== Table ==
'''Version 1.1 2009/10/07'''
{|  align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
{|  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>
  |style="background-color: #e9e9ef"| <b>Type</b>
  |style="background-color: #e9e9ef"| <b>Type</b>
Line 28: Line 27:
| 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
Line 36: Line 51:
|  
|  
| date of creation
| date of creation
|-
{{FieldTms}}
| tms
| timestamp
| NO
|
| CURRENT_TIMESTAMP
|
| last update date
|-
|-
| dated
| dated
Line 76: Line 84:
|  
|  
| type of trip note
| type of trip note
|-
| fk_statut
| integer
| YES
|
| 1
|
| Status of trips/expenses (0=Draft, 1=Validated)
|-
|-
| km
| km
Line 92: 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 100: Line 124:
|  
|  
| notes
| notes
|-
| note_public
| text
| YES
|
| NULL
|
| public notes
|}&nbsp;
|}&nbsp;
== Keys ==
== Keys ==
'''Version 1.1 2009/10/07'''
{|  align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
{|  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>Key</b>
  |style="background-color: #e9e9ef"| <b>Type</b>
  |style="background-color: #e9e9ef"| <b>Type</b>

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

  Contains the expenses and trips notes

  Contient les notes de frais et déplacements

  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