Table llx societe: Difference between revisions

Line 151: Line 151:
|  
|  
| town
| town
|-
| fk_departement
| int(11)
| YES
|
| 0
|
| ID of departement ([[Table llx_c_departements|llx_c_departements]]->rowid)
|-
| fk_pays
| int(11)
| YES
|
| 0
|
| ID of country ([[Table llx_c_pays|llx_c_pays]]->rowid)
|-
| tel
| varchar(20)
| YES
|
| NULL
|
| phone number
|-
| fax
| varchar(20)
| YES
|
| NULL
|
| fax number
|-
| url
| varchar(255)
| YES
|
| NULL
|
| web url
|-
| email
| varchar(128)
| YES
|
| NULL
|
| email
|-
| fk_secteur
| int(11)
| YES
|
| 0
|
| ID of sector
|-
| fk_effectif
| int(11)
| YES
|
| 0
|
| ID of workers range ([[Table llx_c_effectif|llx_c_effectif]]->id)
|-
| fk_typent
| int(11)
| YES
|
| 0
|
| ID of type of entity ([[Table llx_c_typent|llx_c_typent]]->id)
|-
| fk_forme_juridique
| int(11)
| YES
|
| 0
|
| ID of juridical status ([[Table llx_c_forme_juridique|llx_c_forme_juridique]]->rowid)
|-
| siren
| varchar(16)
| YES
|
| NULL
|
| IDProf1
|-
| siret
| varchar(16)
| YES
|
| NULL
|
| IDProf2
|-
| ape
| varchar(16)
| YES
|
| NULL
|
| IDProf3
|-
| idprof4
| varchar(16)
| YES
|
| NULL
|
| IDProf4
|-
| tva_intra
| varchar(20)
| YES
|
| NULL
|
| VAT ID
|-
| capital
| real
| YES
|
| NULL
|
| capital of society
|-
| description
| text
| YES
|
| NULL
|
| brief description about society
|-
| fk_stcomm 
| int(11)
| YES
|
| 0
|
| ID of commercial status ([[Table llx_c_stcomm|llx_c_stcomm]]->id)
|-
| note
| text
| YES
|
| NULL
|
| comentary
|-
| services
| tinyint(4)
| YES
|
| 0
|
| services
|-
| prefix_comm
| varchar(5)
| YES
|
| NULL
|
| prefix commercial
|-
| client
| tinyint(4)
| YES
|
| 0
|
| type of client (0/1/2)
|-
| fournisseur
| tinyint(4)
| YES
|
| 0
|
| is the society fournisseur (0/1)?
|-
| supplier_account
| varchar(32)
| YES
|
| NULL
|
| customer account to a provider
|-
| fk_prospectlevel
| varchar(12)
| YES
|
| NULL
|
| ID of prospect level ([[Table llx_c_prospectlevel|llx_c_prospectlevel]]->code)
|-
| customer_bad
| tinyint(4)
| YES
|
| 0
|
| is the costumer deadbeat (0/1)?
|-
| customer_rate
| real
| YES
|
| 0
|
| reliability rate customer (0 to 1)?
|-
| supplier_rate
| real
| YES
|
| 0
|
| reliability rate supplier (0 to 1)?
|-
| fk_user_creat
| int(11)
| YES
|
| NULL
|
| ID of creator user ([[Table llx_user|llx_user]]->rowid)
|-
| fk_user_modif
| int(11)
| YES
|
| NULL
|
| ID of modifier user ([[Table llx_user|llx_user]]->rowid)
|-
| remise_client
| real
| YES
|
| 0
|
| systematic discount for the customer
|-
| mode_reglement
| tinyint(4)
| YES
|
| NULL
|
| mode of payment
|-
| cond_reglement
| tinyint(4)
| YES
|
| NULL
|
| payment conditions
|-
| tva_assuj
| tinyint(4)
| YES
|
| 1
|
| is subject to VAT?
|-
| gencod
| varchar(255)
| YES
|
| NULL
|
| bar code
|-
| price_level
| tinyint(4)
| YES
|
| NULL
|
| level of price for multiprices
|-
| import_key
| varchar(14)
| YES
|
| NULL
|
| import key
|}
|}