Adempiere 3.5.2a

org.eevolution.process
Class CRP

java.lang.Object
  extended by org.compiere.process.SvrProcess
      extended by org.eevolution.process.CRP
All Implemented Interfaces:
ProcessCall

public class CRP
extends SvrProcess

Capacity Requirement Planning

Version:
1.0, October 14th 2005
Author:
Gunther Hoppe, tranSIT GmbH Ilmenau/Germany (Original by Victor Perez, e-Evolution, S.C.)

Field Summary
static String BACKWARD_SCHEDULING
           
static String FORWARD_SCHEDULING
           
 
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound
 
Constructor Summary
CRP()
           
 
Method Summary
protected  String doIt()
          Perform process.
protected  void prepare()
          Prepare - e.g., get Parameters.
 
Methods inherited from class org.compiere.process.SvrProcess
addLog, addLog, commit, commitEx, doIt, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getTable_ID, isLocked, lockObject, postProcess, rollback, startProcess, unlockObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORWARD_SCHEDULING

public static final String FORWARD_SCHEDULING
See Also:
Constant Field Values

BACKWARD_SCHEDULING

public static final String BACKWARD_SCHEDULING
See Also:
Constant Field Values
Constructor Detail

CRP

public CRP()
Method Detail

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
Description copied from class: SvrProcess
Perform process.

Specified by:
doIt in class SvrProcess
Returns:
Message (variables are parsed)
Throws:
Exception - if not successful e.g. throw new AdempiereUserError ("@FillMandatory@ @C_BankAccount_ID@");

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.