Skip to Content
0
Former Member
Mar 26, 2011 at 06:42 PM

How to save the value while saving the doc ?

16 Views

Hi

I created an extended field in Rfx page . I am taking the page to edit mode and changing some value and that value is to be set to the extended field . I want to set this value while clicking the save button.For this I created a document life cycle event and target as SAVE.

But while clicking the save button the following error is appearing

"Your Rfx has been changed by the <logged in user> and can not be saved. Please discard the changes and reload the page again"

For saving I am using the following code-

doc.getExtensionField("year1").set(start_date_year" ""/"" "calc);

doc.getIBeanHomeIfc().save(doc);

Regards

Sudipta