Maximo Wire - The IBM Maximo Help & Discussion Forum
May 24, 2012, 12:14:47 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to Maximo Wire, the IBM Maximo help forum. Feel free to register and ask any Maximo related questions you like.
 
  Home Help Search Login Register  
*
Pages: [1]   Go Down
  Print  
Author Topic: How to get list data which is not saved into custom java code  (Read 745 times)
0 Members and 3 Guests are viewing this topic.
Meher
Newbie
*

Karma: 0
Posts: 1


View Profile
« on: January 06, 2012, 03:46:01 am »

In Maximo application for work order module we see New Row button. On click of new row we create a record.Lets say we clicked 3 times new row.So it created three rows. How can we get these three records into custom code which are not saved in database.Please help us with snippet code.
Logged
kvnaresh
Newbie
*

Karma: 0
Posts: 11


View Profile
« Reply #1 on: February 08, 2012, 12:39:03 am »

Uncomitted data can be fetched in your class through relationship.
 
          getMboSet("<relationshipname>");
Logged
Dileep Kumar
Newbie
*

Karma: 0
Posts: 26


View Profile Email
« Reply #2 on: February 09, 2012, 05:47:49 am »

Hai

This is dileep kumar S........ I tried the below code it is working fine .....

This is the sample code which is used in custom code to get rows value( add row ) of any object.

MboSetRemote mboset=getMboSet("$relationshipname","objectname( workorder)","XID=:XID(where clause");
int rows=mboset.count();
for(int i=0;i<rows;i++)
    {
        MboRemote mbo=mboset.getMbo(i); // getting rows ( 0 , 1, 2 ,3 )    
   int quantity=mbo.getInt("XQUANTITY"); //getting attribute value
    }
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Recent

TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!