psdi.app.workorder

Class FldWpLaborCode

    • Constructor Detail

      • FldWpLaborCode

        public FldWpLaborCode(MboValue mbv)
                       throws MXException
        construct and attach to the MboValue.
        Parameters:
        mbv - the MboValue this field attach to.
        Throws:
        java.rmi.RemoteException
        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
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Updates the related assignments when the labor code changes. Also crosses over the labor rate, wpl4, wpl5, wpl6 and clears the RateHasChanged flag.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException