psdi.app.po

Class FldPOLineReceiptTolerance

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPOLineReceiptTolerance
    extends MboValueAdapter
    POLine.ReceiptTolerance validation class: need recalculate the ReceiptTolAmt or ReceiptTolQty
    • Constructor Detail

      • FldPOLineReceiptTolerance

        public FldPOLineReceiptTolerance(MboValue mbv)
                                  throws MXException
        Construct and attach to the mbo value.
        Throws:
        MXException
    • Method Detail

      • init

        public void init()
                  throws MXException,
                         java.rmi.RemoteException
        When New Row on POLine, if Quantity is null value, Receipt Tolerance Quantity is read only. Receipt Tolerance Amount is editable. if Quantity is not null value, Receipt Tolerance Quantity is editable. Receipt Tolerance Amount is read only.
        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
        calculate ReceiptTolAmt or ReceiptTolQty when set receipt tolerance percentage change, null receipt tolerance percentage when enter ReceiptTolAmt or ReceiptTolQty
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException