Hi,
I am facing a issue with set a current row to the view object. Please give me suggestions.
My code is as below.
PurchaseOrderAppModuleImpl poAppModule =
(PurchaseOrderAppModuleImpl) BackingUtils.getApplicationModuleForDataControl("PurchaseOrderAppModuleDataControl");
EditPurchaseOrderViewRowImpl editorderRow =
EditPurchaseOrderViewRowImpl.getEditOrdercurrentRow();
ViewObjectImpl orderView = poAppModule.getEditPurchaseOrderView1 () ;
orderView.setCurrentRow(editorderRow);
LOGGER.info("Current Order " + editorderRow.getAttribute("DocumentName") + ----------------------> Required row in the view object(I have set this row as a current row.)
"Before" + poAppModule.getEditPurchaseOrderView1().getCurrentRow().getAttribute("DocumentName")); ----------------> Giving first row as current row.
Regards,
Manikanta