Class ProcCOFAllocationAuto

java.lang.Object
org.compiere.process.SvrProcess
org.brerp.base.process.ProcCOFAllocationAuto
All Implemented Interfaces:
ProcessCall

public class ProcCOFAllocationAuto extends SvrProcess
Automatic Allocation Process
Version:
$Id: AllocationAuto.java,v 1.2 2006/07/30 00:51:01 jjanke Exp $
Author:
Jorg Janke
  • Constructor Details

    • ProcCOFAllocationAuto

      public ProcCOFAllocationAuto()
  • Method Details

    • prepare

      protected void prepare()
      Description copied from class: SvrProcess
      Prepare - e.g., get Parameters.
      
      		ProcessInfoParameter[] para = getParameter();
      		for (int i = 0; i < para.length; i++)
      		{
      			String name = para[i].getParameterName();
      			if (para[i].getParameter() == null)
      				;
      			else if (name.equals("A_Asset_Group_ID"))
      				p_A_Asset_Group_ID = para[i].getParameterAsInt();
      			else if (name.equals("GuaranteeDate"))
      				p_GuaranteeDate = (Timestamp)para[i].getParameter();
      			else if (name.equals("AttachAsset"))
      				p_AttachAsset = "Y".equals(para[i].getParameter());
      			else
      				log.log(Level.SEVERE, "Unknown Parameter: " + name);
      		}
        
      Specified by:
      prepare in class SvrProcess
    • doIt

      protected String doIt() throws Exception
      Process
      Specified by:
      doIt in class SvrProcess
      Returns:
      message
      Throws:
      Exception