Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

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

Posted on by Microsoft Employee

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

  • Verified answer
    Roberto Stefanetti Profile Picture
    Roberto Stefanetti 12,998 on at
    RE: Error message trying to delete a line on a purchase order in NAV 2013.

    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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans