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.log(Level.SEVERE,"Unknown Parameter: " + name);
  }
  p_C_Invoice_ID=getRecord_ID();
}

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 . log ( Level . SEVERE , "Unknown Parameter: " + name ) ; } p_C_Invoice_ID = getRecord_ID ( ) ; }
prepare - e . g . , get parameters .
