Table llx stock mouvement

Revision as of 02:12, 12 March 2009 by Eldy (talk | contribs)


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_stock_mouvement contient les mouvements de stock rattachés à un entrepôt

Contains the stock movements attached to a warehouse.

Structure

+----------------+-------------+------+-----+-------------------+----------------+
| Field          | Type        | Null | Key | Default           | Extra          |
+----------------+-------------+------+-----+-------------------+----------------+
| rowid          | int(11)     | NO   | PRI | NULL              | auto_increment | identifiant interne unique
| tms            | timestamp   | NO   |     | CURRENT_TIMESTAMP |                | date de dernière modification
| datem          | datetime    | YES  |     | NULL              |                | date de création ( devrait être datec?)
| fk_product     | int(11)     | NO   | MUL |                   |                | produit défini dans llx_product 
| fk_entrepot    | int(11)     | NO   | MUL |                   |                | entrepôt défini dans llx_entrepot
| value          | int(11)     | YES  |     | NULL              |                | valeur attribué au stock
| price          | float(13,4) | YES  |     | 0.0000            |                | prix
| type_mouvement | smallint(6) | YES  |     | NULL              |                | type de mouvement [1]
| fk_user_author | int(11)     | YES  |     | NULL              |                | utilisateur auteur de cet enregistrement
+----------------+-------------+------+-----+-------------------+----------------+

[1] mouvement manuel = 0, sortie = 2, entrée = 3, cfr product/stock/mouvementstock.class.php::livraison