psdi.app.inventory

Class InvPickList

    • Constructor Detail

      • InvPickList

        public InvPickList(MboSet ms)
                    throws MXException,
                           java.rmi.RemoteException
        Constructor for the InvPickList Object
        Parameters:
        ms -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getStatusHistory

        protected MboSetRemote getStatusHistory()
                                         throws MXException,
                                                java.rmi.RemoteException
        Gets the invpickliststatus objects. Required for statefulness.
        Specified by:
        getStatusHistory in class StatefulMbo
        Returns:
        the invpickliststatus MboSet.
        Throws:
        MXException
        java.rmi.RemoteException
      • getStatusListName

        public java.lang.String getStatusListName()
        Gets the name of the value list that contains all the status's. For InvPickLists this is INVPICKLISTSTATUS.
        Specified by:
        getStatusListName in interface StatefulMboRemote
        Specified by:
        getStatusListName in class StatefulMbo
        Returns:
        "INVPICKLISTSTATUS"
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        add() Provides defaults for a new InvPickList Record. The table below shows the default values for each of the attributes listed.
        Attribute NameAttribute Value
        STATUSENTERED
        STATUSDATESYSTEMDATE
        CHANGEBYUSERNAME(login)
        PLOWNERSYSTEMDATE

        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        This is called whenever a change is made to the attributes of invpicklist. When any field related to the object is changed, changedate and changeby is updated.
        Overrides:
        modify in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • changeStatus

        public void changeStatus(java.lang.String status,
                                 java.util.Date date,
                                 java.lang.String memo,
                                 long accessModifier)
                          throws MXException,
                                 java.rmi.RemoteException
        This method is overridden to add a wrapper to exceptions thrown during change status and to write warnings whether or not the status change is successful
        Specified by:
        changeStatus in interface StatefulMboRemote
        Overrides:
        changeStatus in class StatefulMbo
        Parameters:
        status - The new desired status. This is the translated status (that is, the status code as it would have been entered by a user, or valuelist.value), not the internal status value (valuelist.maxvalue). *
        date - The effective date of the new status is current date/time.
        memo - A string briefly describing the circumstances of the change. The memo can be null.
        accessmodifier -
        Throws:
        MXException - Thrown if there is a problem.
        java.rmi.RemoteException
        See Also:
        StatefulMbo.canChangeStatus(String)
      • getStatus

        public java.lang.String getStatus()
                                   throws MXException,
                                          java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException