vo.getattribute in oaf
In this post , We will discuss about vo.getattribute in oaf. vo.getattribute in oaf is uses to get the value of View Object Attribute or columns. Here below I will share the sample code for vo.getattribute in oaf in which we will get the value of the View Object columns.
Sample code of vo.getattribute in oaf
OAViewObject SupsVO = (OAViewObject)am.findViewObject(""XXSupLovVO1"");
if (SupsVO != null)
//Check for null
SupsVO.reset();
//It will take you to the first row of Vo
while ( SupsVO.hasNext())
{
XXXRowImpl currow = (xxxVORowImpl)SupsVO .next();
string firstAttr = currow.getAttribute("Attr1");
string NewValue = firstAttr + 'OAF';
currow.setAttribute("Sal", NewValue);
string SecondAttr =emacurrow.getAttributes("Attr2));
}
0 comments:
Post a Comment