Table llx stock mouvement: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 29: Line 29:
| auto_increment  
| auto_increment  
| technical index
| technical index
|-
{{FieldTms}}
| tms
| timestamp
| NO
|
| CURRENT_TIMESTAMP
|
| date of last modification
|-  
|-  
| datem  
| datem  

Revision as of 12:54, 10 August 2012


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


Content/Contenu/Contenido

En verysmall.png Contains the stock movements attached to a warehouse.

Fr verysmall.png Contient les mouvements de stock rattachés à un entrepôt

Es verysmall.png Contiene los movimientos de stock relacionados a un almacén.

Structure

Table

Field Type Null Key Default Extra Description
rowid int(11) NO PRI auto_increment technical index
tms timestamp NO Current date Date of last modification. See page Field Tms.
datem datetime YES NULL creation date (should be datec?)
fk_product int(11) NO MUL ID of product (llx_product->rowid)
fk_entrepot int(11) NO MUL ID of warehouse (llx_entrepot->rowid)
value int(11) YES NULL value attributed to stock
price float(13,4) YES 0.0000 price
type_mouvement smallint(6) YES NULL type of movement (manual = 0, sortie = 2, entry = 3)
fk_user_author int(11) YES NULL User ID author of this recording (llx_user->rowid)
label varchar(128) YES NULL label of movement

 

Keys

Key Type Fields
PRIMARY PRIMARY rowid
idx_stock_mouvement_fk_product MULTIPLE fk_product
idx_stock_mouvement_fk_entrepot MULTIPLE fk_entrepot