psdi.app.workorder

Class FldWpLaborRateHasChanged

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldWpLaborRateHasChanged
    extends MboValueAdapter
    Custom class for the Rate Has Changed attribute of WPLabor. When RateHasChanged is unchecked then reset the rate back to the default and make the checkbox read only.
    • Constructor Detail

      • FldWpLaborRateHasChanged

        public FldWpLaborRateHasChanged(MboValue mbv)
                                 throws MXException
        Construct and attach to the specified mbovalue
        Parameters:
        mbv - The MboValue of the RateHasChanged attribute of WPLabor.
        Throws:
        MXException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        If the ratehaschanged is false then set the displayrate value rate from laborcraftrate or craftrate based on the planned labor
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException