Table llx product stock: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:


= Structure =
= Structure =
<pre>
{|  align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0"  style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5"
+-------------+-----------+------+-----+-------------------+----------------+
|style="background-color: #e9e9ef"| <b>Field</b>
| Field      | Type     | Null | Key | Default           | Extra         |
|style="background-color: #e9e9ef"| <b>Type</b>
+-------------+-----------+------+-----+-------------------+----------------+
|style="background-color: #e9e9ef"| <b>Null</b>
| rowid       | int(11)   | NO  | PRI | NULL             | auto_increment |  
|style="background-color: #e9e9ef"| <b>Key</b>
| tms         | timestamp | NO   |     | CURRENT_TIMESTAMP |               | timestamp
|style="background-color: #e9e9ef"| <b>Default</b>
| fk_product | int(11)   | NO   | MUL |                   |               | ID du produit concerné
|style="background-color: #e9e9ef"| <b>Extra</b>
| fk_entrepot | int(11)   | NO   | MUL |                   |               | ID de l'entrepôt  
|style="background-color: #e9e9ef"| <b>Description</b>
| reel       | int(11)   | YES  |     | NULL             |               | stock réel courant (notons que le stock doit être un entier)
|-  
+-------------+-----------+------+-----+-------------------+----------------+
| rowid  
</pre>
| int(11)  
| &nbsp;
| PRI
| NULL
| auto_increment  
| index technique
|-
| tms  
| timestamp  
| NO  
|  
| CURRENT_TIMESTAMP  
|  
| timestamp
|-
| fk_product  
| int(11)  
| NO  
| MUL  
|  
|  
| ID du produit concerné
|-
| fk_entrepot  
| int(11)  
| NO  
| MUL  
|  
|  
| ID de l'entrepôt  
|-
| reel  
| int(11)  
| YES   
|  
| NULL  
|  
| stock réel courant (notons que le stock doit être un entier)
|}

Revision as of 16:38, 5 May 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


Contenu

La table llx_product_stock contient les stocks rattachés à un produit (et aux entrepôts dans lesquels il est stocké)

Contains the stock levels related to products (and warehouses where they are stored)

Contiene los stocks relacionados con un producto (y los almacenes donde están ubicados)

Structure

Field Type Null Key Default Extra Description
rowid int(11)   PRI NULL auto_increment index technique
tms timestamp NO CURRENT_TIMESTAMP timestamp
fk_product int(11) NO MUL ID du produit concerné
fk_entrepot int(11) NO MUL ID de l'entrepôt
reel int(11) YES NULL stock réel courant (notons que le stock doit être un entier)