psdi.app.inventory.virtual

Class IssueCurrentItem

    • Constructor Detail

      • IssueCurrentItem

        public IssueCurrentItem(MboSet ms)
                         throws MXException,
                                java.rmi.RemoteException
        Construct the IssueCurrentItem object
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Sets up a new InventoryAdjustment object.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • init

        public void init()
                  throws MXException
        Initialization routine makes the attributes itemnum, itemsetid, outside,avbalBalance,curbaltotal.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Validate if the GL Account is fully specified. The spacer used in partially formed gl accounts is retreived from the maxvar GLQUESTION. If that spacer is found in either the gldebitacct or glcreditacct an exception is thrown.
        GROUPKEYREASON
        inventoryinvalidGLDebitAccountif the debit account is not fully specified
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • isIssue

        protected boolean isIssue()
                           throws MXException,
                                  java.rmi.RemoteException
        Returns true if issuetype = the internal string for ISSUE, otherwise returns false.
        Parameters:
        none -
        Returns:
        boolean
        Throws:
        none
        MXException
        java.rmi.RemoteException
      • isReturn

        protected boolean isReturn()
                            throws MXException,
                                   java.rmi.RemoteException
        Returns true if issuetype = the internal string for RETURN, otherwise returns false.
        Parameters:
        none -
        Returns:
        boolean
        Throws:
        none
        MXException
        java.rmi.RemoteException
      • getIssueInventory

        protected MboRemote getIssueInventory()
                                       throws MXException,
                                              java.rmi.RemoteException
        returns the inventory for the issue, not necessarily the invnetoy where the Issue Current Item page was launched.
        Throws:
        MXException
        java.rmi.RemoteException
      • setIssueInventory

        protected void setIssueInventory(MboRemote inv)
                                  throws MXException,
                                         java.rmi.RemoteException
        Tells the IssueCurrentItem object the Inventory object the issue is being done on as user can change the storeroom.
        Throws:
        MXException
        java.rmi.RemoteException
      • getWO

        public MboRemote getWO()
                        throws MXException,
                               java.rmi.RemoteException
        Gets the related workorder using getSharedMboSet. If no WO is found, null is returned.
        Throws:
        MXException
        java.rmi.RemoteException