static public boolean start(ASyncProcess parent,ProcessInfo pi){
  if (pi.getAD_Process_ID() == 110)   return startDocumentPrint(ReportEngine.ORDER,null,pi.getRecord_ID(),null);
  if (pi.getAD_Process_ID() == MProcess.getProcess_ID("Rpt PP_Order",null))   return startDocumentPrint(ReportEngine.MANUFACTURING_ORDER,null,pi.getRecord_ID(),null);
  if (pi.getAD_Process_ID() == MProcess.getProcess_ID("Rpt DD_Order",null))   return startDocumentPrint(ReportEngine.DISTRIBUTION_ORDER,null,pi.getRecord_ID(),null);
 else   if (pi.getAD_Process_ID() == 116)   return startDocumentPrint(ReportEngine.INVOICE,null,pi.getRecord_ID(),null);
 else   if (pi.getAD_Process_ID() == 117)   return startDocumentPrint(ReportEngine.SHIPMENT,null,pi.getRecord_ID(),null);
 else   if (pi.getAD_Process_ID() == 217)   return startDocumentPrint(ReportEngine.PROJECT,null,pi.getRecord_ID(),null);
 else   if (pi.getAD_Process_ID() == 276)   return startDocumentPrint(ReportEngine.RFQ,null,pi.getRecord_ID(),null);
 else   if (pi.getAD_Process_ID() == 159)   return startDocumentPrint(ReportEngine.DUNNING,null,pi.getRecord_ID(),null);
 else   if (pi.getAD_Process_ID() == 202 || pi.getAD_Process_ID() == 204)   return startFinReport(pi);
  return startStandardReport(pi);
}

static public boolean start ( ASyncProcess parent , ProcessInfo pi ) { if ( pi . getAD_Process_ID ( ) == 110 ) return startDocumentPrint ( ReportEngine . ORDER , null , pi . getRecord_ID ( ) , null ) ; if ( pi . getAD_Process_ID ( ) == MProcess . getProcess_ID ( "Rpt PP_Order" , null ) ) return startDocumentPrint ( ReportEngine . MANUFACTURING_ORDER , null , pi . getRecord_ID ( ) , null ) ; if ( pi . getAD_Process_ID ( ) == MProcess . getProcess_ID ( "Rpt DD_Order" , null ) ) return startDocumentPrint ( ReportEngine . DISTRIBUTION_ORDER , null , pi . getRecord_ID ( ) , null ) ; else if ( pi . getAD_Process_ID ( ) == 116 ) return startDocumentPrint ( ReportEngine . INVOICE , null , pi . getRecord_ID ( ) , null ) ; else if ( pi . getAD_Process_ID ( ) == 117 ) return startDocumentPrint ( ReportEngine . SHIPMENT , null , pi . getRecord_ID ( ) , null ) ; else if ( pi . getAD_Process_ID ( ) == 217 ) return startDocumentPrint ( ReportEngine . PROJECT , null , pi . getRecord_ID ( ) , null ) ; else if ( pi . getAD_Process_ID ( ) == 276 ) return startDocumentPrint ( ReportEngine . RFQ , null , pi . getRecord_ID ( ) , null ) ; else if ( pi . getAD_Process_ID ( ) == 159 ) return startDocumentPrint ( ReportEngine . DUNNING , null , pi . getRecord_ID ( ) , null ) ; else if ( pi . getAD_Process_ID ( ) == 202 || pi . getAD_Process_ID ( ) == 204 ) return startFinReport ( pi ) ; return startStandardReport ( pi ) ; }
create report . called from processctl . - check special reports first , if not , create standard report
