Table llx stock mouvement: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
 
(10 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{ListOfTables}}
{{ListOfTables}}


= Contenu =
= Content/Contenu/Contenido  =


La table '''llx_stock_mouvement''' contient les mouvements de stock rattachés à un entrepôt
{{flag_en}} Contains the stock movements attached to a warehouse.


Contains the stock movements attached to a warehouse.
{{flag_fr}} Contient les mouvements de stock rattachés à un entrepôt


Contiene los movimientos de stock relacionados a un almacén.
{{flag_sp}} Contiene los movimientos de stock relacionados a un almacén.


= Structure =
= Structure =
{|  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"
== 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 23: Line 24:
| rowid  
| rowid  
| int(11)  
| int(11)  
| &nbsp;
| NO
| PRI
| PRI
| NULL
|  
| auto_increment  
| auto_increment  
| index technique
| technical index
|-
{{FieldTms}}
| tms
| timestamp
| NO
|
| CURRENT_TIMESTAMP
|
| date de dernière modification
|-  
|-  
| datem  
| datem  
Line 43: Line 37:
| NULL  
| NULL  
|  
|  
| date de création ( devrait être datec?)
| creation date (should be datec?)
|-  
|-  
| fk_product  
| fk_product  
Line 51: Line 45:
|  
|  
|  
|  
| produit défini dans llx_product  
| ID of product ([[Table llx_product|llx_product]]->rowid)
|-  
|-  
| fk_entrepot  
| fk_entrepot  
Line 59: Line 53:
|  
|  
|  
|  
| entrepôt défini dans llx_entrepot
| ID of warehouse ([[Table llx_entrepot|llx_entrepot]]->rowid)
|-  
|-  
| value  
| value  
Line 67: Line 61:
| NULL  
| NULL  
|  
|  
| valeur attribué au stock
| value attributed to stock
|-  
|-  
| price  
| price  
Line 75: Line 69:
| 0.0000  
| 0.0000  
|  
|  
| prix
| price
|-  
|-  
| type_mouvement  
| type_mouvement  
Line 83: Line 77:
| NULL  
| NULL  
|  
|  
| type de mouvement [1]
| type of movement (manual entry = 0, manual exit = 1, automatic exit = 2, automatic entry = 3)
|-  
|-  
| fk_user_author  
| fk_user_author  
Line 91: Line 85:
| NULL  
| NULL  
|  
|  
| utilisateur auteur de cet enregistrement
| User ID author of this recording ([[Table llx_user|llx_user]]->rowid)
|}
|-
| label
| varchar(128)
| YES
|
| NULL
|
| label of movement
|-
| inventorycode
| varchar(128)
| YES
|
| NULL
|
| code used to group different movement line into one operation (may be an inventory, a mass picking)
|-
| fk_origin
| integer
| YES
|
| NULL
|
| Id of record into table of element that is the origin of movement (to know which table, see field origintype)
|-
| origintype
| varchar(32)
| YES
|
| NULL
|
| type of object that is the origin of movement (to know which record, see field fk_origin)
|}&nbsp;


[1]  mouvement manuel = 0, sortie = 2, entrée = 3, cfr product/stock/mouvementstock.class.php::livraison
== 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
|-
| idx_stock_mouvement_fk_product
| MULTIPLE
| fk_product
|-
| idx_stock_mouvement_fk_entrepot
| MULTIPLE
| fk_entrepot
|}&nbsp;

Latest revision as of 11:11, 9 July 2023


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 entry = 0, manual exit = 1, automatic exit = 2, automatic 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
inventorycode varchar(128) YES NULL code used to group different movement line into one operation (may be an inventory, a mass picking)
fk_origin integer YES NULL Id of record into table of element that is the origin of movement (to know which table, see field origintype)
origintype varchar(32) YES NULL type of object that is the origin of movement (to know which record, see field fk_origin)

 

Keys

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