psdi.app.workorder.unittest

Class WOMaterialAvailabilityUnitTest

  • java.lang.Object
    • psdi.app.workorder.unittest.WOMaterialAvailabilityUnitTest


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

      • WOMaterialAvailabilityUnitTest

        public WOMaterialAvailabilityUnitTest()
    • Method Detail

      • testScenario1

        public void testScenario1()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testScenario2

        public void testScenario2()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testScenario3

        public void testScenario3()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testScenario4

        public void testScenario4()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testScenario5

        public void testScenario5()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testScenario6

        public void testScenario6()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setMaxVarsIgnoreStoreroomAvailability

        protected void setMaxVarsIgnoreStoreroomAvailability(java.lang.String ignStoreAvail,
                                                             java.lang.String org)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setMaxVarsIgnoreDiAvailability

        protected void setMaxVarsIgnoreDiAvailability(java.lang.String ignDiAvail,
                                                      java.lang.String org)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setMaxVarsNegativeAvailability

        protected void setMaxVarsNegativeAvailability(java.lang.String negAvail,
                                                      java.lang.String org)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addWOwithMaterialSoftHardReserv

        public WORemote addWOwithMaterialSoftHardReserv(java.lang.String testDataId)
                                                 throws java.lang.Exception
        Create a new WorkOrder with soft and hard material reservation. Its quantity depends on the values set up in the data source file.
        Parameters:
        testDataId - - The data source identification.
        Returns:
        Created WorkOrder with approved status.
        Throws:
        java.lang.Exception - General Exception.