psdi.app.inventory

Class InvUseLineSet

    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generate a new InvUseLine object
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms -
        Returns:
        Mbo
        Throws:
        none
        MXException
        java.rmi.RemoteException
      • sameMatUseTransFound

        public boolean sameMatUseTransFound(MboRemote selectedIssue)
                                     throws MXException,
                                            java.rmi.RemoteException
        Returns true if the passed InvUseLine mbo(type of ISSUE) has been selected in the current invuseline set.
        Returns:
        boolean
        Throws:
        MXException
        java.rmi.RemoteException
      • addInvUseLineFromMatUseTrans

        public MboRemote addInvUseLineFromMatUseTrans(MboRemote matUseTrans)
                                               throws MXException,
                                                      java.rmi.RemoteException
        This method adds and copy necessary information from Select Items to Return dialog to InvUseLine.
        Parameters:
        MboRemote - The MatUseTrans mbo.
        Returns:
        MboRemote The InvUseLine mbo.
        Throws:
        MXException
        java.rmi.RemoteException
      • getInvBalMap

        public MboRemote getInvBalMap(java.lang.String key)
                               throws MXException,
                                      java.rmi.RemoteException
        Return the invbalance mbo corresponding to key.
        Parameters:
        key -
        Returns:
        MboRemote
        Throws:
        MXException
        java.rmi.RemoteException
      • putInvBalMap

        public void putInvBalMap(java.lang.String key,
                                 MboRemote invBalMbo)
                          throws MXException,
                                 java.rmi.RemoteException
        Adds invbalance mbo to the HashMap
        Parameters:
        key -
        invBalMbo -
        Throws:
        MXException
        java.rmi.RemoteException
      • getInvBalMap

        public java.util.HashMap getInvBalMap()
                                       throws MXException,
                                              java.rmi.RemoteException
        returns the hash map.
        Returns:
        HashMap
        Throws:
        MXException
        java.rmi.RemoteException
      • clearInvBalMap

        public void clearInvBalMap()
                            throws MXException,
                                   java.rmi.RemoteException
        Clears the invBalMap hash map.
        Throws:
        MXException
        java.rmi.RemoteException
      • clearinvBalQtyMap

        public void clearinvBalQtyMap()
                               throws MXException,
                                      java.rmi.RemoteException
        Clears the invBalMap hash map.
        Throws:
        MXException
        java.rmi.RemoteException
      • canAdd

        public void canAdd()
                    throws MXException
        Can an object be added to the InvUseLine? The owner of InvUseLine must be InvUse and the status should be ENTERED.
        Overrides:
        canAdd in class MboSet
        Throws:
        MXApplicationException(invuse, - addinvuseline) is thrown when the owner is not INVUSE
        MXApplicationException(invuse, - cannotAdd) is thrown when the InvUse status is not ENTERED
        MXException
      • getQtyForReservationinSet

        public double getQtyForReservationinSet(java.lang.String requestnum,
                                                long invuselineid)
                                         throws MXException,
                                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getPhyscntdateList

        public java.util.ArrayList getPhyscntdateList()
                                               throws MXException,
                                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getInvReserveVector

        public java.util.Vector getInvReserveVector()
                                             throws MXException,
                                                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException