Table llx product: Difference between revisions

No edit summary
Tag: 2017 source edit
 
(13 intermediate revisions by 4 users not shown)
Line 12: Line 12:


{{flag sp}} Contiene los productos y servicios.
{{flag sp}} Contiene los productos y servicios.
{{flag cn}} 包含产品和服务的列表。


= Structure =
= Structure =
Line 23: Line 25:
  |style="background-color: #e9e9ef"| <b>Extra</b>
  |style="background-color: #e9e9ef"| <b>Extra</b>
  |style="background-color: #e9e9ef"| <b>Description</b>
  |style="background-color: #e9e9ef"| <b>Description</b>
|-
{{FieldRowid}}
| rowid
| int(11)
| NO
| PRI
|
| auto_increment
| technical index
|-
|-
| ref  
| ref  
Line 38: Line 33:
|  
|  
|  
|  
| reference
| Reference
{{FieldEntity}}
{{FieldEntity}}
{{FieldRefExt}}
{{FieldRefExt}}
Line 48: Line 43:
| NULL  
| NULL  
|  
|  
| creation date
| Creation date
{{FieldTms}}
{{FieldTms}}
|-
|-
Line 97: Line 92:
| NULL  
| NULL  
|  
|  
| Code, required by customs of your country, to show onto documents
| Code, required by customs of your country, to show on documents
|-
|-
| fk_country
| fk_country
Line 129: Line 124:
| 0.00000000  
| 0.00000000  
|  
|  
| Minium price without tax
| Minimum price without tax
|-
|-
| price_min_ttc  
| price_min_ttc  
Line 137: Line 132:
| 0.00000000  
| 0.00000000  
|  
|  
| Minium price inc tax
| Minimum price inc tax
|-
|-
| price_base_type  
| price_base_type  
Line 154: Line 149:
|  
|  
| Default vat rate of product
| Default vat rate of product
|-
| recuperableonly
| integer
| YES
|
| 0
|
| Is it a French VAT NPR or not ?
|-
|-
| localtax1_tx
| localtax1_tx
Line 159: Line 162:
| YES  
| YES  
|  
|  
| NULL
| 0
|
| Default vat 2 rate of product (for countries using 2 taxes for each lines). Note: with 3.9 version, this field is not used. When entering a line into a document Dolibarr search first entry into table llx_c_tva with couple (product vat rate, product npr) to get value for localtax type and rate and store this found value into lines of document.
|-
| localtax1_type
| varchar(10)
| YES
|
| 0
|  
|  
| Default vat 2 rate of product (for countries using 2 taxes for each lines)
| Default vat 2 type (for countries using 2 taxes for each lines). Note: with 3.9 version, this field is not used. When entering a line into a document Dolibarr search first entry into table llx_c_tva with couple (product vat rate, product npr) to get value for localtax type and rate and store this found value into lines of document.
|-
|-
| localtax2_tx
| localtax2_tx
Line 167: Line 178:
| YES  
| YES  
|  
|  
| NULL
| 0
|
| Default vat 3 rate of product (for countries using 3 taxes for each lines). Note: with 3.9 version, this field is not used. When entering a line into a document Dolibarr search first entry into table llx_c_tva with couple (product vat rate, product npr) to get value for localtax type and rate and store this found value into lines of document.
|-
| localtax2_type
| varchar(10)
| YES
|
| 0
|  
|  
| Default vat 3 rate of product (for countries using 3 taxes for each lines)
| Default vat 3 type (for countries using 2 taxes for each lines). Note: with 3.9 version, this field is not used. When entering a line into a document Dolibarr search first entry into table llx_c_tva with couple (product vat rate, product npr) to get value for localtax type and rate and store this found value into lines of document.
|-
|-
| fk_user_author  
| fk_user_author  
Line 185: Line 204:
| 1
| 1
|  
|  
| May product be sold to customers ?
| Is product for sale to customers (finished goods)?
|-
|-
| tobuy
| tobuy
Line 193: Line 212:
| 1
| 1
|  
|  
| May product be bought to suppliers ?
| Is product bought from suppliers (finished goods/raw materials, not virtual product/kit)?
|-
|-
| tobatch
| tobatch
Line 226: Line 245:
|  
|  
| Minimum value in stock to report an alert
| Minimum value in stock to report an alert
|-
| desired_stock
| int(11)
| YES
|
| 0
|
| Value we always want to keep in stock (may differ from value to report an alert)
|-
|-
| barcode  
| barcode  
Line 233: Line 260:
| NULL  
| NULL  
|  
|  
| Bar code number (when using barcode module)
| Barcode number (when using barcode module)
|-
|-
| fk_barcode_type  
| fk_barcode_type  
Line 337: Line 364:
| NULL  
| NULL  
|
|
| physical stock
| Physical stock. This field is a denormalized value (so not reliable) of count into [[Table llx_product_stock]] (using this table is reliable).
|-
|-
| pmp  
| pmp  
Line 345: Line 372:
| 0.00000000
| 0.00000000
|  
|  
| Estimated value of product in stock. Calculated on average product input price.
| Weighted Average Price of product
|-
|-
| canvas  
| canvas  
Line 361: Line 388:
| NULL
| NULL
|  
|  
| is the product finished?
| Is the product a finished product?
|-
|-
| hidden
| hidden
Line 383: Line 410:
| rowid
| rowid
|-  
|-  
| ix_fk_product_stock
| uk_product_ref
| UNIQUE
| ref,entity
|-
| idx_product_barcode
| MULTIPLE
| barcode
|-
| idx_product_import_key
| MULTIPLE
| MULTIPLE
| fk_product_stock
| import_key
|}&nbsp;
|}&nbsp;


= Notes =
= Notes =


{{flag_en}} This table is used to store the distribution of products within the same warehouse regarding their sell-by / eat-by date and batch number.
{{flag_en}} An 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/Javascript enabled in the user interface settings.
It's the method select_produits() of html.form.class.php which will return the list, whether in AJAX or HTML form list.
 
{{flag_fr}} 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/Javascript 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.


{{flag_fr}} Cette table permet de stocker la répartition des produits à l’intérieur d'un même entrepôt suivant leur DLUO/DLC et N° de lot.
{{flag_sp}} Se puede utilizar una barra de búsqueda de productos 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/Javascript en los parámetros de interface 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.


{{flag_sp}} Esta tabla se utiliza para almacenar la distribución de los productos dentro del mismo depósito, luego de su BBD / DLC y número de lote.
{{flag_cn}} 通过激活产品模块中的选项“使用搜索栏…”并在用户界面设置中启用 AJAX/Javascript,可以使用产品的AJAX搜索栏来代替下拉列表。它是 html.form.class.php 的方法 select_produits(),它将返回列表,无论是AJAX还是html表单列表。
715

edits