Cannot edit a record error

Hello guys ,

Cannot edit a record in (PurchTable).
The values displayed in the form are not current, so an update or deletion cannot be made. To view the current values, on the Command menu, click Restore or press CTRL+F5.

I am acrosses this problem in frequently.I search on internet it says I should write update and reread the table.Is it true?

Have you ever seen this problem?Do you know the main reason about this problem and How should i solve it?

It is natural, if multiple users/processes are updating the same record same time. Only one will update the record, others will fail. The reason and solution will depend on how the error is generated? Please provide us the details of it.

in all purchase order form ,when i try to change inventlocation field and save,this problem shows up.

So you are only the user changing it? Does it happens for all purchase orders?
Is there a custom code that is triggering while modifying the inventLocationId?

Is it an intercompany order?

It shouldn’t error though(in single user case) even in intercompany case, the code handles the updates.

yes Only user changing and only when changing inventlocation?

no it is not.

normally yes,but I do not know why its throws do you have any suggestion?

This could be a code issue. Please try to Debug.