psdi.iface.app.rcv

Class MaxRcvRotItmMProcess

    • Constructor Detail

      • MaxRcvRotItmMProcess

        public MaxRcvRotItmMProcess()
                             throws MXException,
                                    java.rmi.RemoteException
        Constructor
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • setAdditionalData

        public void setAdditionalData(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               throws MXException,
                                      java.rmi.RemoteException
        Call back method to set all values which was not set. Called per mbo after the mbo fields has been set.
        Overrides:
        setAdditionalData in class MaxRCVProcess
        Parameters:
        mboSet - The MboSet of the currently processed mbo.
        tableName - the name of the currently processed mbo.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • createMboSet

        public MboSetRemote createMboSet(boolean primaryMbo,
                                         MboRemote parentMbo,
                                         MosDetailInfo mdi,
                                         java.lang.String processTable)
                                  throws MXException,
                                         java.rmi.RemoteException
        Call back method to create mbo and mbo set sets for incoming transactions.
        Overrides:
        createMboSet in class MaxRCVProcess
        Parameters:
        primaryMbo - Give boolean to specify is it primary table or additional table
        parentMbo - The parent mbo of this MboSet to be created
        mdi - The object sturcture info
        processTable - The name of process MAXIMO table
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • checkBusinessRules

        public int checkBusinessRules()
                               throws MXException,
                                      java.rmi.RemoteException
        This method gets called before processing each noun of a multi-noun transaction. Should return MicConstants.SKIP to goto next noun, or return MicConstants.PROCESS to continue processing this noun. This is probably a good place to reset instance variables that are used to process a single noun.
        Overrides:
        checkBusinessRules in class MaxRCVProcess
        Returns:
        SKIP or PROCESS
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • checkBusinessRules

        public int checkBusinessRules(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               throws MXException,
                                      java.rmi.RemoteException
        Method to call back and find out can we process data from specific table.
        Overrides:
        checkBusinessRules in class MaxRCVProcess
        Parameters:
        mboSet - - The MboSet for the current processing table
        tableName - - Give name of process MAXIMO table
        Returns:
        - PROCESS, SKIP indicating can we take data from specific table or not
        Throws:
        MXException - - MAXIMO exception
        java.rmi.RemoteException - - Remote exception
      • isCrossSiteRotassetTransfer

        public boolean isCrossSiteRotassetTransfer(MboRemote po)
                                            throws MXException,
                                                   java.rmi.RemoteException
        09-23102
        Parameters:
        po -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • setAssetNums

        public void setAssetNums(MboSetRemote assetInputSet,
                                 java.util.List assets)
                          throws MXException,
                                 java.rmi.RemoteException
        Goes through the set of assets that is given through integration and sets the asset numbers, either via the NEWASSETNUM or by using the current assetnum.
        Parameters:
        assetInputSet -
        assets -
        Throws:
        MXException
        java.rmi.RemoteException