public class LaborViewStatusHandler extends CommonContractStatusHandler
Appr, APPROVE, Can, CANCEL, Close, CLOSE, Draft, DRAFT, Expire, EXPIRE, parent, PndRev, PNDREV, Revise, REVISE, statusChangeMatrix, Suspnd, SUSPND, Wappr, WAPPR, WStart, WSTARTALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER| Constructor and Description |
|---|
LaborViewStatusHandler(StatefulMbo sm)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
approvedAndPaidLabTrans()
Checks to see if there are any unapproved labor transactions
against the contract.
|
void |
cancel(java.lang.String desiredStatus,
java.util.Date date)
Sets the status of the contract to cancel.
|
void |
close(java.lang.String desiredStatus,
java.util.Date date)
When the status of the Contract is set to CLOSE, the linestatus of all the
ContractLines will also be set to CLOSE with the exception of Canceled lines.
|
approve, canApprove, canCancel, canChangeStatus, canClose, canDraft, canExpire, canPndRev, canRevise, canSuspnd, canUnapprove, canWStart, changeStatus, checkApprovalLimit, checkStatusChangeAuthorization, doesContractReferenceExistOnPO, draft, expire, getNextRevision, getOptionName, possibleStatusChange, postStatusChange, revise, setLineStatus, suspnd, unapprovepreStatusChange, statusToOptionName, updateMboForStatuspublic LaborViewStatusHandler(StatefulMbo sm)
public void approvedAndPaidLabTrans()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void close(java.lang.String desiredStatus,
java.util.Date date)
throws MXException,
java.rmi.RemoteException
CommonContractStatusHandlerclose in class CommonContractStatusHandlerMXExceptionjava.rmi.RemoteExceptionCommonContractStatusHandler.close(java.lang.String, java.util.Date),
approvedAndPaidLabTranspublic void cancel(java.lang.String desiredStatus,
java.util.Date date)
throws MXException,
java.rmi.RemoteException
CommonContractStatusHandlercancel in class CommonContractStatusHandlerMXExceptionjava.rmi.RemoteExceptionCommonContractStatusHandler.cancel(java.lang.String, java.util.Date),
approvedAndPaidLabTrans