psdi.app.inventory.unittest

Class InvUseTransferWithoutPO_SameSite_LottedItem_LottedTool

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


  • public class InvUseTransferWithoutPO_SameSite_LottedItem_LottedTool
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addExtraBinForLottedItem()
      Create STDITM2, CURBAL=100 for the Lotted Item
      void addExtraBinForLotTool()
      Create LOTTOOL2, CURBAL=100 for the Lotted Tool
      void addInvUse1_Line_Shipped()
      Transfer-SHIPPED invUse1 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=125, FROMBIN=null Inventory Balance for the nullbin: 1000-125=875 TOSITE=BEDFORD
      void addInvUse1_Line()
      Create Inventory Usage Line for the invUse1 record Lotted Item FROMBIN=null and CURBAL=1000 QUANTITY=125 From Storeroom=CENTRAL to TOSTORELOC=PKG
      void addInvUse2_Line_Shipped()
      Transfer-SHIPPED invUse1 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=125, FROMBIN= not null = STDITM1 Inventory Balance for the STDBIN1: 1000-125=875 TOSITE=BEDFORD
      void addInvUse2_Line()
      Create Inventory Usage Line for the invUse2 record Lotted Item FROMBIN= not null(STDITM1) and CURBAL=1000 QUANTITY=125
      void addInvUse3_Line_Shipped()
      Transfer-SHIPPED invUse3 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=120, LOTITM2= not null Inventory Balance for the LOTITM2:100, LOTITM3=100 TOSITE=BEDFORD Inventory default bin=LOTITM1 InvUselIne default bin=LOTITM2
      void addInvUse3_Line()
      Create Inventory Usage Line for the invUse3 record Lotted Item FROMBIN= not null = STDITM2 QUANTITY=120 is greater than the curbal=100 for the STDITM2
      void addInvUse4_Line_Shipped()
      Transfer-SHIPPED invUse4 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=125, FROMBIN=null Inventory Balance for the nullbin: 1000-125=875 TOSITE=BEDFORD
      void addInvUse4_Line()
      Create Inventory Usage Line for the invUse4 record Lotted Tool FROMBIN=null and QUANTITY=125 ISSUETO=SMITH
      void addInvUse5_Line_Shipped()
      Transfer-SHIPPED invUse5 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=125, FROMBIN= not null = LOTTOOL1 Inventory Balance for the LOTTOOLq: 1000-125=875 TOSITE=BEDFORD
      void addInvUse5_Line()
      Create Inventory Usage Line for the invUse5 record Lotted Item FROMBIN= not null (STDTOOL1) and QUANTITY=125
      void addInvUse6_Line_Shipped()
      Transfer-SHIPPED invUse1 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=120, FROMBIN= not null = LOTTOOL2 Inventory Balance for the LOTTOOL2:100 TOSITE=BEDFORD
      void addInvUse6_Line()
      Create Inventory Usage Line for the invUse2 record Lotted Item FROMBIN= not null QUANTITY=120 is greater than the curbal=100 for the LOTTOOL2
      void addNullBinForLottedItem()
      Create null bin, CURBAL=1000 for the Lotted Item
      void addNullBinForLotTool()
      Create null bin, CURBAL=1000 for the Lotted Tool
      void invUse1()
      Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      void invUse2()
      Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      void invUse3()
      Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      void invUse4()
      Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      void invUse5()
      Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      void invUse6()
      Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InvUseTransferWithoutPO_SameSite_LottedItem_LottedTool

        public InvUseTransferWithoutPO_SameSite_LottedItem_LottedTool()
    • Method Detail

      • addNullBinForLottedItem

        public void addNullBinForLottedItem()
                                     throws java.lang.Exception
        Create null bin, CURBAL=1000 for the Lotted Item
        Throws:
        java.lang.Exception
      • invUse1

        public void invUse1()
        Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      • addInvUse1_Line

        public void addInvUse1_Line()
                             throws java.lang.Exception
        Create Inventory Usage Line for the invUse1 record Lotted Item FROMBIN=null and CURBAL=1000 QUANTITY=125 From Storeroom=CENTRAL to TOSTORELOC=PKG
        Throws:
        java.lang.Exception
      • addInvUse1_Line_Shipped

        public void addInvUse1_Line_Shipped()
                                     throws java.lang.Exception
        Transfer-SHIPPED invUse1 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=125, FROMBIN=null Inventory Balance for the nullbin: 1000-125=875 TOSITE=BEDFORD
        Throws:
        java.lang.Exception
      • invUse2

        public void invUse2()
        Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      • addInvUse2_Line

        public void addInvUse2_Line()
                             throws java.lang.Exception
        Create Inventory Usage Line for the invUse2 record Lotted Item FROMBIN= not null(STDITM1) and CURBAL=1000 QUANTITY=125
        Throws:
        java.lang.Exception
      • addInvUse2_Line_Shipped

        public void addInvUse2_Line_Shipped()
                                     throws java.lang.Exception
        Transfer-SHIPPED invUse1 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=125, FROMBIN= not null = STDITM1 Inventory Balance for the STDBIN1: 1000-125=875 TOSITE=BEDFORD
        Throws:
        java.lang.Exception
      • addExtraBinForLottedItem

        public void addExtraBinForLottedItem()
                                      throws java.lang.Exception
        Create STDITM2, CURBAL=100 for the Lotted Item
        Throws:
        java.lang.Exception
      • invUse3

        public void invUse3()
        Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      • addInvUse3_Line

        public void addInvUse3_Line()
                             throws java.lang.Exception
        Create Inventory Usage Line for the invUse3 record Lotted Item FROMBIN= not null = STDITM2 QUANTITY=120 is greater than the curbal=100 for the STDITM2
        Throws:
        java.lang.Exception
      • addInvUse3_Line_Shipped

        public void addInvUse3_Line_Shipped()
                                     throws java.lang.Exception
        Transfer-SHIPPED invUse3 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=120, LOTITM2= not null Inventory Balance for the LOTITM2:100, LOTITM3=100 TOSITE=BEDFORD Inventory default bin=LOTITM1 InvUselIne default bin=LOTITM2
        Throws:
        java.lang.Exception
      • addNullBinForLotTool

        public void addNullBinForLotTool()
                                  throws java.lang.Exception
        Create null bin, CURBAL=1000 for the Lotted Tool
        Throws:
        java.lang.Exception
      • invUse4

        public void invUse4()
        Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      • addInvUse4_Line

        public void addInvUse4_Line()
                             throws java.lang.Exception
        Create Inventory Usage Line for the invUse4 record Lotted Tool FROMBIN=null and QUANTITY=125 ISSUETO=SMITH
        Throws:
        java.lang.Exception
      • addInvUse4_Line_Shipped

        public void addInvUse4_Line_Shipped()
                                     throws java.lang.Exception
        Transfer-SHIPPED invUse4 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=125, FROMBIN=null Inventory Balance for the nullbin: 1000-125=875 TOSITE=BEDFORD
        Throws:
        java.lang.Exception
      • invUse5

        public void invUse5()
        Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      • addInvUse5_Line

        public void addInvUse5_Line()
                             throws java.lang.Exception
        Create Inventory Usage Line for the invUse5 record Lotted Item FROMBIN= not null (STDTOOL1) and QUANTITY=125
        Throws:
        java.lang.Exception
      • addInvUse5_Line_Shipped

        public void addInvUse5_Line_Shipped()
                                     throws java.lang.Exception
        Transfer-SHIPPED invUse5 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=125, FROMBIN= not null = LOTTOOL1 Inventory Balance for the LOTTOOLq: 1000-125=875 TOSITE=BEDFORD
        Throws:
        java.lang.Exception
      • addExtraBinForLotTool

        public void addExtraBinForLotTool()
                                   throws java.lang.Exception
        Create LOTTOOL2, CURBAL=100 for the Lotted Tool
        Throws:
        java.lang.Exception
      • invUse6

        public void invUse6()
        Create Inventory Usage Record Assertions:Use Type = TRANSFER and status=ENTERED
      • addInvUse6_Line

        public void addInvUse6_Line()
                             throws java.lang.Exception
        Create Inventory Usage Line for the invUse2 record Lotted Item FROMBIN= not null QUANTITY=120 is greater than the curbal=100 for the LOTTOOL2
        Throws:
        java.lang.Exception
      • addInvUse6_Line_Shipped

        public void addInvUse6_Line_Shipped()
                                     throws java.lang.Exception
        Transfer-SHIPPED invUse1 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=120, FROMBIN= not null = LOTTOOL2 Inventory Balance for the LOTTOOL2:100 TOSITE=BEDFORD
        Throws:
        java.lang.Exception