psdi.app.dpldasset

Class FldPromoteDefaultLocation

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPromoteDefaultLocation
    extends MAXTableDomain
    Validations to mimic and anticipate validations done while creating assets. Also enables lookup.
    Since:
    7.2
    • Constructor Detail

      • FldPromoteDefaultLocation

        public FldPromoteDefaultLocation(MboValue mbv)
                                  throws MXException
        Construct and attach to the mbo value
        Throws:
        MXException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Clear the item if it is incompatible with the location if it is a storeroom. Then invoke the attribute flags routine.
        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
        Show only the locations in the site chosen. If there is an item chosen, only show locations that are not found in inventory, or that have an inventory status of "ACTIVE","PLANNING", or "PENDOBS".
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Returns:
        Mboset
        Throws:
        MXException
        java.rmi.RemoteException
      • buildListCriteria

        protected java.lang.String buildListCriteria()
                                              throws MXException,
                                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • appendClauseToSb

        protected void appendClauseToSb(java.lang.StringBuilder sb,
                                        java.lang.String str)