psdi.app.workorder.unittest

Class ApplyJPtoWOandPM

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


  • public class ApplyJPtoWOandPM
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      ApplyJPtoWOandPM() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addJP()
      Applying Job Plan to WO 1.
      void applyJPtoPM()
      Applying Job Plan to PM 1.
      void applyJPtoWO() 
      • Methods inherited from class java.lang.Object

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

      • ApplyJPtoWOandPM

        public ApplyJPtoWOandPM()
    • Method Detail

      • addJP

        public void addJP()
                   throws java.lang.Exception
        Applying Job Plan to WO 1. Insert new Job Plan record 2. Change status of Job Plan to ACTIVE 3. Go into WOTRACK, insert new work order 4. Set Job Plan and save 6. Select Action > Change Status > change status to APPR and click OK
        Throws:
        java.lang.Exception
      • applyJPtoWO

        public void applyJPtoWO()
                         throws java.rmi.RemoteException,
                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • applyJPtoPM

        public void applyJPtoPM()
                         throws java.rmi.RemoteException,
                                MXException
        Applying Job Plan to PM 1. Use the Job Plan that was created in Steps 1-3 above 2. PM app, insert new record 3. Set Asset = 1001 (change the status to OPERATING for the asset) 4. Set Job Plan = JP_MAT1 5. Frequency Tab > set Estimated Due Date = 6. Change status of PM to ACTIVE 7. Select Action > Generate Work Orders 8. Uncheck Use Frequency Criteria box, click OK
        Throws:
        java.rmi.RemoteException
        MXException