Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| value | varchar | 80 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 60 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| documentno | varchar | 22 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| revision | varchar | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | varchar | 255 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| copyfrom | bpchar | 1 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| created | timestamp | 29,6 | statement_timestamp() |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| createdby | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| help | varchar | 2000 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isactive | bpchar | 1 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_client_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_changenotice_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_product_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| pp_product_bom_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| processing | bpchar | 1 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updated | timestamp | 29,6 | statement_timestamp() |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updatedby | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| validfrom | timestamp | 29,6 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| validto | timestamp | 29,6 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_attributesetinstance_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_org_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bomtype | bpchar | 1 | √ | 'A'::bpchar |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bomuse | bpchar | 1 | √ | 'M'::bpchar |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| c_uom_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| pp_product_bom_uu | varchar | 36 | √ | NULL::character varying |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pp_product_bom_key | Primary key | Asc | pp_product_bom_id |
| pp_product_bom_uu_idx | Must be unique | Asc | pp_product_bom_uu |
| ppproductbomunique | Must be unique | Asc/Asc | ad_client_id + value |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| pp_product_bom_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |