psdi.app.workorder

Interface AssignmentSetRemote

    • Method Detail

      • assignmentsForLaborCodeAndWorkOrder

        void assignmentsForLaborCodeAndWorkOrder(java.lang.String labor,
                                                 java.lang.String woIDs)
                                          throws MXException,
                                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.workorder.AssignmentSet#assignmentsForLaborCodeAndWorkOrder(String labor, long[] workOrderId)
      • assignmentsForCrewAndWorkOrder

        void assignmentsForCrewAndWorkOrder(java.lang.String amcrew,
                                            long[] workOrderId)
                                     throws MXException,
                                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.workorder.AssignmentSet#assignmentsForCrewAndWorkOrder(String amcrew, long workOrderId)
      • getSevenDayWindow

        void getSevenDayWindow(CalendarViewSetRemote calendarViewSet)
                        throws MXException,
                               java.rmi.RemoteException
        Limits the AssignmentSet to those assignments that fall within the seven-day range defined by the calendarViewSet fields.
        Throws:
        MXException
        java.rmi.RemoteException
      • startAssignment

        MboSetRemote startAssignment()
                              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

        MboSetRemote interruptAssignment()
                                  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

        MboSetRemote finishAssignment()
                               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
      • fireEventsAfterDB

        void fireEventsAfterDB(MXTransaction txn)
                        throws MXException,
                               java.rmi.RemoteException
        Description copied from interface: Transactable
        fire events for all mbos in the transaction after db operation.
        Specified by:
        fireEventsAfterDB in interface Transactable
        Parameters:
        txn - Transaction
        Throws:
        MXException - Error while committing
        java.rmi.RemoteException - Network error