|  | 
  
   | Legend: |  | 
    
    | Primary key columns |  | Columns with indexes |  | Implied relationships |  | Excluded column relationships |  | < n > number of related tables |  |  | 
| 
  | Column | Type | Size | Nulls | Auto | Default | Children | Parents |  
 | i_productplanning_id | numeric | 10 |  |  |  |  |  |  
 | ad_client_id | numeric | 10 |  |  |  |  |  |  
 | ad_org_id | numeric | 10 |  |  |  |  |  |  
 | created | timestamp | 29,6 |  |  | statement_timestamp() |  |  |  
 | createdby | numeric | 10 |  |  |  |  |  |  
 | isactive | bpchar | 1 |  |  | 'Y'::bpchar |  |  |  
 | updated | timestamp | 29,6 |  |  | statement_timestamp() |  |  |  
 | updatedby | numeric | 10 |  |  |  |  |  |  
 | bpartner_value | varchar | 40 | √ |  | NULL::character varying |  |  |  
 | c_bpartner_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | c_bpartner.c_bpartner_id | cbpartner_iproductplanning R |  |  
 | i_errormsg | varchar | 2000 | √ |  | NULL::character varying |  |  |  
 | i_isimported | bpchar | 1 |  |  |  |  |  |  
 | processed | bpchar | 1 | √ |  | NULL::bpchar |  |  |  
 | processing | bpchar | 1 | √ |  | NULL::bpchar |  |  |  
 | ad_workflow_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | ad_workflow.ad_workflow_id | adworkflow_iproductplanning R |  |  
 | dd_networkdistribution_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | deliverytime_promised | numeric | 0 | √ |  | null |  |  |  
 | iscreateplan | bpchar | 1 |  |  |  |  |  |  
 | ismps | bpchar | 1 | √ |  | NULL::bpchar |  |  |  
 | isphantom | bpchar | 1 |  |  |  |  |  |  
 | m_product_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | m_product.m_product_id | mproduct_iproductplanning R |  |  
 | m_warehouse_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | m_warehouse.m_warehouse_id | mwarehouse_iproductplanning R |  |  
 | order_max | numeric | 0 | √ |  | null |  |  |  
 | order_min | numeric | 0 | √ |  | null |  |  |  
 | order_pack | numeric | 0 | √ |  | null |  |  |  
 | order_period | numeric | 0 | √ |  | null |  |  |  
 | order_policy | varchar | 3 | √ |  | NULL::character varying |  |  |  
 | order_qty | numeric | 0 | √ |  | null |  |  |  
 | planner_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | ad_user.ad_user_id | planner_iproductplanning R |  |  
 | pp_product_bom_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | safetystock | numeric | 0 | √ |  | null |  |  |  
 | s_resource_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | s_resource.s_resource_id | sresource_iproductplanning R |  |  
 | timefence | numeric | 0 | √ |  | null |  |  |  
 | transferttime | numeric | 0 | √ |  | null |  |  |  
 | workingtime | numeric | 0 | √ |  | null |  |  |  
 | yield | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | datepromised | timestamp | 29,6 | √ |  | null |  |  |  
 | m_forecast_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | m_forecast.m_forecast_id | mforecast_iproductplanning R |  |  
 | qty | numeric | 0 |  |  |  |  |  |  
 | salesrep_id | numeric | 10 | √ |  | NULL::numeric |  | 
   
    | ad_user.ad_user_id | salesrep_iproductplanning R |  |  
 | productvalue | varchar | 40 | √ |  | NULL::character varying |  |  |  
 | warehousevalue | varchar | 40 | √ |  | NULL::character varying |  |  |  
 | orgvalue | varchar | 40 | √ |  | NULL::character varying |  |  |  
 | networkdistributionvalue | varchar | 40 | √ |  | NULL::character varying |  |  |  
 | product_bom_value | varchar | 40 | √ |  | NULL::character varying |  |  |  
 | forecastvalue | varchar | 40 | √ |  | NULL::character varying |  |  |  
 | resourcevalue | varchar | 40 | √ |  | NULL::character varying |  |  |  
 | plannervalue | varchar | 40 | √ |  | NULL::character varying |  |  |  
 | m_forecastline_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | pp_product_planning_id | numeric | 10 | √ |  | NULL::numeric |  |  |  
 | vendorproductno | varchar | 30 | √ |  | NULL::character varying |  |  |  
 | i_productplanning_uu | varchar | 36 | √ |  | NULL::character varying |  |  |  Table contained 0 rows at 2024-01-03 13:44 +0100 | 
Indexes:
 
  | Column(s) | Type | Sort | Constraint Name | 
 
  | i_productplanning_id | Primary key | Asc | i_productplanning_key | 
 
  | i_productplanning_uu | Must be unique | Asc | i_productplanning_uu_idx | 
 
SchemaSpy was unable to generate a diagram of table relationships.
SchemaSpy requires Graphviz version 2.2.1 or versions greater than 2.4 from www.graphviz.org.