psdi.app.inventory.unittest

Class InvUseTransferWithoutPO_SameSite_STDItems_STDTools

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


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addExtraBinForSTDItem()
      Create STDITM2, CURBAL=100 for the Standard Item
      void addExtraBinForSTDTool()
      Create STDTOOL2, CURBAL=100 for the Standard Tool
      void addInvUse1_Line_Receive() 
      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 Standard Item FROMBIN=null and CURBAL=1000 QUANTITY=125 From Storeroom=CENTRAL to TOSTORELOC=PKG
      void addInvUse2_Line_Receive() 
      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 Standard 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, STDITM2= not null = STDITM2 Inventory Balance for the STDBIN2:100 TOSITE=BEDFORD Inventory default bin=STDITM1 InvUselIne default bin=STDITM2
      void addInvUse3_Line()
      Create Inventory Usage Line for the invUse3 record Standard Item FROMBIN= not null = STDITM2 QUANTITY=120 is greater than the curbal=100 for the STDITM2
      void addInvUse4_Line_Receive() 
      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 Standard Tool FROMBIN=null and QUANTITY=125 ISSUETO=SMITH
      void addInvUse5_Line_Receive() 
      void addInvUse5_Line_Shipped()
      Transfer-SHIPPED invUse5 record to same site 'BEDFORD to BEDFORD' Assertions: status=SHIPPED, QUANTITY=125, FROMBIN= not null = STDTOOL1 Inventory Balance for the STDBIN1: 1000-125=875 TOSITE=BEDFORD
      void addInvUse5_Line()
      Create Inventory Usage Line for the invUse5 record Standard 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 = STDTOOL2 Inventory Balance for the STDBIN2:100 TOSITE=BEDFORD
      void addInvUse6_Line()
      Create Inventory Usage Line for the invUse2 record Standard Item FROMBIN= not null QUANTITY=120 is greater than the curbal=100 for the STDTOOL2
      void addNullBinForSTDItem()
      Create null bin, CURBAL=1000 for the Standard Item
      void addNullBinForSTDTool()
      Create null bin, CURBAL=1000 for the Standard 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_STDItems_STDTools

        public InvUseTransferWithoutPO_SameSite_STDItems_STDTools()
    • Method Detail

      • addNullBinForSTDItem

        public void addNullBinForSTDItem()
                                  throws java.lang.Exception
        Create null bin, CURBAL=1000 for the Standard 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 Standard 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
      • addInvUse1_Line_Receive

        public void addInvUse1_Line_Receive()
                                     throws java.lang.Exception
        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 Standard 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
      • addInvUse2_Line_Receive

        public void addInvUse2_Line_Receive()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addExtraBinForSTDItem

        public void addExtraBinForSTDItem()
                                   throws java.lang.Exception
        Create STDITM2, CURBAL=100 for the Standard 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 Standard 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, STDITM2= not null = STDITM2 Inventory Balance for the STDBIN2:100 TOSITE=BEDFORD Inventory default bin=STDITM1 InvUselIne default bin=STDITM2
        Throws:
        java.lang.Exception
      • addNullBinForSTDTool

        public void addNullBinForSTDTool()
                                  throws java.lang.Exception
        Create null bin, CURBAL=1000 for the Standard 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 Standard 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
      • addInvUse4_Line_Receive

        public void addInvUse4_Line_Receive()
                                     throws java.lang.Exception
        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 Standard 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 = STDTOOL1 Inventory Balance for the STDBIN1: 1000-125=875 TOSITE=BEDFORD
        Throws:
        java.lang.Exception
      • addInvUse5_Line_Receive

        public void addInvUse5_Line_Receive()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addExtraBinForSTDTool

        public void addExtraBinForSTDTool()
                                   throws java.lang.Exception
        Create STDTOOL2, CURBAL=100 for the Standard 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 Standard Item FROMBIN= not null QUANTITY=120 is greater than the curbal=100 for the STDTOOL2
        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 = STDTOOL2 Inventory Balance for the STDBIN2:100 TOSITE=BEDFORD
        Throws:
        java.lang.Exception