Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_product_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| ad_orgtrx_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| ad_org_id | numeric | 10 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| ad_user_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| c_activity_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| c_campaign_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| c_doctypetarget_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| c_doctype_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| c_project_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| c_uom_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| created | timestamp | 29,6 | statement_timestamp() | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| createdby | numeric | 10 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| dateacct | timestamp | 29,6 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| description | varchar | 255 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| docaction | bpchar | 2 | √ | 'CO'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| docstatus | bpchar | 2 | √ | 'DR'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| durationreal | numeric | 0 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| isactive | bpchar | 1 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| isbatchtime | bpchar | 1 | √ | 'N'::bpchar | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| m_attributesetinstance_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| m_locator_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| m_warehouse_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| movementdate | timestamp | 29,6 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| movementqty | numeric | 0 | (0)::numeric | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| pp_cost_collector_id | numeric | 10 | null | 
                                        
  | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| pp_order_bomline_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| pp_order_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| pp_order_node_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| pp_order_workflow_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| posted | bpchar | 1 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| processed | bpchar | 1 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| processing | bpchar | 1 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| qtyreject | numeric | 0 | √ | (0)::numeric | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| s_resource_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| scrappedqty | numeric | 0 | √ | (0)::numeric | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| setuptimereal | numeric | 0 | √ | (0)::numeric | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| updated | timestamp | 29,6 | statement_timestamp() | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| updatedby | numeric | 10 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| user1_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| ad_client_id | numeric | 10 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| user2_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| reversal_id | numeric | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||
| costcollectortype | varchar | 3 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| issubcontracting | bpchar | 1 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| documentno | varchar | 30 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| processedon | numeric | 0 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||
| pp_cost_collector_uu | varchar | 36 | √ | NULL::character varying | 
                                         | 
                                    
                                         | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| pp_cost_collector_key | Primary key | Asc | pp_cost_collector_id | 
| idxpp_cost_collector_proc_on | Performance | Asc/Asc/Asc/Asc | posted + processed + processedon + ad_client_id | 
| pp_cost_collector_uu_idx | Must be unique | Asc | pp_cost_collector_uu | 
Check Constraints
| Constraint Name | Constraint | 
|---|---|
| pp_cost_collector_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| pp_cost_collector_isbatchtime_check | ((isbatchtime = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| pp_cost_collector_issubcontracting_check | ((issubcontracting = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| pp_cost_collector_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |