psdi.app.workorder

Interface WOServiceRemote

    • Field Detail

      • critOPEN

        static final java.lang.String critOPEN
        Criteria for returning open work orders. Open work orders have not been closed or cancelled.
        See Also:
        Constant Field Values
      • critOPENCHARGES

        static final java.lang.String critOPENCHARGES
        Criteria for returning open and accept charges work orders. Open and accept charges work orders have not been closed or cancelled and woacceptscharges is true.
        See Also:
        Constant Field Values
      • critHISTORY

        static final java.lang.String critHISTORY
        Criteria for work orders in history. Once a work order is closed or cancelled, it is in history.
        See Also:
        Constant Field Values
      • critAPPROVED

        static final java.lang.String critAPPROVED
        Criteria for approved work orders. Includes all work orders which aren't waiting for approval and which haven't been closed or cancelled. Except for special cases, only approved work orders can have actuals reported against them.
        See Also:
        Constant Field Values
      • critAPPROVEDCHARGES

        static final java.lang.String critAPPROVEDCHARGES
        Criteria for approved and accept charges work orders. Includes all work orders which aren't waiting for approval and which haven't been closed or cancelled. Except for special cases, only approved work orders can have actuals reported against them.
        See Also:
        Constant Field Values
      • critUNAPPROVED

        static final java.lang.String critUNAPPROVED
        Criteria for unapproved work orders. Unapproved work orders have a translated status of 'WAPPR'. WMATL & WSCH work orders are not unapproved.
        See Also:
        Constant Field Values
      • critINCOMPLETE

        static final java.lang.String critINCOMPLETE
        Criteria for incomplete work orders. Incomplete work orders are approved but not yet completed, closed, or cancelled.
        See Also:
        Constant Field Values
      • critINCOMPLETECHARGES

        static final java.lang.String critINCOMPLETECHARGES
        Criteria for incomplete and accept charges work orders. Incomplete work orders are approved and accept charges but not yet completed, closed, or cancelled.
        See Also:
        Constant Field Values
      • critNOTCANCELLED

        static final java.lang.String critNOTCANCELLED
        Criteria for "not cancelled" work orders. These work orders were approved and never cancelled.
        See Also:
        Constant Field Values
      • critNOTCOMPLETE

        static final java.lang.String critNOTCOMPLETE
        Criteria for "not complete" work orders. These work orders were never complete, closed or cancelled. Differs from "incomplete" in that unapproved work orders are included.
        See Also:
        Constant Field Values
    • Method Detail

      • updateWoForMovedAsset

        void updateWoForMovedAsset(MboRemote movedAsset)
                            throws MXException,
                                   java.rmi.RemoteException
        Updates the work orders which reference a piece of asset which has moved. Asset is assumed to be moved before calling this method.
        Parameters:
        movedAsset -
        Throws:
        MXException
        java.rmi.RemoteException
      • calculateWorkPriority

        void calculateWorkPriority(MboRemote forWO,
                                   UserInfo ui)
                            throws MXException,
                                   java.rmi.RemoteException
        Calculates the value for the CalcPriority attribute, given the current values of WoPriority and AssetLocPriority and the select priority formula.
        Parameters:
        forWO - the workorder or WogenForecast which its CalcPriority need be calculated.
        ui - The user info object for the user.
        Throws:
        MXException
        java.rmi.RemoteException
      • changeStatus

        void changeStatus(WORemote wo,
                          java.lang.String status,
                          java.util.Date date,
                          java.lang.String memo)
                   throws MXException,
                          java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • assignLabor

        void assignLabor(MboRemote assignment,
                         java.lang.String laborcode,
                         java.lang.String orgid)
                  throws MXException,
                         java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • startAssignment

        void startAssignment(MboRemote assignment)
                      throws MXException,
                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • interruptAssignment

        void interruptAssignment(MboRemote assignment)
                          throws MXException,
                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • finishAssignment

        void finishAssignment(MboRemote assignment)
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • getAvailableLabor

        MboSetRemote getAvailableLabor(MboRemote wo,
                                       java.util.Date fromdate,
                                       java.util.Date todate,
                                       java.lang.String vendor,
                                       java.lang.String contractnum,
                                       java.lang.String location,
                                       java.lang.Boolean assigned,
                                       java.lang.String siteid,
                                       java.lang.String craft,
                                       java.lang.String skilllevel,
                                       java.lang.String orgid)
                                throws MXException,
                                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • getWorkLog

        MboSetRemote getWorkLog(MboRemote wo,
                                java.lang.Boolean viewSR)
                         throws MXException,
                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • createAssignmentwithAssignedLabor

        void createAssignmentwithAssignedLabor(MboRemote workorder,
                                               java.lang.String laborcode,
                                               java.lang.String orgid,
                                               java.lang.String laborhrs,
                                               java.util.Date starttime)
                                        throws MXException,
                                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException;
      • applyOwner

        void applyOwner(MboRemote wo,
                        java.lang.String owner)
                 throws MXException,
                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • applyOwnerGroup

        void applyOwnerGroup(MboRemote wo,
                             java.lang.String ownergroup)
                      throws MXException,
                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • getAvailableCrew

        MboSetRemote getAvailableCrew(MboRemote wo,
                                      java.util.Date fromdate,
                                      java.util.Date todate,
                                      java.lang.String persongroup,
                                      java.lang.String amcrewtype,
                                      java.lang.String company,
                                      java.lang.Boolean assigned,
                                      java.lang.String siteid,
                                      java.lang.String orgid)
                               throws MXException,
                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException