psdi.app.common.purchasing

Class FldPurVendor

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPurVendor
    extends CrossOverDomain
    This is the field validation class for the vendor field in PO/PR. This is the name of the vendor company.
    • Constructor Detail

      • FldPurVendor

        public FldPurVendor(MboValue mbv)
                     throws MXException,
                            java.rmi.RemoteException
        Construct and attach to the mbo value
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException

        Once a vendor is entered get crossover info from companies and set the corresponding crossover fields namely
        contact,customernum,fob,freightterms,shipvia,paymentterms,inclusive1..inclusive5,payonreceipt,currencycode If buyahead = Y set exchangedate to the current date. Get tax2code..tax5code info from companies and set these fields in POLines/PRLines.


        Conditions:
        1. If buyahead = Y set the exchangedate to current date.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class CrossOverDomain
        Throws:
        MXException
        java.rmi.RemoteException