Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('mrp_bom_id_seq'::regclass) |
|
|
||||||||||||||||||||||||||
| product_tmpl_id | int4 | 10 | null |
|
|
Product |
||||||||||||||||||||||||||
| product_id | int4 | 10 | √ | null |
|
|
Product Variant |
|||||||||||||||||||||||||
| product_uom_id | int4 | 10 | null |
|
|
Unit of Measure |
||||||||||||||||||||||||||
| sequence | int4 | 10 | √ | null |
|
|
Sequence |
|||||||||||||||||||||||||
| picking_type_id | int4 | 10 | √ | null |
|
|
Operation Type |
|||||||||||||||||||||||||
| company_id | int4 | 10 | √ | null |
|
|
Company |
|||||||||||||||||||||||||
| produce_delay | int4 | 10 | √ | null |
|
|
Manufacturing Lead Time |
|||||||||||||||||||||||||
| days_to_prepare_mo | int4 | 10 | √ | null |
|
|
Days to prepare Manufacturing Order |
|||||||||||||||||||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
|||||||||||||||||||||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
|||||||||||||||||||||||||
| code | varchar | 2147483647 | √ | null |
|
|
Reference |
|||||||||||||||||||||||||
| type | varchar | 2147483647 | null |
|
|
BoM Type |
||||||||||||||||||||||||||
| ready_to_produce | varchar | 2147483647 | null |
|
|
Manufacturing Readiness |
||||||||||||||||||||||||||
| consumption | varchar | 2147483647 | null |
|
|
Flexible Consumption |
||||||||||||||||||||||||||
| product_qty | numeric | 0 | null |
|
|
Quantity |
||||||||||||||||||||||||||
| active | bool | 1 | √ | null |
|
|
Active |
|||||||||||||||||||||||||
| allow_operation_dependencies | bool | 1 | √ | null |
|
|
Operation Dependencies |
|||||||||||||||||||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
|||||||||||||||||||||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| mrp_bom_pkey | Primary key | Asc | id |
| mrp_bom__company_id_index | Performance | Asc | company_id |
| mrp_bom__product_id_index | Performance | Asc | product_id |
| mrp_bom__product_tmpl_id_index | Performance | Asc | product_tmpl_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| mrp_bom_qty_positive | ((product_qty > (0)::numeric)) |

