aashish
Newbie
Karma: 0
Posts: 4
|
 |
« on: December 09, 2010, 06:24:18 am » |
|
Hi Frns , I am also trying to same concept , bt my problem is with mbosetremote ....its nt fetching value at "itemcost" field ..value is coming only zero evrytime... Pls Sugggest me.. ============================================================================== SqlFormat sqlf2 = new SqlFormat("1=2"); Mbo mbo=getMboValue().getMbo(); MboRemote mboremote = mbo.getOwner(); //owner is Asset MboSetRemote ttcost = mboremote.getMboSet("$client", "CLIENT", sqlf2.format()); if(mbo != null ) { double assetcost=mboremote.getDouble("totalitemcost"); double displayitemcost=mboremote.getDouble("itemcost"); // nt fetching value,alws coming 0 value double totalcost=ttcost.sum("itemcost"); // nt fetching value,alws coming 0 value double diffcost=Math.abs(assetcost-totalcost); Object param[] = { diffcost }; ================================================================================================
|