Table llx stock mouvement: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 12: | Line 12: | ||
= Structure = | = Structure = | ||
== Table == | |||
'''Version 1.1 2009/10/07''' | |||
{| 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" | {| 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> | |style="background-color: #e9e9ef"| <b>Field</b> | ||
| Line 23: | Line 25: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
| Line 92: | Line 94: | ||
| | | | ||
| User ID author of this recording ([[Table llx_user|llx_user]]->rowid) | | User ID author of this recording ([[Table llx_user|llx_user]]->rowid) | ||
|} | |} | ||
== Keys == | |||
'''Version 1.1 2009/10/07''' | |||
{| 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>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 | |||
|} | |||
Revision as of 11:30, 9 November 2009
The documentation related to other tables is available on the page: Table SQL
La documentation relative aux autres tables est disponible sur la page: Table SQL
La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
与其他表相关的文档请参阅:Table SQL
Content/Contenu/Contenido
Contains the stock movements attached to a warehouse.
Contient les mouvements de stock rattachés à un entrepôt
Contiene los movimientos de stock relacionados a un almacén.
Structure
Table
Version 1.1 2009/10/07
| Field | Type | Null | Key | Default | Extra | Description |
| rowid | int(11) | NO | PRI | auto_increment | technical index | |
| tms | timestamp | NO | CURRENT_TIMESTAMP | date of last modification | ||
| 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) |
Keys
Version 1.1 2009/10/07
| Key | Type | Fields |
| PRIMARY | PRIMARY | rowid |
| idx_stock_mouvement_fk_product | MULTIPLE | fk_product |
| idx_stock_mouvement_fk_entrepot | MULTIPLE | fk_entrepot |