psdi.app.inventory.virtual

Class SplitUseLineSet

    • Constructor Detail

      • SplitUseLineSet

        public SplitUseLineSet(MboServerInterface ms)
                        throws MXException,
                               java.rmi.RemoteException
        Construct the set
        Parameters:
        ms - The MboServerInterface
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Factory method to create an InvChangeStatus object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - The InvUseChangeStatusSet.
        Returns:
        an InvUseChangeStatusMbo object.
        Throws:
        MXException
        java.rmi.RemoteException
      • getSplitUseLineSet

        public MboSetRemote getSplitUseLineSet(MboSetRemote tempSetRemote)
                                        throws MXException,
                                               java.rmi.RemoteException
        This method returns a invuseline mboset that needs splitting.
        Parameters:
        none -
        Returns:
        MboRemote
        Throws:
        MXException
        java.rmi.RemoteException
      • validateSplitLines

        public void validateSplitLines()
                                throws MXException,
                                       java.rmi.RemoteException
        This method is called from the bean to validate the split quantity across multiple bins. It throws exception if the sum of split quantity does not match the original split quantity. It also check is new asset num is required and isf it is null, it throws exception.
        Specified by:
        validateSplitLines in interface SplitUseLineSetRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.inventory.virtual
      • calculateAvailableQty

        public double calculateAvailableQty(MboRemote invUseLine)
                                     throws MXException,
                                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • calculateCurrentBalance

        protected double calculateCurrentBalance(MboRemote invUseLine)
                                          throws MXException,
                                                 java.rmi.RemoteException
        Method to calculate current balance
        Calculates sum of current balances in invbalances for a itemnum and location
        Parameters:
        None -
        Returns:
        current balance
        Throws:
        MXException - - MAXIMO System error
        java.rmi.RemoteException - - RMI error
      • calculateRQtyNotStaged

        public double calculateRQtyNotStaged(MboRemote invUseLine)
                                      throws MXException,
                                             java.rmi.RemoteException
        Method to calculate reserved quantity without Staged quantity.
        Calculates sum of reserved quantity in invreserve for a itemnum and location
        Parameters:
        None -
        Returns:
        reserved qty
        Throws:
        MXException - - MAXIMO System error
        java.rmi.RemoteException - - RMI error
      • calculateAvailableQtyforLottedItems

        public double calculateAvailableQtyforLottedItems(MboRemote invUseLine)
                                                   throws MXException,
                                                          java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • calculateCurrentBalanceforLottedItems

        protected double calculateCurrentBalanceforLottedItems(MboRemote invUseLine)
                                                        throws MXException,
                                                               java.rmi.RemoteException
        Method to calculate current balance
        Calculates sum of current balances in invbalances for a itemnum and location
        Parameters:
        None -
        Returns:
        current balance
        Throws:
        MXException - - MAXIMO System error
        java.rmi.RemoteException - - RMI error
      • calculateRQtyNotStagedforLottedItems

        public double calculateRQtyNotStagedforLottedItems(MboRemote invUseLine)
                                                    throws MXException,
                                                           java.rmi.RemoteException
        Method to calculate reserved quantity without Staged quantity.
        Calculates sum of reserved quantity in invreserve for a itemnum and location
        Parameters:
        None -
        Returns:
        reserved qty
        Throws:
        MXException - - MAXIMO System error
        java.rmi.RemoteException - - RMI error
      • getInvUseLineIdList

        public java.util.ArrayList getInvUseLineIdList()
                                                throws MXException,
                                                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • chkPickListMbo

        public boolean chkPickListMbo(MboRemote owner)
                               throws MXException,
                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException