Table llx socpeople: Difference between revisions
Jump to navigation
Jump to search
| Line 14: | Line 14: | ||
= Structure = | = Structure = | ||
== Table == | |||
'''Version 1.1 2009/10/07''' | |||
{| 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" | {| 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> | ||
| Line 25: | Line 27: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
| Line 54: | Line 56: | ||
| | | | ||
| ID of society ([[Table llx_societe|llx_societe]]->rowid) | | ID of society ([[Table llx_societe|llx_societe]]->rowid) | ||
|- | |||
| entity | |||
| int(11) | |||
| NO | |||
| | |||
| 1 | |||
| | |||
| multi company id | |||
|- | |- | ||
| civilite | | civilite | ||
| Line 174: | Line 184: | ||
| | | | ||
| identifier on the Jabber network (could be another network) | | identifier on the Jabber network (could be another network) | ||
|- | |||
| priv | |||
| smallint(6) | |||
| NO | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |- | ||
| fk_user_creat | | fk_user_creat | ||
| Line 198: | Line 216: | ||
| | | | ||
| note | | note | ||
|} | |- | ||
| import_key | |||
| varchar(14) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| import key | |||
|} | |||
== Keys == | |||
'''Version 1.1 2009/10/07''' | |||
{| 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>Type</b> | |||
|style="background-color: #e9e9ef"| <b>Fields</b> | |||
|- | |||
| PRIMARY | |||
| PRIMARY | |||
| rowid | |||
|- | |||
| idx_socpeople_fk_soc | |||
| MULTIPLE | |||
| fk_soc | |||
|- | |||
| idx_socpeople_fk_user_creat | |||
| MULTIPLE | |||
| fk_user_creat | |||
|} | |||
Revision as of 11:27, 9 November 2009
The documentation related to other tables is available on the page: Table SQL
La documentation relative aux autres tables est disponible sur la page: Table SQL
La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
与其他表相关的文档请参阅:Table SQL
Contenu
Contains the people or generic contacts linked to third parties or not (customers, suppliers...).
Contient les contacts physiques (personnes, ou adresses génériques de personnes) liés ou non au tiers (clients, fournisseurs...)
Contiene los contactos físicos (personas) de las empresas (clientes, proveedores...).
Structure
Table
Version 1.1 2009/10/07
| Field | Type | Null | Key | Default | Extra | Description |
| rowid | int(11) | NO | PRI | auto_increment | technical index | |
| datec | datetime | YES | NULL | creation date | ||
| tms | timestamp | NO | CURRENT_TIMESTAMP | timestamp (date last modified) | ||
| fk_soc | int(11) | YES | MUL | NULL | ID of society (llx_societe->rowid) | |
| entity | int(11) | NO | 1 | multi company id | ||
| civilite | varchar(6) | YES | NULL | civility (in text eg Mr, Mrs,...) | ||
| name | varchar(50) | YES | NULL | last name | ||
| firstname | varchar(50) | YES | NULL | first name | ||
| address | varchar(255) | YES | NULL | address | ||
| cp | varchar(25) | YES | NULL | postcode | ||
| ville | varchar(255) | YES | NULL | city | ||
| fk_pays | int(11) | YES | 0 | ID of country (llx_c_pays->rowid) | ||
| birthday | date | YES | NULL | anniversary/date of birth | ||
| poste | varchar(80) | YES | NULL | function within the company | ||
| phone | varchar(30) | YES | NULL | telephone | ||
| phone_perso | varchar(30) | YES | NULL | personal telephone | ||
| phone_mobile | varchar(30) | YES | NULL | mobile phone (GSM) | ||
| fax | varchar(30) | YES | NULL | fax | ||
| varchar(255) | YES | NULL | ||||
| jabberid | varchar(255) | YES | NULL | identifier on the Jabber network (could be another network) | ||
| priv | smallint(6) | NO | 0 | |||
| fk_user_creat | int(11) | YES | MUL | 0 | user who created this contact (llx_user->rowid) | |
| fk_user_modif | int(11) | YES | NULL | user who changed this contact (llx_user->rowid) | ||
| note | text | YES | NULL | note | ||
| import_key | varchar(14) | YES | NULL | import key |
Keys
Version 1.1 2009/10/07
| Key | Type | Fields |
| PRIMARY | PRIMARY | rowid |
| idx_socpeople_fk_soc | MULTIPLE | fk_soc |
| idx_socpeople_fk_user_creat | MULTIPLE | fk_user_creat |