Difference between revisions of "Table llx adherent"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
m (→‎Table: insert #5 gender)
m
Tag: 2017 source edit
 
(29 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
[[Category:Table SQL]]
 
[[Category:Table SQL]]
[[Category:Foundations]]
+
[[Category:Module Membership management]]
 
[[Category:Adhérent]]
 
[[Category:Adhérent]]
 
[[Category:Miembros]]
 
[[Category:Miembros]]
Line 18: Line 18:
 
=Structure=
 
=Structure=
 
==Table==
 
==Table==
 +
 +
Version Dolibarr 15
 +
 +
 
{| class="dolbox" width="100%" cellspacing="0" cellpadding="1" border="0" align="left"
 
{| class="dolbox" width="100%" cellspacing="0" cellpadding="1" border="0" align="left"
  |#
+
  | style="background-color: #e9e9ef" |<b> # </b>
| 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>
 
  | style="background-color: #e9e9ef" |<b>Null</b>
 
  | style="background-color: #e9e9ef" |<b>Null</b>
Line 27: Line 31:
 
  | style="background-color: #e9e9ef" |<b>Extra</b>
 
  | style="background-color: #e9e9ef" |<b>Extra</b>
 
  | style="background-color: #e9e9ef" |<b>Description</b>
 
  | style="background-color: #e9e9ef" |<b>Description</b>
 +
| style="background-color: #e9e9ef" |<b>History</b>
 
|-
 
|-
 
|1
 
|1
Line 36: Line 41:
 
|auto_increment
 
|auto_increment
 
|technical index
 
|technical index
 +
|
 
|-
 
|-
 
|2
 
|2
Line 42: Line 48:
 
|NO
 
|NO
 
|IDX
 
|IDX
 +
|
 
|
 
|
 
|
 
|
Line 54: Line 61:
 
|
 
|
 
|See page Field Multi company id. (llx_entity->rowid)
 
|See page Field Multi company id. (llx_entity->rowid)
 +
|
 
|-
 
|-
 
|4
 
|4
Line 63: Line 71:
 
|
 
|
 
|See page Field ref_ext.
 
|See page Field ref_ext.
 +
|
 
|-
 
|-
 
|5
 
|5
Line 70: Line 79:
 
|
 
|
 
|NULL
 
|NULL
 +
|
 
|
 
|
 
|
 
|
Line 81: Line 91:
 
|
 
|
 
|civility of member
 
|civility of member
 +
|
 
|-
 
|-
|
+
|7
|nom
+
|lastname
 
|varchar(50)
 
|varchar(50)
 
|YES
 
|YES
Line 90: Line 101:
 
|
 
|
 
|name of member
 
|name of member
 +
|nom
 
|-
 
|-
|
+
|8
|prenom
+
|firstname
 
|varchar(50)
 
|varchar(50)
 
|YES
 
|YES
Line 99: Line 111:
 
|
 
|
 
|firstname of member
 
|firstname of member
 +
|prenom
 
|-
 
|-
 
|9
 
|9
Line 108: Line 121:
 
|
 
|
 
|login of member
 
|login of member
 +
|
 
|-
 
|-
|
+
|10
|password
+
|pass
 
|varchar(50)
 
|varchar(50)
 
|YES
 
|YES
Line 117: Line 131:
 
|
 
|
 
|login password of member
 
|login password of member
 +
|password
 
|-
 
|-
 +
|11
 +
|pass_crypted
 +
|varchar(128)
 +
|YES
 
|
 
|
 +
|NULL
 +
|
 +
|
 +
|
 +
|-
 +
|12
 
|fk_adherent_type
 
|fk_adherent_type
 
|int(11)
 
|int(11)
Line 126: Line 151:
 
|
 
|
 
|ID type of member ([[Table llx_adherent_type|llx_adherent_type]]->rowid)
 
|ID type of member ([[Table llx_adherent_type|llx_adherent_type]]->rowid)
 +
|
 
|-
 
|-
 
|13
 
|13
Line 135: Line 161:
 
|
 
|
 
|person physical / entity
 
|person physical / entity
 +
|
 
|-
 
|-
 
|14
 
|14
 
|societe
 
|societe
|varchar(50)
+
|varchar(128)
 
|YES
 
|YES
 
|
 
|
Line 144: Line 171:
 
|
 
|
 
|society
 
|society
 +
|varchar(50)
 
|-
 
|-
|
+
|15
 
|fk_soc
 
|fk_soc
 
|int(11)
 
|int(11)
Line 153: Line 181:
 
|
 
|
 
|ID of society ([[Table llx_societe|llx_societe]]->rowid)
 
|ID of society ([[Table llx_societe|llx_societe]]->rowid)
 +
|
 
|-
 
|-
|
+
|16
|adresse
+
|adress
 
|text
 
|text
 
|YES
 
|YES
Line 162: Line 191:
 
|
 
|
 
|adress of member
 
|adress of member
 +
|adresse
 
|-
 
|-
|
+
|17
|cp
+
|zip
 
|varchar(30)
 
|varchar(30)
 
|YES
 
|YES
Line 171: Line 201:
 
|
 
|
 
|postal code of member
 
|postal code of member
 +
|cp
 
|-
 
|-
|
+
|18
|ville
+
|town
 
|varchar(50)
 
|varchar(50)
 
|YES
 
|YES
Line 180: Line 211:
 
|
 
|
 
|city of member
 
|city of member
 +
|ville
 
|-
 
|-
 +
|19
 +
|state_id
 +
|int(11)
 +
|YES
 
|
 
|
|pays
+
|NULL
|integer
+
|
 +
|
 +
|
 +
|-
 +
|20
 +
|country
 +
|int(11)
 
|YES
 
|YES
 
|
 
|
Line 189: Line 231:
 
|
 
|
 
|ID of member country ([[Table llx_c_pays|llx_c_pays]]->rowid)
 
|ID of member country ([[Table llx_c_pays|llx_c_pays]]->rowid)
 +
|payes
 
|-
 
|-
|
+
|21
 
|email
 
|email
 
|varchar(255)
 
|varchar(255)
Line 198: Line 241:
 
|
 
|
 
|email of member
 
|email of member
 +
|
 
|-
 
|-
 +
|22
 +
|url
 +
|varchar(255)
 +
|YES
 
|
 
|
 +
|NULL
 +
|
 +
|website of member
 +
|
 +
|-
 +
|23
 +
|socialnetworks
 +
|text
 +
|YES
 +
|
 +
|NULL
 +
|
 +
|
 +
|
 +
|-
 +
|24
 
|phone
 
|phone
 
|varchar(30)
 
|varchar(30)
Line 207: Line 271:
 
|
 
|
 
|phone of member
 
|phone of member
 +
|
 
|-
 
|-
|
+
|25
 
|phone_perso
 
|phone_perso
 
|varchar(30)
 
|varchar(30)
Line 216: Line 281:
 
|
 
|
 
|personal phone of member
 
|personal phone of member
 +
|
 
|-
 
|-
|
+
|26
 
|phone_mobile
 
|phone_mobile
 
|varchar(30)
 
|varchar(30)
Line 225: Line 291:
 
|
 
|
 
|mobil phone of member
 
|mobil phone of member
 +
|
 
|-
 
|-
|
+
|27
|naiss
+
|birth
 
|date
 
|date
 
|YES
 
|YES
Line 234: Line 301:
 
|
 
|
 
|date of birth
 
|date of birth
 +
|naiss
 
|-
 
|-
|
+
|28
 
|photo
 
|photo
 
|varchar(255)
 
|varchar(255)
Line 243: Line 311:
 
|
 
|
 
|url to photo of member
 
|url to photo of member
 +
|
 
|-
 
|-
|
+
|29
 
|statut
 
|statut
|smallint
+
|smallint(6)
 
|NO
 
|NO
 
|
 
|
Line 252: Line 321:
 
|
 
|
 
|status of member ( -1 : draft, 0 : terminated, 1 : validated)
 
|status of member ( -1 : draft, 0 : terminated, 1 : validated)
 +
|
 
|-
 
|-
|
+
|30
 
|public
 
|public
|smallint
+
|smallint(6)
 
|NO
 
|NO
 
|
 
|
Line 261: Line 331:
 
|
 
|
 
|flag to set or not public member
 
|flag to set or not public member
 +
|
 
|-
 
|-
|
+
|31
 
|datefin
 
|datefin
 
|datetime
 
|datetime
Line 270: Line 341:
 
|
 
|
 
|date end of cotisation
 
|date end of cotisation
 +
|
 
|-
 
|-
 +
|32
 +
|note_private
 +
|text
 +
|YES
 +
|
 +
|NULL
 
|
 
|
 +
|comentary
 
|note
 
|note
 +
|-
 +
|33
 +
|note_public
 
|text
 
|text
 
|YES
 
|YES
Line 278: Line 360:
 
|NULL
 
|NULL
 
|
 
|
|comentary
+
|
{{FieldTms}}
+
|
 +
|-
 +
|34
 +
|model_pdf
 +
|varchar(255)
 +
|YES
 +
|
 +
|NULL
 +
|
 +
|
 +
|
 +
|-
 +
|35
 +
|datevalid
 +
|datetime
 +
|YES
 +
|
 +
|NULL
 +
|
 +
|
 +
|
 +
|-
 +
|36
 +
|datec
 +
|datetime
 +
|YES
 +
|
 +
|NULL
 +
|
 +
|creation time
 +
|
 
|-
 
|-
 +
|37
 +
|tms
 +
|timestamp
 +
|YES
 +
|
 +
|CURRENT_TIMESTAMP
 +
|
 +
|ON UPDATE CURRENT_TIMESTAMP
 
|
 
|
 +
|-
 +
|38
 
|fk_user_author
 
|fk_user_author
 
|int(11)
 
|int(11)
Line 289: Line 411:
 
|
 
|
 
|ID user author ([[Table llx_user|llx_user]]->rowid)
 
|ID user author ([[Table llx_user|llx_user]]->rowid)
 +
|
 
|-
 
|-
|
+
|38
 
|fk_user_mod
 
|fk_user_mod
 
|int(11)
 
|int(11)
Line 298: Line 421:
 
|
 
|
 
|ID user made last modification ([[Table llx_user|llx_user]]->rowid)
 
|ID user made last modification ([[Table llx_user|llx_user]]->rowid)
 +
|
 
|-
 
|-
|
+
|40
 
|fk_user_valid
 
|fk_user_valid
 
|int(11)
 
|int(11)
Line 307: Line 431:
 
|
 
|
 
|ID user made validation ([[Table llx_user|llx_user]]->rowid)
 
|ID user made validation ([[Table llx_user|llx_user]]->rowid)
{{FieldImportKey}}
+
|
 +
|-
 +
|41
 +
|canvas
 +
|varchar(32)
 +
|YES
 +
|
 +
|NULL
 +
|
 +
|
 +
|
 +
|-
 +
|42
 +
|import_key
 +
|varchar(14)
 +
|YES
 +
|
 +
|NULL
 +
|
 +
|Code used to save the import id. See page Field Import key.
 +
|
 +
|-
 
|}&nbsp;
 
|}&nbsp;
  

Latest revision as of 10:52, 24 October 2023


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 list of members managed in the foundation module

Fr verysmall.png

Contient les adhérents du module association

Es verysmall.png

Contiene la lista de miembros del módulo miembros

Structure

Table

Version Dolibarr 15


# Field Type Null Key Default Extra Description History
1 rowid int(11) NO PRI auto_increment technical index
2 ref varchar(30) NO IDX
3 entity int(11) NO 1 See page Field Multi company id. (llx_entity->rowid)
4 ref_ext varchar(128) YES NULL See page Field ref_ext.
5 gender varchar(10) YES NULL
6 civilite varchar(3) YES NULL civility of member
7 lastname varchar(50) YES NULL name of member nom
8 firstname varchar(50) YES NULL firstname of member prenom
9 login varchar(50) NO UNI login of member
10 pass varchar(50) YES NULL login password of member password
11 pass_crypted varchar(128) YES NULL
12 fk_adherent_type int(11) NO MUL ID type of member (llx_adherent_type->rowid)
13 morphy varchar(3) NO person physical / entity
14 societe varchar(128) YES NULL society varchar(50)
15 fk_soc int(11) YES UNI NULL ID of society (llx_societe->rowid)
16 adress text YES NULL adress of member adresse
17 zip varchar(30) YES NULL postal code of member cp
18 town varchar(50) YES NULL city of member ville
19 state_id int(11) YES NULL
20 country int(11) YES NULL ID of member country (llx_c_pays->rowid) payes
21 email varchar(255) YES NULL email of member
22 url varchar(255) YES NULL website of member
23 socialnetworks text YES NULL
24 phone varchar(30) YES NULL phone of member
25 phone_perso varchar(30) YES NULL personal phone of member
26 phone_mobile varchar(30) YES NULL mobil phone of member
27 birth date YES NULL date of birth naiss
28 photo varchar(255) YES NULL url to photo of member
29 statut smallint(6) NO 0 status of member ( -1 : draft, 0 : terminated, 1 : validated)
30 public smallint(6) NO 0 flag to set or not public member
31 datefin datetime YES NULL date end of cotisation
32 note_private text YES NULL comentary note
33 note_public text YES NULL
34 model_pdf varchar(255) YES NULL
35 datevalid datetime YES NULL
36 datec datetime YES NULL creation time
37 tms timestamp YES CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
38 fk_user_author int(11) YES NULL ID user author (llx_user->rowid)
38 fk_user_mod int(11) YES NULL ID user made last modification (llx_user->rowid)
40 fk_user_valid int(11) YES NULL ID user made validation (llx_user->rowid)
41 canvas varchar(32) YES NULL
42 import_key varchar(14) YES NULL Code used to save the import id. See page Field Import key.

 

Keys

Key Type Fields
PRIMARY PRIMARY rowid
uk_adherent_login UNIQUE login,entity
uk_adherent_fk_soc UNIQUE fk_soc
idx_adherent_fk_adherent_type MULTIPLE fk_adherent_type