Adempiere 3.5.2a

org.eevolution.process
Class CRPSummary

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

public class CRPSummary
extends SvrProcess

Re-Open Order Process (from Closed to Completed)

Version:
$Id: CreateCost.java,v 1.1 2004/06/22 05:24:03 vpj-cd Exp $
Author:
Victor P�rez, e-Evolution, S.C.

Field Summary
 
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound
 
Constructor Summary
CRPSummary()
           
 
Method Summary
static Timestamp addSecond(Timestamp dateTime, long offset)
          Return DateTime + offset in Second
protected  String doIt()
          Perform process.
 long getHoursAvailable(Timestamp time1, Timestamp time2)
          Return horus in
 int getNotAvailbleDays(Timestamp start, Timestamp end, MResourceType t)
           
protected  void prepare()
          Prepare - e.g., get Parameters.
protected  String runCRP()
           
 void Summary(Timestamp start, Timestamp finish, MResource r)
           
 
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
 

Constructor Detail

CRPSummary

public CRPSummary()
Method Detail

prepare

protected void prepare()
Prepare - e.g., get Parameters.

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@");

runCRP

protected String runCRP()

addSecond

public static Timestamp addSecond(Timestamp dateTime,
                                  long offset)
Return DateTime + offset in Second

Parameters:
dateTime - Date and Time
offset - Second offset
Returns:
dateTime + offset in Second

getHoursAvailable

public long getHoursAvailable(Timestamp time1,
                              Timestamp time2)
Return horus in

Parameters:
Time - Start
Time - End
Returns:
hours

getNotAvailbleDays

public int getNotAvailbleDays(Timestamp start,
                              Timestamp end,
                              MResourceType t)

Summary

public void Summary(Timestamp start,
                    Timestamp finish,
                    MResource r)

Adempiere 3.5.2a

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