Thursday, July 13, 2017

Create a Row and Generate Sequence in OAF

//Initialise the VO Object
OADBTransaction trans = getOADBTransaction();
//Execute VO
vo.ExecuteQuery();

Row row = vo.createRow();
vo.insertRow(row);

String eno= trans.getSequenceValue("emp_s").toString();

vo.getCurrentrow().setAttribute("Empno",eno);

No comments:

Post a Comment