psdi.app.inventory.unittest

Class ReceivingLibrary

  • java.lang.Object
    • psdi.app.inventory.unittest.ReceivingLibrary


  • public class ReceivingLibrary
    extends java.lang.Object
    • Constructor Detail

      • ReceivingLibrary

        public ReceivingLibrary()
    • Method Detail

      • addShipmentLines

        public static Shipment addShipmentLines(Shipment shipment)
                                         throws java.rmi.RemoteException,
                                                MXException
        Adds the shipment lines to the shipment and completes those that can be completed
        Parameters:
        shipment -
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException
      • setItemStatus

        public static void setItemStatus(ItemRemote item,
                                         java.lang.String status,
                                         boolean rolldown)
                                  throws java.rmi.RemoteException,
                                         MXException
        Set item status
        Parameters:
        -
        Throws:
        java.rmi.RemoteException
        MXException
      • setPOStatus

        public static void setPOStatus(PORemote po,
                                       java.lang.String status)
                                throws java.rmi.RemoteException,
                                       MXException
        Set PO status
        Parameters:
        -
        Throws:
        java.rmi.RemoteException
        MXException
      • fetchPOLine

        public static POLineRemote fetchPOLine(PORemote po,
                                               java.lang.String lineNum)
                                        throws MXException,
                                               java.rmi.RemoteException
        Fetch a POLine.
        Parameters:
        PORemote -
        Returns:
        POLineRemote
        Throws:
        MXException
        java.rmi.RemoteException