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 ].

weblogic windows JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: Failed to lock cwallet.sso.lck

Working With File Throgh WebUtill