Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('mrp_bom_line_id_seq'::regclass) |
|
|
||||||||
| product_id | int4 | 10 | null |
|
|
Component |
||||||||
| product_tmpl_id | int4 | 10 | √ | null |
|
|
Product Template |
|||||||
| company_id | int4 | 10 | √ | null |
|
|
Company |
|||||||
| product_uom_id | int4 | 10 | null |
|
|
Product Unit of Measure |
||||||||
| sequence | int4 | 10 | √ | null |
|
|
Sequence |
|||||||
| bom_id | int4 | 10 | null |
|
|
Parent BoM |
||||||||
| operation_id | int4 | 10 | √ | null |
|
|
Consumed in Operation |
|||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
|||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
|||||||
| product_qty | numeric | 0 | null |
|
|
Quantity |
||||||||
| manual_consumption | bool | 1 | √ | null |
|
|
Manual Consumption |
|||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
|||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
|||||||
| numeric | 0 | √ | null |
|
|
Cost Share (%) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| mrp_bom_line_pkey | Primary key | Asc | id |
| mrp_bom_line__bom_id_index | Performance | Asc | bom_id |
| mrp_bom_line__company_id_index | Performance | Asc | company_id |
| mrp_bom_line__product_tmpl_id_index | Performance | Asc | product_tmpl_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| mrp_bom_line_bom_qty_zero | ((product_qty >= (0)::numeric)) |

