Difference between revisions of "Table llx c regions"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 37: Line 37:
 
|  
 
|  
 
|  
 
|  
| code of region: note this must be unique to the entire table/all countries, not just to the country.
+
| code of region: note this must be a numeric code unique to the entire table/all countries, not just to one country.
 
|-  
 
|-  
 
| fk_pays
 
| fk_pays
Line 53: Line 53:
 
| NULL
 
| NULL
 
|  
 
|  
| Postal Code of circonscription/area or region
+
| Postal Code of area or region
 
|-  
 
|-  
 
| tncc
 
| tncc

Latest revision as of 16:51, 24 July 2018


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

Field Type Null Key Default Extra Description
rowid int(11) NO PRI auto_increment technical index
code_region int(11) NO code of region: note this must be a numeric code unique to the entire table/all countries, not just to one country.
fk_pays int(11) NO MUL ID of related country (llx_c_pays->rowid)
cheflieu varchar(7) YES NULL Postal Code of area or 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

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