psdi.app.workorder

Class FldAssignLaborCode

    • Constructor Detail

      • FldAssignLaborCode

        public FldAssignLaborCode(MboValue mbv)
                           throws MXException
        Construct and attach to the specified mbovalue
        Parameters:
        mbv - the MboValue AssignLaborCode field attach to.
        Throws:
        MXException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • validateActiveLabor

        public void validateActiveLabor()
                                 throws MXException,
                                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setValueFromLookup

        public void setValueFromLookup(MboRemote sourceMbo)
                                throws MXException,
                                       java.rmi.RemoteException
        Overridden to set valueSetFromLookup flag to true and determines the last field in a row that will be set so validation can be delayed until then. Also cleans up if an exception is thrown.
        Specified by:
        setValueFromLookup in interface MboValueListener
        Overrides:
        setValueFromLookup in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.mbo.MboValueListner#setvalueFromLookup
      • getLastFieldSet

        public java.lang.String getLastFieldSet(MboRemote sourceMbo,
                                                MboRemote currentMbo)
                                         throws MXException,
                                                java.rmi.RemoteException
        When a row is selected from a lookup with several fields that will all be set, this determines which one will be set last.
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        List returned has existing labor Flag to indicate whether this mbo is zombie or not. A zombie mbo is created for the purpose of QBE and does not really have any data associated with it. Issue 74443
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException