Difference between revisions of "Table llx c regions"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 12: Line 12:
  
 
= Structure =
 
= Structure =
'''Version 1.11 2007/12/02'''
+
== 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 28:
 
| NO
 
| NO
 
| PRI
 
| PRI
| NULL
+
|  
 
| auto_increment  
 
| auto_increment  
 
| technical index
 
| technical index
Line 42: Line 42:
 
| fk_pays
 
| fk_pays
 
| int(11)
 
| int(11)
| YES
+
| NO
 
| MUL
 
| MUL
| NULL
+
|  
 
|  
 
|  
 
| ID of related country ([[Table llx_c_pays|llx_c_pays]]->rowid)
 
| ID of related country ([[Table llx_c_pays|llx_c_pays]]->rowid)
Line 79: Line 79:
 
|  
 
|  
 
| Is the region active?
 
| Is the region active?
 +
|}&nbsp;
 +
== 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
 +
| id
 +
|-
 +
| code_region
 +
| UNIQUE
 +
| code_region
 +
|-
 +
| idx_c_regions_fk_pays
 +
| MULTIPLE
 +
| fk_pays
 
|}&nbsp;
 
|}&nbsp;

Revision as of 15:44, 19 October 2009


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 a list of regions for some countries.

Fr verysmall.png Contient une liste des regions proposés pour certains pays.

Es verysmall.png Contiene la lista de regiones de varios paises.

Structure

Table

Version 1.1 2009/10/07

Field Type Null Key Default Extra Description
rowid int(11) NO PRI auto_increment technical index
code_region int(11) NO code of region
fk_pays int(11) NO MUL ID of related country (llx_c_pays->rowid)
cheflieu varchar(7) YES NULL Postal Code of circonscription of region
tncc int(11) YES NULL ID of ncc
nom varchar(50) YES NULL Name of region
active tinyint(4) NO 1 Is the region active?

 

Keys

Version 1.1 2009/10/07

Key Type Fields
PRIMARY PRIMARY id
code_region UNIQUE code_region
idx_c_regions_fk_pays MULTIPLE fk_pays