psdi.app.workorder

Interface AssignmentRemote

    • Method Detail

      • completeAssignment

        void completeAssignment()
                         throws MXException,
                                java.rmi.RemoteException
        Calls completeAssignment(boolean) with the boolean set to true, which will complete the work order as part of its action. This matches the original action of this call.
        Throws:
        MXException
        java.rmi.RemoteException
      • completeAssignment

        void completeAssignment(boolean completeWO)
                         throws MXException,
                                java.rmi.RemoteException
        Completes an assignment: changes the status to Complete, creates a LabTrans record, and completes or closes the parent Work Order if all assignments are now complete and if the passed completeWO parameter is set to true.
        Parameters:
        completeWO - Determines whether the workorder that owns this assignment will have its status changed to Close or Comp.
        Throws:
        MXException
        java.rmi.RemoteException
      • startAssignment

        void startAssignment(java.util.Date startDate)
                      throws MXException,
                             java.rmi.RemoteException
        Start the assignment. Change the status of assignment to "STARTED" Change the status of the workorder to "in progress"
        Throws:
        MXException
        java.rmi.RemoteException
      • interruptAssignment

        void interruptAssignment(java.util.Date interruptDate)
                          throws MXException,
                                 java.rmi.RemoteException
        Interrupt Assignment. Change the status of the assignment to WAITASSIGN Creates the labor transaction record for this labor
        Throws:
        MXException
        java.rmi.RemoteException
      • finishAssignment

        void finishAssignment(java.util.Date finishDate)
                       throws MXException,
                              java.rmi.RemoteException
        Finish Assignment. Change the status of the assignment to COMPLETE Check to see whether the workorder has any other assignments which are still needed to be completed. Otherwise clear this assignment from Assignment set and change the workorder status to either complete or close depending on the user request. This method also Creates the labor transaction record for this labor
        Throws:
        MXException
        java.rmi.RemoteException
      • getToolTransSet

        ToolTransSetRemote getToolTransSet()
                                    throws MXException,
                                           java.rmi.RemoteException
        Allows a bean to retrieve a newly created TOOLTRANS MboSet for cleanup purposes if there was a problem.
        Returns:
        A ToolTransRemote mboset.
        Throws:
        MXException
        java.rmi.RemoteException
      • createToolTransCrew

        void createToolTransCrew(WORemote ownerWO,
                                 AMCrewRemote crew)
                          throws MXException,
                                 java.rmi.RemoteException
        Creates the TOOLTRANS records for a given crew assigned.
        Parameters:
        ownerWO -
        crew -
        Throws:
        MXException
        java.rmi.RemoteException
      • canFinishWO

        boolean canFinishWO(WO woMbo)
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getWPEndDateTime

        java.util.Date getWPEndDateTime(MboRemote WorkTimeMbo,
                                        java.util.Date wpStartDateTime,
                                        java.util.GregorianCalendar scratchCal,
                                        AvailCalc availCalc)
                                 throws MXException,
                                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • calcFinishDate

        void calcFinishDate()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getCrewWorkZoneWhere

        java.lang.String getCrewWorkZoneWhere(MboRemote owner)
                                       throws MXException,
                                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getLaborWorkZoneWhere

        java.lang.String getLaborWorkZoneWhere(MboRemote owner)
                                        throws MXException,
                                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getLaborWorkZoneWhere

        java.lang.String getLaborWorkZoneWhere(java.lang.String assetNum,
                                               java.lang.String location,
                                               java.lang.String siteId,
                                               java.lang.String orgId)
                                        throws MXException,
                                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getCrewWorkZoneWhere

        java.lang.String getCrewWorkZoneWhere(java.lang.String assetNum,
                                              java.lang.String location,
                                              java.lang.String siteId,
                                              java.lang.String orgId)
                                       throws MXException,
                                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException