Table llx product stock: Difference between revisions
Jump to navigation
Jump to search
(→Table) |
|||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
[[Category:Product]] | [[Category:Product]] | ||
[[Category:Productos]] | [[Category:Productos]] | ||
[[Category:Stock]] | |||
{{ListOfTables}} | {{ListOfTables}} | ||
= Contenu = | = Content/Contenu/Contenido = | ||
{{flag en}} Contains the stock levels related to products (and warehouses where they are stored) | |||
{{flag fr}} Contient les stocks rattachés à un produit (et aux entrepôts dans lesquels il est stocké) | |||
Contiene los stocks relacionados con un producto (y los almacenes donde | {{flag sp}} Contiene los stocks relacionados con un producto (y los almacenes donde está ubicado) | ||
= Structure = | = Structure = | ||
{| align="left" width="100%" border="0 | == Table == | ||
{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox" | |||
|style="background-color: #e9e9ef"| <b>Field</b> | |style="background-color: #e9e9ef"| <b>Field</b> | ||
|style="background-color: #e9e9ef"| <b>Type</b> | |style="background-color: #e9e9ef"| <b>Type</b> | ||
| Line 22: | Line 24: | ||
|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}} | |||
{{FieldTms}} | |||
|- | |- | ||
| fk_product | | fk_product | ||
| Line 45: | Line 33: | ||
| | | | ||
| | | | ||
| ID of product | | ID of product ([[Table llx_product|llx_product]]->rowid) | ||
|- | |- | ||
| fk_entrepot | | fk_entrepot | ||
| Line 53: | Line 41: | ||
| | | | ||
| | | | ||
| ID of warehouse | | ID of warehouse ([[Table llx_entrepot|llx_entrepot]]->rowid) | ||
|- | |- | ||
| reel | | reel | ||
| | | real | ||
| YES | | YES | ||
| | | | ||
| Line 62: | Line 50: | ||
| | | | ||
| Physical stock | | Physical stock | ||
|} | |- | ||
| pmp | |||
| double(24,8) | |||
| NO | |||
| | |||
| 0.00000000 | |||
| | |||
| Deprecated. Not used. | |||
|} | |||
== Keys == | |||
{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox" | |||
|style="background-color: #e9e9ef"| <b>Key</b> | |||
|style="background-color: #e9e9ef"| <b>Type</b> | |||
|style="background-color: #e9e9ef"| <b>Fields</b> | |||
|- | |||
| PRIMARY | |||
| PRIMARY | |||
| rowid | |||
|- | |||
| uk_product_stock | |||
| UNIQUE | |||
| fk_product, fk_entrepot | |||
|- | |||
| idx_product_stock_fk_product | |||
| MULTIPLE | |||
| fk_product | |||
|- | |||
| idx_product_stock_fk_entrepot | |||
| MULTIPLE | |||
| fk_entrepot | |||
|} | |||
Latest revision as of 09:52, 5 April 2016
The documentation related to other tables is available on the page: Table SQL
La documentation relative aux autres tables est disponible sur la page: Table SQL
La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
与其他表相关的文档请参阅:Table SQL
Content/Contenu/Contenido
Contains the stock levels related to products (and warehouses where they are stored)
Contient les stocks rattachés à un produit (et aux entrepôts dans lesquels il est stocké)
Contiene los stocks relacionados con un producto (y los almacenes donde está ubicado)
Structure
Table
| Field | Type | Null | Key | Default | Extra | Description |
| rowid | integer | NO | PRI | auto_increment | Technical index | |
| tms | timestamp | NO | Current date | Date of last modification. See page Field Tms. | ||
| fk_product | int(11) | NO | MUL | ID of product (llx_product->rowid) | ||
| fk_entrepot | int(11) | NO | MUL | ID of warehouse (llx_entrepot->rowid) | ||
| reel | real | YES | NULL | Physical stock | ||
| pmp | double(24,8) | NO | 0.00000000 | Deprecated. Not used. |
Keys
| Key | Type | Fields |
| PRIMARY | PRIMARY | rowid |
| uk_product_stock | UNIQUE | fk_product, fk_entrepot |
| idx_product_stock_fk_product | MULTIPLE | fk_product |
| idx_product_stock_fk_entrepot | MULTIPLE | fk_entrepot |