
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
I have the same question (0)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