When we try to delete a line on a purchase order, we receive the following message:
An attempt was made to change an old version of a Purchase Line record. The record should first be reread from the database. This is a programming error.
Indentification fields and values:
Document type='Order',Document No.='BC00000194', Line No.='10000'
*This post is locked for comments
hi,
some checks:
- restart middle tiers,
- after, try to delete order line from table and after from page. the error is the same ?
if yes, start debugger and try to catch error from debugger deleting data directly from table instead of page
it's a phantom read or undeleted data detection i think
look at these statements in debugger mode
IF No.<>'' THEN
Modify(True);
FIND;
MODIFY(TRUE);
COMMIT:
etc. etc.
look at this post about order release function (with same error), might be useful
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156