protected String doIt() throws Exception {
  if (p_BasedInDamnd.equals("Y")) {
    if (!generateDistributionDemand())     throw new Exception(Msg.getMsg(getCtx(),"ProcessFailed"),CLogger.retrieveException());
  }
 else {
    if (!generateDistribution())     throw new Exception(Msg.getMsg(getCtx(),"ProcessFailed"),CLogger.retrieveException());
  }
  if (!executeDistribution())   throw new Exception(Msg.getMsg(getCtx(),"ProcessFailed"),CLogger.retrieveException());
  return Msg.getMsg(getCtx(),"ProcessOK");
}

protected String doIt ( ) throws Exception { if ( p_BasedInDamnd . equals ( "Y" ) ) { if ( ! generateDistributionDemand ( ) ) throw new Exception ( Msg . getMsg ( getCtx ( ) , "ProcessFailed" ) , CLogger . retrieveException ( ) ) ; } else { if ( ! generateDistribution ( ) ) throw new Exception ( Msg . getMsg ( getCtx ( ) , "ProcessFailed" ) , CLogger . retrieveException ( ) ) ; } if ( ! executeDistribution ( ) ) throw new Exception ( Msg . getMsg ( getCtx ( ) , "ProcessFailed" ) , CLogger . retrieveException ( ) ) ; return Msg . getMsg ( getCtx ( ) , "ProcessOK" ) ; }
doit - run process
