How to change row state

Some time you need to change the row status to be NEW instead on initalized


 ViewRowImpl row  = null;
    DCIteratorBinding  itr = ADFUtils.findIterator("DocTransHdrViewIterator");
 ViewObjectImpl vo = (ViewObjectImpl) itr.getViewObject();
 row = (ViewRowImpl) vo.createRow();
 row.setNewRowState(Row.STATUS_NEW);

Comments

Popular posts from this blog

Another user has changed the row with primary key oracle.jbo.Key[12 ].

Working With File Throgh WebUtill

Reading From File