tag:blogger.com,1999:blog-2002636098451095610.post570028178551924441..comments2023-12-22T11:14:03.004+01:00Comments on IBM Maximo Customization and Development: Quering and fetching MBOsBrunohttp://www.blogger.com/profile/13748160755424198810noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-2002636098451095610.post-14188963349258259762019-04-16T08:08:46.945+02:002019-04-16T08:08:46.945+02:00Hello, Bruno!
Can you help me?
There is no info...Hello, Bruno! <br />Can you help me? <br />There is no information about how to create mbo in Automation Script. Can you say how to do this?Leonahttps://www.blogger.com/profile/14689814644682786092noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-73539674001693177672017-07-19T15:29:11.611+02:002017-07-19T15:29:11.611+02:00Hello Wakeel. I can see a ClassNotFoundException. ...Hello Wakeel. I can see a ClassNotFoundException. Did you import the necessary package? i.e. import psdi.mbo.MboSetRemote kenhttps://www.blogger.com/profile/00717579554780509182noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-74569512353255176802017-03-22T15:35:43.048+01:002017-03-22T15:35:43.048+01:00Hi Bruno
I got problem this code:
MboSetRemote a...Hi Bruno<br />I got problem this code:<br /> MboSetRemote assetMboSet = session.getMboSet("ASSET");<br />and appear on Console:<br />Exception in thread "main" psdi.util.MXSystemException: system#remoteexception<br /> at psdi.util.RMISession.getMboSet(RMISession.java:358)<br /> at com.maximodev.MxRemoteConnection.main(MxRemoteConnection.java:26)<br />Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: <br /> java.lang.ClassNotFoundException: psdi.plusg.app.asset.PlusGAssetSet_Stub (no security manager: RMI class loader disabled)<br /> at sun.rmi.server.UnicastRef.invoke(Unknown Source)<br /> at psdi.server.MXServer_Stub.getMboSet(Unknown Source)<br /> at psdi.util.RMISession.getMboSet(RMISession.java:350)<br />What is mean the problem above and solve the problem?<br />Thank you...Anonymoushttps://www.blogger.com/profile/09433612068105561518noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-8077863330054949622014-06-02T13:30:26.073+02:002014-06-02T13:30:26.073+02:00i need a mbo customization.give me the best links ...i need a mbo customization.give me the best links iam lerner.....i dont know java please give me best articles,,,,,,,,<br />Anonymoushttps://www.blogger.com/profile/06761239680356548723noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-40280972322989230652014-06-02T13:27:54.185+02:002014-06-02T13:27:54.185+02:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/06761239680356548723noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-12787883282217808602013-09-27T16:34:11.924+02:002013-09-27T16:34:11.924+02:00Hi Bruno,
Is there anyway to limit the resultset ...Hi Bruno,<br /><br />Is there anyway to limit the resultset returned when we do query with MboSetRemote? For instance I have an ASSET table with more than 50,000 records and I want to limit the number of results returned, eg records from row 5000 to 5500.<br /><br />MboSetRemote assetSet = getMboSet("ASSET");<br />MboRemote asset = assetSet.getMbo(j);<br /><br />This will hit MXApplicationException fetchStop exception if j is too large (value). Thanks!Anonymoushttps://www.blogger.com/profile/11784526787601915950noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-11024431584692231762013-01-10T18:55:56.107+01:002013-01-10T18:55:56.107+01:00you should probably use Qbe (mySet.setQbe("AS...you should probably use Qbe (mySet.setQbe("ASSETNUM","1001") instead of hand-formatted whereClause.<br />If you need more advanced whereClause, I suggest you to use SqlFormat object.horfeehttps://www.blogger.com/profile/08528693535123737270noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-64131787463931199992012-12-07T11:51:29.982+01:002012-12-07T11:51:29.982+01:00If you are into an AppBean class you should be abl...If you are into an AppBean class you should be able to do something like that:<br />DataBean databean = app.getDataBean();<br />int currrow = databean.getCurrentRow();<br />String where = databean.getAppWhere();Brunohttps://www.blogger.com/profile/13748160755424198810noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-31529847376243295362012-12-04T21:20:18.186+01:002012-12-04T21:20:18.186+01:00Hey Bruno...do you know the Code to get the curren...Hey Bruno...do you know the Code to get the current set based on the query that was entered on the search screen?<br /><br />I've tried getMboSet() but that just gives me all the records in the entire WORKORDER application. I'm doing this in a Bean ClassAnonymoushttps://www.blogger.com/profile/16948707316313197877noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-7190927936872773992012-11-21T20:23:57.424+01:002012-11-21T20:23:57.424+01:00You are right, there is a more elegant solution to...You are right, there is a more elegant solution to loop through an MboSet.<br />However, in basic articles like this, I prefer to use this method that can be simpler for people who don't know Java very well.<br />It seems you are reading my blog very well ;-)<br />You are welcome.<br /> BrunoBrunohttps://www.blogger.com/profile/13748160755424198810noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-11413030259019862052012-11-21T17:49:25.131+01:002012-11-21T17:49:25.131+01:00Just one question: Why don't you use the "...Just one question: Why don't you use the "best solution" without an "i" like said in your article "Best way to loop through an MboSet"? ;-)<br /><br />P.J.Anonymoushttps://www.blogger.com/profile/09391155386654833990noreply@blogger.com