psdi.app.workorder

Class FldWpLaborDisplayRate

    • Constructor Detail

      • FldWpLaborDisplayRate

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

      • initValue

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

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        set the Rate, if the value for displayrate is modified Recalculate the LineCost and Calculate the change to WO.EstLabCost and update it, this is actually done in fldWpLaborLineCost.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException