Skip to main content

Maximo Integration Methods and classes we should know

Maximo Integration Methods and classes we should know

1. irData.getPrimaryObjectList()


This is used to get primary object list suppose i have following in my object structure (MYOBJSTRUCT)

Workorder
Planned Matrial
tasks
Actuals Material
Logs

Now inorder to loop throw to the these records in case of publish 

I have to first get the list of primary object so above method is used their.

return type is list

2. object.size()

List which we get from above we for looping we will size size to get count of records

if we do it on MYOBJSTRUCT we will get 5 objects for looping on them we can use for loop or while loop 

3. irData.setAsCurrent("xxx")

 suppose if have to loop on planned material i will will set as current plan material

irData.setAsCurrent("PLANMATERIAL")

4. irData.getCurrentDataAsString("XXX")


suppose if i have to get Description from planned material list of 4th item for this i have to to use getDataAsString to get the data but first i have loop throgh objectlist  we get from our above 3rd point.
looping will be done by size method in similar fashion.

Use the same logic to get Int and Double.


5. erData.breakData()

we use breakData inorder to break data which is coming from external system into different objecs for reading or write over them

6. irData.createChildrenData("PM",true)

This method will be used for creating children data and set it as current.


7. irData.setCurrentData(xxx,XXX);


set set a value example 

uid=irData.getCurrentDataAsString("USERID")
uid=uid+"Test"

irData.setCurrentData("USERID",uid)


8. irData.moveToFirstObjectStructure


9. irData.moveToNextObjectStructure







Comments

Popular posts from this blog

Maximo Interview Questions - Maximo Technical and Functional Questions

Technical Questions How do you rate your self in :- 1. PL/SQL 2. Java 3. Automation Script 4. Mbo Customization 5. Admininstration Jobs 6. Funtional Concepts 7. Maximo Configuration Do not rate anything less than 7 unless you don't want interview to skip the topic Deployment / Administration  1. Explain LDAP integration? 2. Explain SSO and LTPA token? 3. What is global security? 4. How session is managed in Websphere or Maximo? 16. How to insert attributes from Backend? 5. How request is passed in Maximo? 6. How to do horizontal and vertical clustering? 7. Explain how you confire websphere for maximo manually? 8. What are Websphere MQ? 9. What is JMS, Connection Factory and Queues? 10. What is difference between vmm and ldap sync integration ? 11. What is Standalone and federated repository? 12. How to install a new language in Maximo? 13. What are the steps to apply a Fix pack in Maximo, Websphere or DB2? 14. Have you worked on any performance checking tools? 15...

Maximo Bean Class Methods

Methods of Bean Classes of Maximo Reset Method   This method is called when a new filter is applied for the dialog's MboSet.  @see psdi.webclient.system.beans.DataBean#reset()     @Override     public void reset() throws MXException     {             try         {                 saveCurrentSelection();         }         catch (RemoteException e)         {             handleRemoteException(e);         }         super.reset();     } Initialize It is used to initialize values on a d...

BMXAA4211E - Database error number 1 has occurred when operating mbo...

 BMXAA4211E - Database error number 1 has occurred when operating on WFINSTANCE This solution you can use for any table generic solution in oracle db only  this is duplicate id issue.. (if you cannot remove duplicate just increase nextval like i did since in my case too i can't find duplicate and max value is greater than nextval. select max(WFID) from maximo.wfinstance *select maximo.WFINSTANCESEQ.NEXTVAL from dual; increase you value with some 1000's from o/p of query 1... example *alter sequence maximo.WFINSTANCESEQ restart start with 17572034; Similary if it comes for wfcallstack   BMXAA4211E – Database error number 1 has occurred when operating on WFCALLSTACK:   Report the error to the owner of the deployment.     check maxvalue    select max(wfcallstackid) from maximo.WFCALLSTACK     check next value    select maximo.WFCALLSTACKSEQ.NEXTVAL from dual; increase value by some 10000 etc...... alter sequence max...