Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('mrp_production_id_seq'::regclass) |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||
| backorder_sequence | int4 | 10 | √ | null |
|
|
Backorder Sequence |
|||||||||||||||||||||||||||||||||||||||||||||||||
| product_id | int4 | 10 | null |
|
|
Product |
||||||||||||||||||||||||||||||||||||||||||||||||||
| product_uom_id | int4 | 10 | null |
|
|
Product Unit of Measure |
||||||||||||||||||||||||||||||||||||||||||||||||||
| lot_producing_id | int4 | 10 | √ | null |
|
|
Lot/Serial Number |
|||||||||||||||||||||||||||||||||||||||||||||||||
| picking_type_id | int4 | 10 | null |
|
|
Operation Type |
||||||||||||||||||||||||||||||||||||||||||||||||||
| location_src_id | int4 | 10 | null |
|
|
Components Location |
||||||||||||||||||||||||||||||||||||||||||||||||||
| location_dest_id | int4 | 10 | null |
|
|
Finished Products Location |
||||||||||||||||||||||||||||||||||||||||||||||||||
| bom_id | int4 | 10 | √ | null |
|
|
Bill of Material |
|||||||||||||||||||||||||||||||||||||||||||||||||
| user_id | int4 | 10 | √ | null |
|
|
Responsible |
|||||||||||||||||||||||||||||||||||||||||||||||||
| company_id | int4 | 10 | null |
|
|
Company |
||||||||||||||||||||||||||||||||||||||||||||||||||
| procurement_group_id | int4 | 10 | √ | null |
|
|
Procurement Group |
|||||||||||||||||||||||||||||||||||||||||||||||||
| orderpoint_id | int4 | 10 | √ | null |
|
|
Orderpoint |
|||||||||||||||||||||||||||||||||||||||||||||||||
| production_location_id | int4 | 10 | √ | null |
|
|
Production Location |
|||||||||||||||||||||||||||||||||||||||||||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
|||||||||||||||||||||||||||||||||||||||||||||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
|||||||||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 2147483647 | √ | null |
|
|
Reference |
|||||||||||||||||||||||||||||||||||||||||||||||||
| priority | varchar | 2147483647 | √ | null |
|
|
Priority |
|||||||||||||||||||||||||||||||||||||||||||||||||
| origin | varchar | 2147483647 | √ | null |
|
|
Source |
|||||||||||||||||||||||||||||||||||||||||||||||||
| state | varchar | 2147483647 | √ | null |
|
|
State |
|||||||||||||||||||||||||||||||||||||||||||||||||
| reservation_state | varchar | 2147483647 | √ | null |
|
|
MO Readiness |
|||||||||||||||||||||||||||||||||||||||||||||||||
| product_description_variants | varchar | 2147483647 | √ | null |
|
|
Custom Description |
|||||||||||||||||||||||||||||||||||||||||||||||||
| consumption | varchar | 2147483647 | null |
|
|
Consumption |
||||||||||||||||||||||||||||||||||||||||||||||||||
| product_qty | numeric | 0 | null |
|
|
Quantity To Produce |
||||||||||||||||||||||||||||||||||||||||||||||||||
| qty_producing | numeric | 0 | √ | null |
|
|
Quantity Producing |
|||||||||||||||||||||||||||||||||||||||||||||||||
| propagate_cancel | bool | 1 | √ | null |
|
|
Propagate cancel and split |
|||||||||||||||||||||||||||||||||||||||||||||||||
| is_locked | bool | 1 | √ | null |
|
|
Is Locked |
|||||||||||||||||||||||||||||||||||||||||||||||||
| is_planned | bool | 1 | √ | null |
|
|
Its Operations are Planned |
|||||||||||||||||||||||||||||||||||||||||||||||||
| allow_workorder_dependencies | bool | 1 | √ | null |
|
|
Allow Work Order Dependencies |
|||||||||||||||||||||||||||||||||||||||||||||||||
| is_outdated_bom | bool | 1 | √ | null |
|
|
Outdated BoM |
|||||||||||||||||||||||||||||||||||||||||||||||||
| date_deadline | timestamp | 29,6 | √ | null |
|
|
Deadline |
|||||||||||||||||||||||||||||||||||||||||||||||||
| date_start | timestamp | 29,6 | null |
|
|
Start |
||||||||||||||||||||||||||||||||||||||||||||||||||
| date_finished | timestamp | 29,6 | √ | null |
|
|
End |
|||||||||||||||||||||||||||||||||||||||||||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
|||||||||||||||||||||||||||||||||||||||||||||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
|||||||||||||||||||||||||||||||||||||||||||||||||
| product_uom_qty | float8 | 17,17 | √ | null |
|
|
Total Quantity |
|||||||||||||||||||||||||||||||||||||||||||||||||
| analytic_distribution | jsonb | 2147483647 | √ | null |
|
|
Analytic Distribution |
|||||||||||||||||||||||||||||||||||||||||||||||||
| extra_cost | float8 | 17,17 | √ | null |
|
|
Extra Unit Cost |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| mrp_production_pkey | Primary key | Asc | id |
| mrp_production__company_id_index | Performance | Asc | company_id |
| mrp_production__date_start_index | Performance | Asc | date_start |
| mrp_production__orderpoint_id_index | Performance | Asc | orderpoint_id |
| mrp_production__picking_type_id_index | Performance | Asc | picking_type_id |
| mrp_production__reservation_state_index | Performance | Asc | reservation_state |
| mrp_production__state_index | Performance | Asc | state |
| mrp_production_analytic_distribution_accounts_gin_index | Performance | ||
| mrp_production_name_uniq | Must be unique | Asc/Asc | name + company_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| mrp_production_qty_positive | ((product_qty > (0)::numeric)) |

