Table llx element contact: Difference between revisions
| Line 17: | Line 17: | ||
= 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 28: | Line 30: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
| Line 53: | Line 55: | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| | | UNI | ||
| | | | ||
| | | | ||
| Line 61: | Line 63: | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| | | UNI | ||
| | | | ||
| | | | ||
| Line 69: | Line 71: | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| | | UNI | ||
| | | | ||
| | | | ||
| ID of contact ([[Table llx_socpeople|llx_socpeople]]->rowid) | | ID of contact ([[Table llx_socpeople|llx_socpeople]]->rowid) | ||
|} | |} | ||
== 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_element_contact_idx1 | |||
| UNIQUE | |||
| element_id,fk_c_type_contact,fk_socpeople | |||
|- | |||
| fk_element_contact_fk_c_type_contact | |||
| MULTIPLE | |||
| fk_c_type_contact | |||
|- | |||
| idx_element_contact_fk_socpeople | |||
| MULTIPLE | |||
| fk_socpeople | |||
|} | |||
Revision as of 09:38, 20 October 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
Content/Contenu/Contenido
This table allows to save links between an entity and a contact from third parties.
For example, when an order must be linked to a delivery contact in particular , we use this table.
Cette table permet de sauvegarder les liens entre une entité et un contact de tiers.
Par exemple quand une commande doit être lié à un contact de livraison particulier, on utilisera cette table.
Esta tabla le permite guardar los enlaces entre las entidades y los contactos.
Por ejemplo, cuando un pedido debe estar vinculado a un contacto de envío en particular, utilizaremos esta tabla.
Structure
Table
Version 1.1 2009/10/07
| Field | Type | Null | Key | Default | Extra | Description |
| rowid | int(11) | NO | PRI | auto_increment | technical index | |
| datecreate | datetime | YES | NULL | creation date of link | ||
| statut | smallint(6) | YES | 5 | link status (5=inactive; 4=active) | ||
| element_id | int(11) | NO | UNI | ID of element (any table_of_elements->rowid) | ||
| fk_c_type_contact | int(11) | NO | UNI | ID of type of contact (llx_c_type_contact->rowid) | ||
| fk_socpeople | int(11) | NO | UNI | ID of contact (llx_socpeople->rowid) |
Keys
Version 1.1 2009/10/07
| Key | Type | Fields |
| PRIMARY | PRIMARY | rowid |
| idx_element_contact_idx1 | UNIQUE | element_id,fk_c_type_contact,fk_socpeople |
| fk_element_contact_fk_c_type_contact | MULTIPLE | fk_c_type_contact |
| idx_element_contact_fk_socpeople | MULTIPLE | fk_socpeople |