psdi.app.common.purchasing

Class FldPurInclusive

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPurInclusive
    extends MboValueAdapter
    This is the field validation class for inclusive1..inclusive5 attributes in PO/PR. Y/N values in inclusive1..inclusive5 indicate if tax1..tax5 respectively is payable/not payable to the vendor. A value of Y in inclusive1 indicates if tax1 is payable to the vendor and hence tax1 is not included in the totalcost of PO/PR.
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        If the value is Y for inclusive1, recalculate totaltax1 and then recalculate and set totalcost of PO/PR. The same logic is applied to inclusive2..inclusive5.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException