This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Refreshing the client after updating metadata through VAF

Hello there,

I have the Purchase Request object and the Purchase Request Lines as sub object, when adding the Lines the user select Quantity and Unit Price then Line Ex GST, Line GST and Line Inc GST is getting auto calculated and in the AfterCreateNewObjectFinalize event I'm updating the parent Purchase Request totals by searching all the lines and doing a sum of all line values.

My issue is, once I close the Add Purchase Request Lines window and get back to the parent Purchase Request, the parent is in a Older version, before the check-in made in the VAF to update the totals, so I get the "There is a newer version of this object on the server." message when I try to change the workflow state to proceed in the workflow.

I know I can manually hit refresh and then change the workflow state, but is there a way to do it automatically?

Regards,

Rod

Parents Reply Children