Table llx product: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 37: Line 37:
| NULL  
| NULL  
|  
|  
|  
| creation date
|-
|-
| tms  
| tms  
Line 45: Line 45:
| CURRENT_TIMESTAMP  
| CURRENT_TIMESTAMP  
|  
|  
|  
| last update date
|-
|-
| ref  
| ref  
Line 53: Line 53:
|  
|  
|  
|  
| reference
|-
| entity
| int(11)
|  
|  
|  
| 1
|
| multi company id
|-
|-
| label  
| label  
Line 61: Line 69:
|  
|  
|  
|  
|  
| label
|-
|-
| description  
| description  
Line 69: Line 77:
| NULL  
| NULL  
|  
|  
|  
| description
|-
|-
| note  
| note  
Line 77: Line 85:
| NULL  
| NULL  
|  
|  
|  
| comentary
|-
|-
| price  
| price  
Line 85: Line 93:
| NULL  
| NULL  
|  
|  
|  
| price unitary
|-
|-
| price_ttc  
| price_ttc  
Line 93: Line 101:
| 0.00000000  
| 0.00000000  
|  
|  
| price with VAT
|-
| price_min_ttc
| double(16,8)
| YES
|  
|  
| 0.00000000
|
| minium price with VAT
|-
|-
| price_base_type  
| price_base_type  
Line 101: Line 117:
| HT  
| HT  
|  
|  
|  
| type of price (HT or TTC)
|-
|-
| tva_tx  
| tva_tx  
Line 109: Line 125:
| NULL  
| NULL  
|  
|  
|  
| TVA rate
|-
|-
| fk_user_author  
| fk_user_author  
Line 117: Line 133:
| NULL  
| NULL  
|  
|  
|  
| ID of creator user ([[Table llx_user|llx_user]]->rowid)
|-
|-
| envente  
| envente  
Line 125: Line 141:
| 1
| 1
|  
|  
|  
| is the product ready for shell?
|-
|-
| nbvente
| fk_product_type
| int(11)  
| int(11)  
| YES  
| YES  
Line 133: Line 149:
| 0  
| 0  
|  
|  
|  
| type of product (0 for regular product, 1 for service)
|-
|-
| fk_product_type
| duration
| int(11)  
| varchar(6)
| YES  
| YES  
|  
|  
| 0
|  
|  
|  
|  
| duration of service
|-
|-
| duration
| seuil_stock_alerte
| varchar(6)  
| int(11)  
| YES  
| YES  
|  
|  
| NULL
| 0
|
|  
|  
| stock alert
|-
|-
| stock_propale
| stock_loc
| int(11)
| varchar(10)  
| YES  
| YES  
|  
|  
| 0
| NULL
|
|  
|  
| location of stock
|-
|-
| stock_commande
| barcode
| int(11)  
| varchar(255)  
| YES  
| YES  
|  
|  
| 0
| NULL
|
|  
|  
| bar code of product
|-
|-
| seuil_stock_alerte
| fk_barcode_type
| int(11)  
| int(11)  
| YES  
| YES  
Line 173: Line 189:
| 0  
| 0  
|  
|  
|  
| ID of barcode type ([[Table llx_c_barcode_type|llx_c_barcode_type]]->rowid)
|-
|-
| stock_loc
| partnumber
| varchar(10)
| varchar(32)  
| YES
|
| NULL
|
|
|-
| gencode
| varchar(255)  
| YES  
| YES  
|  
|  
| NULL  
| NULL  
|  
|  
|  
| partnumber of product if component
|-
|-
| weight  
| weight  
Line 222: Line 230:
|  
|  
| volume units (0=m3,-3=cm3,-6=mm3)
| volume units (0=m3,-3=cm3,-6=mm3)
|-
| stock
| int(11)
| YES
|
| NULL
|
| physical stock
|-
| pmp
| double(28,10)
| YES
|
| NULL
|
| pmp price
|-
|-
| canvas  
| canvas  
Line 230: Line 254:
|  
|  
|  
|  
|-
| finished
| tinyint(4)
| YES
|
| NULL
|
| is the product finished?
|-
| import_key
| varchar(14)
| YES
|
| NULL
|
| import key
|}
|}



Revision as of 09:19, 27 August 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 the list of products and services.

Fr verysmall.png Contient les produits et services.

Es verysmall.png Contiene los productos y servicios.

Structure

Field Type Null Key Default Extra Description
rowid int(11)   PRI NULL auto_increment technical index
datec datetime YES NULL creation date
tms timestamp NO CURRENT_TIMESTAMP last update date
ref varchar(32) NO UNI reference
entity int(11)   1 multi company id
label varchar(255) NO label
description text YES NULL description
note text YES NULL comentary
price double(16,8) YES NULL price unitary
price_ttc double(16,8) YES 0.00000000 price with VAT
price_min_ttc double(16,8) YES 0.00000000 minium price with VAT
price_base_type varchar(3) YES HT type of price (HT or TTC)
tva_tx double(6,3) YES NULL TVA rate
fk_user_author int(11) YES NULL ID of creator user (llx_user->rowid)
envente tinyint(4) YES 1 is the product ready for shell?
fk_product_type int(11) YES 0 type of product (0 for regular product, 1 for service)
duration varchar(6) YES duration of service
seuil_stock_alerte int(11) YES 0 stock alert
stock_loc varchar(10) YES NULL location of stock
barcode varchar(255) YES NULL bar code of product
fk_barcode_type int(11) YES 0 ID of barcode type (llx_c_barcode_type->rowid)
partnumber varchar(32) YES NULL partnumber of product if component
weight float YES NULL weight value, depending on weight units
weight_units tinyint(4) YES NULL weight units (0=kg,-3=g,-6=mg)
volume float YES NULL volume value
volume_units tinyint(4) YES NULL volume units (0=m3,-3=cm3,-6=mm3)
stock int(11) YES NULL physical stock
pmp double(28,10) YES NULL pmp price
canvas varchar(15) YES
finished tinyint(4) YES NULL is the product finished?
import_key varchar(14) YES NULL import key

Notes

Fr verysmall.png Une barre de recherche des produits en AJAX peut être utilisée à la place de la liste déroulante, en activant, dans le module produits, l'option "Utiliser une barre de recherche ..." et en laissant AJAX activé dans les paramètres d'interface utilisateur. C'est la méthode select_produits() de html.form.class.php qui se charge de renvoyer la liste, qu'elle soit en AJAX ou en liste de formulaire HTML.

En verysmall.png A AJAX search bar for products can be used in place of the drop-down list, by activating, in module products, the option "Use a search bar ..." and leaving AJAX enabled in the user interface settings. Is the method select_produits() of html.form.class.php which will return the list, whether in AJAX or HTML form list.

Es verysmall.png Se puede utilizar una barra de búsqueda de producotos en AJAX en vez de la lista despleglable, activando en el módulo de productos la opción "Usar una barra de busqueda..." y activando AJAX en los parámetros de intterface del usuario. Es el método select_produits() de html.form.class.php quien se encarga de rellenar la lista, ya sea en AJAX o en lista de formulario HTML.