public class LaborViewStatusHandler extends CommonContractStatusHandler
statusChangeMatrix
ALLROWS, 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, checkStatusChangeAuthorization, doesContractReferenceExistOnPO, draft, expire, getNextRevision, getOptionName, possibleStatusChange, postStatusChange, revise, setLineStatus, suspnd, unapprove
preStatusChange, updateMboForStatus
public LaborViewStatusHandler(StatefulMbo sm)
public void approvedAndPaidLabTrans() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void close(java.lang.String desiredStatus, java.util.Date date) throws MXException, java.rmi.RemoteException
CommonContractStatusHandler
close
in class CommonContractStatusHandler
MXException
java.rmi.RemoteException
CommonContractStatusHandler.close(java.lang.String, java.util.Date)
,
approvedAndPaidLabTrans
public void cancel(java.lang.String desiredStatus, java.util.Date date) throws MXException, java.rmi.RemoteException
CommonContractStatusHandler
cancel
in class CommonContractStatusHandler
MXException
java.rmi.RemoteException
CommonContractStatusHandler.cancel(java.lang.String, java.util.Date)
,
approvedAndPaidLabTrans