Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('stock_move_id_seq'::regclass) |
|
|
||||||||||||||||||||||||||||||||||||||
| sequence | int4 | 10 | √ | null |
|
|
Sequence |
|||||||||||||||||||||||||||||||||||||
| company_id | int4 | 10 | null |
|
|
Company |
||||||||||||||||||||||||||||||||||||||
| product_id | int4 | 10 | null |
|
|
Product |
||||||||||||||||||||||||||||||||||||||
| product_uom | int4 | 10 | null |
|
|
UoM |
||||||||||||||||||||||||||||||||||||||
| location_id | int4 | 10 | null |
|
|
Source Location |
||||||||||||||||||||||||||||||||||||||
| location_dest_id | int4 | 10 | null |
|
|
Destination Location |
||||||||||||||||||||||||||||||||||||||
| partner_id | int4 | 10 | √ | null |
|
|
Destination Address |
|||||||||||||||||||||||||||||||||||||
| picking_id | int4 | 10 | √ | null |
|
|
Transfer |
|||||||||||||||||||||||||||||||||||||
| scrap_id | int4 | 10 | √ | null |
|
|
Scrap operation |
|||||||||||||||||||||||||||||||||||||
| group_id | int4 | 10 | √ | null |
|
|
Procurement Group |
|||||||||||||||||||||||||||||||||||||
| rule_id | int4 | 10 | √ | null |
|
|
Stock Rule |
|||||||||||||||||||||||||||||||||||||
| picking_type_id | int4 | 10 | √ | null |
|
|
Operation Type |
|||||||||||||||||||||||||||||||||||||
| origin_returned_move_id | int4 | 10 | √ | null |
|
|
Origin return move |
|||||||||||||||||||||||||||||||||||||
| restrict_partner_id | int4 | 10 | √ | null |
|
|
Owner |
|||||||||||||||||||||||||||||||||||||
| warehouse_id | int4 | 10 | √ | null |
|
|
Warehouse |
|||||||||||||||||||||||||||||||||||||
| package_level_id | int4 | 10 | √ | null |
|
|
Package Level |
|||||||||||||||||||||||||||||||||||||
| next_serial_count | int4 | 10 | √ | null |
|
|
Number of SN |
|||||||||||||||||||||||||||||||||||||
| orderpoint_id | int4 | 10 | √ | null |
|
|
Original Reordering Rule |
|||||||||||||||||||||||||||||||||||||
| product_packaging_id | int4 | 10 | √ | null |
|
|
Packaging |
|||||||||||||||||||||||||||||||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
|||||||||||||||||||||||||||||||||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
|||||||||||||||||||||||||||||||||||||
| name | varchar | 2147483647 | null |
|
|
Description |
||||||||||||||||||||||||||||||||||||||
| priority | varchar | 2147483647 | √ | null |
|
|
Priority |
|||||||||||||||||||||||||||||||||||||
| state | varchar | 2147483647 | √ | null |
|
|
Status |
|||||||||||||||||||||||||||||||||||||
| origin | varchar | 2147483647 | √ | null |
|
|
Source Document |
|||||||||||||||||||||||||||||||||||||
| procure_method | varchar | 2147483647 | null |
|
|
Supply Method |
||||||||||||||||||||||||||||||||||||||
| reference | varchar | 2147483647 | √ | null |
|
|
Reference |
|||||||||||||||||||||||||||||||||||||
| next_serial | varchar | 2147483647 | √ | null |
|
|
First SN |
|||||||||||||||||||||||||||||||||||||
| reservation_date | date | 13 | √ | null |
|
|
Date to Reserve |
|||||||||||||||||||||||||||||||||||||
| description_picking | text | 2147483647 | √ | null |
|
|
Description of Picking |
|||||||||||||||||||||||||||||||||||||
| product_qty | numeric | 0 | √ | null |
|
|
Real Quantity |
|||||||||||||||||||||||||||||||||||||
| product_uom_qty | numeric | 0 | null |
|
|
Demand |
||||||||||||||||||||||||||||||||||||||
| quantity | numeric | 0 | √ | null |
|
|
Quantity |
|||||||||||||||||||||||||||||||||||||
| picked | bool | 1 | √ | null |
|
|
Picked |
|||||||||||||||||||||||||||||||||||||
| scrapped | bool | 1 | √ | null |
|
|
Scrapped |
|||||||||||||||||||||||||||||||||||||
| propagate_cancel | bool | 1 | √ | null |
|
|
Propagate cancel and split |
|||||||||||||||||||||||||||||||||||||
| is_inventory | bool | 1 | √ | null |
|
|
Inventory |
|||||||||||||||||||||||||||||||||||||
| additional | bool | 1 | √ | null |
|
|
Whether the move was added after the picking’s confirmation |
|||||||||||||||||||||||||||||||||||||
| date | timestamp | 29,6 | null |
|
|
Date Scheduled |
||||||||||||||||||||||||||||||||||||||
| date_deadline | timestamp | 29,6 | √ | null |
|
|
Deadline |
|||||||||||||||||||||||||||||||||||||
| delay_alert_date | timestamp | 29,6 | √ | null |
|
|
Delay Alert Date |
|||||||||||||||||||||||||||||||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
|||||||||||||||||||||||||||||||||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
|||||||||||||||||||||||||||||||||||||
| price_unit | float8 | 17,17 | √ | null |
|
|
Unit Price |
|||||||||||||||||||||||||||||||||||||
| is_done | bool | 1 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
| unit_factor | float8 | 17,17 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
| created_production_id | int4 | 10 | √ | null |
|
|
Created Production Order |
|||||||||||||||||||||||||||||||||||||
| production_id | int4 | 10 | √ | null |
|
|
Production Order for finished products |
|||||||||||||||||||||||||||||||||||||
| raw_material_production_id | int4 | 10 | √ | null |
|
|
Production Order for components |
|||||||||||||||||||||||||||||||||||||
| unbuild_id | int4 | 10 | √ | null |
|
|
Disassembly Order |
|||||||||||||||||||||||||||||||||||||
| consume_unbuild_id | int4 | 10 | √ | null |
|
|
Consumed Disassembly Order |
|||||||||||||||||||||||||||||||||||||
| operation_id | int4 | 10 | √ | null |
|
|
Operation To Consume |
|||||||||||||||||||||||||||||||||||||
| workorder_id | int4 | 10 | √ | null |
|
|
Work Order To Consume |
|||||||||||||||||||||||||||||||||||||
| bom_line_id | int4 | 10 | √ | null |
|
|
BoM Line |
|||||||||||||||||||||||||||||||||||||
| byproduct_id | int4 | 10 | √ | null |
|
|
By-products |
|||||||||||||||||||||||||||||||||||||
| order_finished_lot_id | int4 | 10 | √ | null |
|
|
Finished Lot/Serial Number |
|||||||||||||||||||||||||||||||||||||
| numeric | 0 | √ | null |
|
|
Cost Share (%) |
||||||||||||||||||||||||||||||||||||||
| manual_consumption | bool | 1 | √ | null |
|
|
Manual Consumption |
|||||||||||||||||||||||||||||||||||||
| to_refund | bool | 1 | √ | null |
|
|
Update quantities on SO/PO |
|||||||||||||||||||||||||||||||||||||
| purchase_line_id | int4 | 10 | √ | null |
|
|
Purchase Order Line |
|||||||||||||||||||||||||||||||||||||
| sale_line_id | int4 | 10 | √ | null |
|
|
Sale Line |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| stock_move_pkey | Primary key | Asc | id |
| stock_move__company_id_index | Performance | Asc | company_id |
| stock_move__created_production_id_index | Performance | Asc | created_production_id |
| stock_move__date_index | Performance | Asc | date |
| stock_move__group_id_index | Performance | Asc | group_id |
| stock_move__location_dest_id_index | Performance | Asc | location_dest_id |
| stock_move__location_id_index | Performance | Asc | location_id |
| stock_move__order_finished_lot_id_index | Performance | Asc | order_finished_lot_id |
| stock_move__orderpoint_id_index | Performance | Asc | orderpoint_id |
| stock_move__origin_returned_move_id_index | Performance | Asc | origin_returned_move_id |
| stock_move__partner_id_index | Performance | Asc | partner_id |
| stock_move__picking_id_index | Performance | Asc | picking_id |
| stock_move__product_id_index | Performance | Asc | product_id |
| stock_move__production_id_index | Performance | Asc | production_id |
| stock_move__purchase_line_id_index | Performance | Asc | purchase_line_id |
| stock_move__raw_material_production_id_index | Performance | Asc | raw_material_production_id |
| stock_move__restrict_partner_id_index | Performance | Asc | restrict_partner_id |
| stock_move__sale_line_id_index | Performance | Asc | sale_line_id |
| stock_move__state_index | Performance | Asc | state |
| stock_move__workorder_id_index | Performance | Asc | workorder_id |
| stock_move_product_location_index | Performance | Asc/Asc/Asc/Asc/Asc | product_id + location_id + location_dest_id + company_id + state |

