web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Error message trying to delete a line on a purchase order in NAV 2013.

(0) ShareShare
ReportReport
Posted on by

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)
  • Verified answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    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

    dynamicsuser.net/.../66924.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans