psdi.app.contract.labor

Class LaborViewStatusHandler

  • All Implemented Interfaces:
    MboConstants


    public class LaborViewStatusHandler
    extends CommonContractStatusHandler
    Handles all the status changes for a purchase contract view object.This is a helper class.
    • Constructor Detail

      • LaborViewStatusHandler

        public LaborViewStatusHandler(StatefulMbo sm)
        Constructor
    • Method Detail

      • approvedAndPaidLabTrans

        public void approvedAndPaidLabTrans()
                                     throws MXException,
                                            java.rmi.RemoteException
        Checks to see if there are any unapproved labor transactions against the contract. If there are any unapproved labor transactions, the contract cannot be canceled. If there are no unapproved labor transactions but some of those approved labor transactions were not paid for, the contract cannot be closed or canceled.
        Throws:
        MXException
        java.rmi.RemoteException