psdi.app.workorder

Class FldWOProblemCode

    • Constructor Detail

      • FldWOProblemCode

        public FldWOProblemCode(MboValue mbv)
        Construct passing the field to which you are listening.
        Parameters:
        mbv - the MboValue problem code field in the work order object attach to.
    • Method Detail

      • init

        public void init()
                  throws MXException,
                         java.rmi.RemoteException
        If a failure class has not been specified, the field is read only. This field's read/only flag is toggled by the failure code field.
        Specified by:
        init in interface MboValueListener
        Overrides:
        init in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Update the failure report with the problem code, which is the first level of the failure report. Will also set the WO's FailDate if it is null.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Returns the list to use when looking up a value for the ProblemCode. If in a querying situation, all 2nd level failurelist records are returned.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Returns:
        the problem code MboSet.
        Throws:
        MXException
        java.rmi.RemoteException