psdi.app.po

Class FldPOLineToSiteID

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPOLineToSiteID
    extends FldSiteID
    This is the field validation class for ToSiteID field of POLine. It extends FldSiteID in Site package to get base validation for ToSiteID.
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Based on ToSiteID, set the ShipTo and ShipToAttn. If ToSiteID is null, 1) since ToSiteID cannot be blank, it will default as POLine's SiteID. 2) ShipTo, ShipToAttn, StoreLoc, WONum, AssetNum, Location and GLDebitAcct will be null. If this is an internal PO and the storeroom siteid on the PO Header is the same as the tositeid on the POLine, the inspection should not be required and the inspectionrequired field is set to readonly.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Return list of mbos from the Site table. This will be used by the UI lookup to get all the sites. If PO is internal, the tositeid's organization item set should be same as the POLine's organization item set. If PO is enternal, the site should be same as the POLine's organization.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class FldSiteID
        Throws:
        MXException
        java.rmi.RemoteException