Table llx product stock: Difference between revisions

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)
|}