示例#1
0
 /** Prepare - e.g., get Parameters. */
 protected void prepare() {
   for (ProcessInfoParameter para : getParameter()) {
     String name = para.getParameterName();
     if (para.getParameter() == null) ;
     else if (name.equals(PARAM_M_Warehouse_ID)) p_M_Warehouse_ID = para.getParameterAsInt();
     else log.error("Unknown Parameter: " + name);
   }
   p_C_Invoice_ID = getRecord_ID();
 } //	prepare
 /** Prepare - e.g., get Parameters. */
 @Override
 protected void prepare() {
   ProcessInfoParameter[] para = getParameter();
   for (ProcessInfoParameter element : para) {
     String name = element.getParameterName();
     if (element.getParameter() == null) ;
     else log.log(Level.SEVERE, "Unknown Parameter: " + name);
   }
   m_matchers = MBankStatementMatcher.getMatchers(getCtx(), get_TrxName());
 } //	prepare
 /** Prepare - e.g., get Parameters. */
 @Override
 protected void prepare() {
   ProcessInfoParameter[] para = getParameter();
   for (ProcessInfoParameter element : para) {
     String name = element.getParameterName();
     if (element.getParameter() == null) ;
     else if (name.equals("M_Product_Category_ID"))
       p_M_Product_Category_ID = element.getParameterAsInt();
     else if (name.equals("C_AcctSchema_ID")) p_C_AcctSchema_ID = element.getParameterAsInt();
     else log.log(Level.SEVERE, "Unknown Parameter: " + name);
   }
 } //	prepare