psdi.app.mr

Class FldMRContractRefNum

    • Constructor Detail

      • FldMRContractRefNum

        public FldMRContractRefNum(MboValue mbv)
                            throws MXException,
                                   java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Check if the contract is a valid contract or not. 1) The contract status should be APPR. 2) The contract PORequired attribute should be true. 3) The contract should be authorized for the site and org. 4) The contract should be in the valid date range. The current date should be between startdate and enddate.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class FldPurContractRefNum
        Throws:
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Copy Contract contractid and revisionnum to MR header. If contract reference number is cleared in MR header, clear contract reference related fields.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class FldPurContractRefNum
        Throws:
        MXException
        java.rmi.RemoteException