psdi.app.common.purchasing

Class FldPurContact

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPurContact
    extends MAXTableDomain
    PO/PR/RFQVendor/Invoice Contact field validation. More IMPORTANTLY: it overwrites the validate() method so value entered does not have to necessarily exist in the COMPCONTACT table. This field class is needed because the lookup of the compcontact table is still needed. Gets the list of all company contacts from the compcontact table to be used by the UI to display in the lookup.
    • Constructor Detail

    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        DO NOT validate against the CompContact table. Value entered which does not exist in the compcontact table is acceptable. This is the general behavior for most CONTACT columns.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • smartFill

        public MboSetRemote smartFill(java.lang.String value,
                                      boolean exact)
                               throws MXException,
                                      java.rmi.RemoteException
        08-100382 if entered value does not exist in the compcontact, accept it SmallFill should not be in effect
        Specified by:
        smartFill in interface MboValueListener
        Overrides:
        smartFill in class MAXTableDomain
        Parameters:
        value - the value the ther has entered in this field.
        exact - whether the list is retrieved use exact qbe.
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Return list of mbos for from the compcontact table. This will be used by the UI lookup to get all the contacts. If company is null, display all contacts. If company has a value, only display the contacts for this particular company.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException