Forum Discussion
Former_Member
9 years agoAccelerator III
Hi All,
I excluded the "action=version" and tried to manually increment the revision using the below code, but it did not work.
Item newAff = affItem;
newAff.setID(affItem.getID());
newAff.setAttribute("select","new_item_rev");
newAff.setProperty("new_item_rev",string.Format("{0:00}", Int32.Parse(affItem.getProperty("affected_rev"))+1));
newAff = newAff.apply();
Can someone please help me in resolving the above Revision increment issue.
Thank you in advance!!
Regards,
Charita