psdi.app.common.purchasing

Class FldPurLocation

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPurLocation
    extends FldCommonLocation
    This is field class validation for the location field of POLine/PRLine/RFQLine. This is the location where the item or service will be used. If there is a workorder this location is the workorder's location.
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Post-validation is derived from FldCommonLocation and any additional post-validation is done in this class. If assetnum = null and if there is only one asset that has this location then set assetnum = the asset. Set gldebitacct,storeloc to null and readonly,issue to Y.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class FldCommonLocation
        Throws:
        MXApplicationException(po, - AssetNonRotating) is thrown when the chargestore flag is true but the asset is not a valid rotating asset
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Return list of STOREROOM mbos from the Location table. This will be used by the UI lookup to get all the sites. If StoreLocSiteID is null, the storeroom's organization item set should be same as the PO/PR's organization item set. If StoreLocSiteID is not null, the storeroom should be in the StoreLocSiteID.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException