Class InventoryStatusTest

    • Constructor Detail

      • InventoryStatusTest

        public InventoryStatusTest()
    • Method Detail

      • initialize

        public void initialize()
      • IS001SeveralStatusChanges

        public void IS001SeveralStatusChanges()
        IS001IS001SeveralStatusChanges: Basic Inventory Status changes over the same Storage Bin with existing Stock, without any particular scenario
        • Clone a Product and a Storage Bin
        • Change Status of the Storage Bin to Available
        • Change Status of the Storage Bin to Blocked
        • Change Status of the Storage Bin to Available
        • Change Status of the Storage Bin to Undefined Over Issue
      • IS002NotPossibleToSetAvailableWhenNegativeStock

        public void IS002NotPossibleToSetAvailableWhenNegativeStock()
        IS002IS002NotPossibleToSetAvailableWhenNegativeStock : Test that it is not possible to change the Inventory Status of a Storage Bin from a Status that allows to go Over Issue to a Status that does not allow it, if there is negative Stock in the Storage Bin
        • Clone Product and Storage Bin and create a Goods Shipment to create negative Stock
        • Change Inventory Status to BackFlush, it allows it
        • Change Inventory Status to Available, it fails because there is negative Stock
      • IS003ACreateStockAndSetBlockedStatus

        public void IS003ACreateStockAndSetBlockedStatus()
        IS003: Test that it is not possible to create a Goods Shipment for Stock that is in Blocked Inventory Status, but if the Status is changed to Available, this Goods Shipment can be completed
        • IS003A: Clone Product and Storage Bin and create a Goods Receipt to create Stock. Change Inventory Status to Blocked
        • IS003B: Try to Complete the Goods Shipment, it is not possible
        • IS003C: Change the Inventory Status to Available. Complete the Goods Shipment successfully
      • IS003BNotPossibleToCompleteShipment

        public void IS003BNotPossibleToCompleteShipment()
      • IS003CSetAvailableStatusAndCompleteShipment

        public void IS003CSetAvailableStatusAndCompleteShipment()
      • IS004ASetBinStatusToAvailable

        public void IS004ASetBinStatusToAvailable()
        IS004: Test that it is not possible to complete a Goods Shipment if there is not Stock and there are no Bins that allows to go Over Issue. Change the status of one Bin to one that allows to go Over Issue and check that the Goods Shipment can be completed creating negative Stock
        • IS004A: Clone Product and Storage Bin and check that the Inventory Status is Available
        • IS004B: Try to complete a Goods Shipment, it is not possible because there is not Stock available
        • IS004C: Change Inventory Status to Backflush. Complete the Goods Shipment successfully
      • IS004BNotPossibleToCompleShipment

        public void IS004BNotPossibleToCompleShipment()
      • IS004CSetBinStatusToBackflushAndCompleteShipment

        public void IS004CSetBinStatusToBackflushAndCompleteShipment()
      • IS005NotPossibleToChangeStatusToBlockedIfThereAreReservations

        public void IS005NotPossibleToChangeStatusToBlockedIfThereAreReservations()
        IS005IS005NotPossibleToChangeStatusToBlockedIfThereAreReservations: Test that it is not possible to change the Status of a Bin to a Status that is not Avilable if there are Reservations related to it.
        • Clone Product and Storage Bin and create a Goods Receipt to create Stock
        • Clone an existing Reservation
        • Change Inventory Status to Available
        • Try to change Inventory Status to Blocked and it fails because there is a related Reservation