Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('stock_warehouse_id_seq'::regclass) |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| company_id | int4 | 10 | null |
|
|
Company |
||||||||||||||||||||||||||||||||||||||||||||
| partner_id | int4 | 10 | √ | null |
|
|
Address |
|||||||||||||||||||||||||||||||||||||||||||
| view_location_id | int4 | 10 | null |
|
|
View Location |
||||||||||||||||||||||||||||||||||||||||||||
| lot_stock_id | int4 | 10 | null |
|
|
Location Stock |
||||||||||||||||||||||||||||||||||||||||||||
| wh_input_stock_loc_id | int4 | 10 | √ | null |
|
|
Input Location |
|||||||||||||||||||||||||||||||||||||||||||
| wh_qc_stock_loc_id | int4 | 10 | √ | null |
|
|
Quality Control Location |
|||||||||||||||||||||||||||||||||||||||||||
| wh_output_stock_loc_id | int4 | 10 | √ | null |
|
|
Output Location |
|||||||||||||||||||||||||||||||||||||||||||
| wh_pack_stock_loc_id | int4 | 10 | √ | null |
|
|
Packing Location |
|||||||||||||||||||||||||||||||||||||||||||
| mto_pull_id | int4 | 10 | √ | null |
|
|
MTO rule |
|||||||||||||||||||||||||||||||||||||||||||
| pick_type_id | int4 | 10 | √ | null |
|
|
Pick Type |
|||||||||||||||||||||||||||||||||||||||||||
| pack_type_id | int4 | 10 | √ | null |
|
|
Pack Type |
|||||||||||||||||||||||||||||||||||||||||||
| out_type_id | int4 | 10 | √ | null |
|
|
Out Type |
|||||||||||||||||||||||||||||||||||||||||||
| in_type_id | int4 | 10 | √ | null |
|
|
In Type |
|||||||||||||||||||||||||||||||||||||||||||
| int_type_id | int4 | 10 | √ | null |
|
|
Internal Type |
|||||||||||||||||||||||||||||||||||||||||||
| crossdock_route_id | int4 | 10 | √ | null |
|
|
Crossdock Route |
|||||||||||||||||||||||||||||||||||||||||||
| reception_route_id | int4 | 10 | √ | null |
|
|
Receipt Route |
|||||||||||||||||||||||||||||||||||||||||||
| delivery_route_id | int4 | 10 | √ | null |
|
|
Delivery Route |
|||||||||||||||||||||||||||||||||||||||||||
| sequence | int4 | 10 | √ | null |
|
|
Sequence |
|||||||||||||||||||||||||||||||||||||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
|||||||||||||||||||||||||||||||||||||||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
|||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 2147483647 | null |
|
|
Warehouse |
||||||||||||||||||||||||||||||||||||||||||||
| code | varchar | 5 | null |
|
|
Short Name |
||||||||||||||||||||||||||||||||||||||||||||
| reception_steps | varchar | 2147483647 | null |
|
|
Incoming Shipments |
||||||||||||||||||||||||||||||||||||||||||||
| delivery_steps | varchar | 2147483647 | null |
|
|
Outgoing Shipments |
||||||||||||||||||||||||||||||||||||||||||||
| active | bool | 1 | √ | null |
|
|
Active |
|||||||||||||||||||||||||||||||||||||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
|||||||||||||||||||||||||||||||||||||||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
|||||||||||||||||||||||||||||||||||||||||||
| manufacture_pull_id | int4 | 10 | √ | null |
|
|
Manufacture Rule |
|||||||||||||||||||||||||||||||||||||||||||
| manufacture_mto_pull_id | int4 | 10 | √ | null |
|
|
Manufacture MTO Rule |
|||||||||||||||||||||||||||||||||||||||||||
| pbm_mto_pull_id | int4 | 10 | √ | null |
|
|
Picking Before Manufacturing MTO Rule |
|||||||||||||||||||||||||||||||||||||||||||
| sam_rule_id | int4 | 10 | √ | null |
|
|
Stock After Manufacturing Rule |
|||||||||||||||||||||||||||||||||||||||||||
| manu_type_id | int4 | 10 | √ | null |
|
|
Manufacturing Operation Type |
|||||||||||||||||||||||||||||||||||||||||||
| pbm_type_id | int4 | 10 | √ | null |
|
|
Picking Before Manufacturing Operation Type |
|||||||||||||||||||||||||||||||||||||||||||
| sam_type_id | int4 | 10 | √ | null |
|
|
Stock After Manufacturing Operation Type |
|||||||||||||||||||||||||||||||||||||||||||
| pbm_route_id | int4 | 10 | √ | null |
|
|
Picking Before Manufacturing Route |
|||||||||||||||||||||||||||||||||||||||||||
| pbm_loc_id | int4 | 10 | √ | null |
|
|
Picking before Manufacturing Location |
|||||||||||||||||||||||||||||||||||||||||||
| sam_loc_id | int4 | 10 | √ | null |
|
|
Stock after Manufacturing Location |
|||||||||||||||||||||||||||||||||||||||||||
| manufacture_steps | varchar | 2147483647 | null |
|
|
Manufacture |
||||||||||||||||||||||||||||||||||||||||||||
| manufacture_to_resupply | bool | 1 | √ | null |
|
|
Manufacture to Resupply |
|||||||||||||||||||||||||||||||||||||||||||
| buy_pull_id | int4 | 10 | √ | null |
|
|
Buy rule |
|||||||||||||||||||||||||||||||||||||||||||
| buy_to_resupply | bool | 1 | √ | null |
|
|
Buy to Resupply |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| stock_warehouse_pkey | Primary key | Asc | id |
| stock_warehouse_warehouse_code_uniq | Must be unique | Asc/Asc | code + company_id |
| stock_warehouse_warehouse_name_uniq | Must be unique | Asc/Asc | name + company_id |

