psdi.webclient.beans.workorder

Class WOAppBean

    • Field Detail

      • esigchecked

        protected boolean esigchecked
      • esigcancel

        protected boolean esigcancel
    • Constructor Detail

      • WOAppBean

        public WOAppBean()
    • Method Detail

      • DUPLICATECHECK

        public int DUPLICATECHECK()
                           throws MXException,
                                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • EDITHIST

        public int EDITHIST()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • EDITHIST

        public int EDITHIST(boolean checkEsig)
                     throws MXException,
                            java.rmi.RemoteException
        Provides the functionality for the 'Edit Work Order History' (EDITHIST) action
        Throws:
        MXException
        java.rmi.RemoteException
      • REMOVEWP

        public int REMOVEWP()
                     throws MXException,
                            java.rmi.RemoteException
        Provides the functionality for the 'Remove Work Plan' (REMOVEWP) action
        Throws:
        MXException
        java.rmi.RemoteException
      • NEWWRKPKG

        public int NEWWRKPKG()
                      throws MXException,
                             java.rmi.RemoteException
        Provides the functionality for the 'Create Work package' (NEWWRKPKG) action
        Throws:
        MXException
        java.rmi.RemoteException
      • METERREAD

        public int METERREAD()
                      throws MXException,
                             java.rmi.RemoteException
        Provides the functionality for 'Enter Meter Readings' (METERREAD) action
        Throws:
        MXException
        java.rmi.RemoteException
      • REPDOWN

        public int REPDOWN()
                    throws MXException,
                           java.rmi.RemoteException
        Determines whether or not action 'Report Downtime' (REPDOWN) can be performed.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        WO.canReportDowntime()
      • MANDWNTIME

        public int MANDWNTIME()
                       throws MXException,
                              java.rmi.RemoteException
        Determines whether or not action 'Manage Downtime History' (MANDWNTIME) can be performed.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        WO.canReportDowntime()
      • OWNERSHIP

        public int OWNERSHIP()
                      throws MXException,
                             java.rmi.RemoteException
        Take Ownership gets called from list page or main record
        Throws:
        MXException
        java.rmi.RemoteException
      • STARTTIMER

        public int STARTTIMER()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • STOPTIMER

        public int STOPTIMER()
                      throws MXException,
                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • savewithoutalreadyreportedcheck

        public int savewithoutalreadyreportedcheck()
                                            throws MXException,
                                                   java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • ASGNEWPRNT

        public int ASGNEWPRNT()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • MASSMOVE

        public int MASSMOVE()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • resetMboSetRemote

        public void resetMboSetRemote()
                               throws MXException,
                                      java.rmi.RemoteException
        This method is used to reset the current record after a task changes status in the task table. It should be used with caution.
        Throws:
        MXException
        java.rmi.RemoteException
      • createWorkorder

        public int createWorkorder()
                            throws MXException,
                                   java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • createServiceRequest

        public int createServiceRequest()
                                 throws MXException,
                                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • createProblem

        public int createProblem()
                          throws MXException,
                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • createIncident

        public int createIncident()
                           throws MXException,
                                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • createChange

        public int createChange()
                         throws MXException,
                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • createRelease

        public int createRelease()
                          throws MXException,
                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • CREATECOMM

        public int CREATECOMM()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • COPYLNK2WO

        public int COPYLNK2WO()
                       throws MXException,
                              java.rmi.RemoteException
        action COPYLNK2WO to copy doclinks from related objects to wo
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList(int row,
                                    java.lang.String attribute)
                             throws MXException,
                                    java.rmi.RemoteException
        If Repair Facility maxvar is active, extends original functionality to return assets from all sites that belong to the organization where the main record is in
        Overrides:
        getList in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • setValue

        public void setValue(int row,
                             java.lang.String attribute,
                             java.lang.String value,
                             long accessModifier)
                      throws MXException
        Checks if the parameter is an asset record for updating the assetnum field from the current workorder. If the Repair Facility maxvar is active and the asset found as a match for the entered value belongs to a different site, this method throws a message to ask user if he wants to discard the current workorder and have a new one created for the asset
        Overrides:
        setValue in class DataBean
        Throws:
        MXException
      • smartFill

        public MboSetRemote smartFill(int row,
                                      java.lang.String attribute,
                                      java.lang.String value,
                                      boolean exactMatch)
                               throws MXException,
                                      java.rmi.RemoteException
        Checks if the parameter is an asset record for updating the assetnum field from the current workorder. If the Repair Facility maxvar is active and the asset found as a match for the entered value belongs to a different site, this method throws a message to ask user if he wants to discard the current workorder and have a new one created for the asset
        Overrides:
        smartFill in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • returnLookupValue

        public int returnLookupValue(MboRemote lookupMbo)
                              throws MXException
        Checks if the parameter is an asset record for updating the assetnum field from the current workorder If the Repair Facility maxvar is active and the record belongs to a different site, this method throws a message to ask user if he wants to discard the current workorder and have a new one created for the asset The intent is to cover: - Asset Lookup - "Classification Search" dialog - "Attribute Search" dialog - "Return With Value" option from Asset application (ideally)
        Overrides:
        returnLookupValue in class DataBean
        Parameters:
        lookupMbo -
        Returns:
        Throws:
        MXException
      • addWorkOrderForAsset

        protected void addWorkOrderForAsset(MboRemote asset)
                                     throws MXException,
                                            java.rmi.RemoteException
        Adds a new work order to the site where asset received as a parameter is in
        Parameters:
        asset -
        Throws:
        MXException
        java.rmi.RemoteException
      • appSupportsRepairFacilities

        public boolean appSupportsRepairFacilities()
        Says if the application controlled by this bean supports Repair Facilities Applications that support Repair Facilities allow user to select assets from different sites and have new work orders created
        Returns:
      • ENTERINSP

        public int ENTERINSP()
                      throws MXException,
                             java.rmi.RemoteException
        Handles opening the Conduct an Inspection work center application in another browser window.
        Throws:
        MXException
        java.rmi.RemoteException
      • setInspFormNum

        public void setInspFormNum(java.lang.String inspformnum)
                            throws java.rmi.RemoteException,
                                   MXException
        Create a new inspection against the current App Mbo.
        Throws:
        java.rmi.RemoteException - if an error occurs
        MXException - if an error occurs