Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Orphaned order tracking lines

(1) ShareShare
ReportReport
Posted on by 2
Hi, 
one of my customers reported the following issue.
He could not delete a purchase order because of the following error: /Reservation Entry does not exist. ... Entry no. = 665993, Positive = No/.
I immediately went in table 337 and serched for the Entry No. displayed in the message. I noticed that there was only 1 record. The entry had Reservation Status = Tracking, Positive = Yes.
 
The system is set up to not use order tracking, so i assumed (confirmed by the customer) that the order was generated via the requisition worksheet.
 
The problem here is: why there are orphaned order tracking lines? 
 
I noticed that the order had 5000+ lines, so the procedure must have run for al /long/ period of time. I'm not a dev, so i assume (maybe incorrectly) that in this case someone deleted a set of sales lines during the running time of the procedure, after the insert of the reservation entries and before the final commit (if the procedure works that way)?
 
Has someone had the same experience before?
 
Thanks,
 
Davide
 
  • Suggested answer
    Jun Wang Profile Picture
    7,624 Super User 2025 Season 1 on at
    Orphaned order tracking lines
    this is likely a data issue, I would find if any lines has been received/invoiced for this order. Then process the SO as normal, user don't have to delete it if they couldn't for some reason. 
     
    Alter
     
    Unless you find how to replicate the issue, it will be hard to further troubleshoot.
     
    Jun Wang
  • Suggested answer
    YUN ZHU Profile Picture
    78,733 Super User 2025 Season 1 on at
    Orphaned order tracking lines
    First about Reservation Status,

    Reservation: This is a reservation. Usually, the user has reserved this item for the order

    Tracking: The program has allocated the supply for this demand. The system only tracks if the Tracking Policy field on the item card is set to Tracking Only or Tracking & Action Msg., or during planning in the planning worksheet.

    Surplus: Surplus occurs in connection with tracking, for example, if the supply is not allocated to any demand, or the demand is not allocated to any supply.

    Prospect: Used for non-order network entities, e.g. item journal line, to carry item tracking.
     
     
    So is it possible that this is caused by the planning worksheet?
     
     
    Hope this can give you some hints.
    Thanks.
    ZHU

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans