Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_productionline_id | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_client_id | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_org_id | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isactive | bpchar | 1 | 'Y'::bpchar |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| created | timestamp | 29,6 | now() |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| createdby | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updated | timestamp | 29,6 | now() |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updatedby | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_productionplan_id | numeric | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| line | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_product_id | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| movementqty | numeric | 0 | 0 |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_locator_id | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | varchar | 255 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_attributesetinstance_id | numeric | 10 | √ | 0 |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| processed | bpchar | 1 | 'N'::bpchar |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_productionline_uu | varchar | 36 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_production_id | numeric | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| plannedqty | numeric | 0 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| qtyused | numeric | 0 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isendproduct | bpchar | 1 | √ | NULL::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| qtydelivered | numeric | 0 | (0)::numeric |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| user1_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| user2_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| c_activity_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| c_campaign_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| c_project_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_iscoproduct | bpchar | 1 | √ | 'N'::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_isbyproduct | bpchar | 1 | √ | 'N'::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_costallocationperc | numeric | 0 | √ | '0'::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_pp_isperda | bpchar | 1 | √ | 'N'::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_pp_planomestreprod_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_pp_gestaomp_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_quantidadeprevista | numeric | 0 | '0'::numeric |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_produtosubstituto_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_controleremessasind_id | numeric | 10 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_mprecebida_id | numeric | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| m_productionline_pkey | Primary key | Asc | m_productionline_id |
| m_productionline_prodplan | Performance | Asc | m_productionplan_id |
| m_productionline_uu_idx | Must be unique | Asc | m_productionline_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| m_productionline_isendproduct_check | ((isendproduct = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| m_productionline_cof_iscoproduct_check | ((cof_iscoproduct = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| m_productionline_cof_pp_isperda_check | ((cof_pp_isperda = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| m_productionline_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| m_productionline_cof_isbyproduct_check | ((cof_isbyproduct = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |