Skip to main content



No record found.

Business Central forum
Suggested answer

Orphaned order tracking lines

Posted on by 2
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?
  • Suggested answer
    Jun Wang Profile Picture
    Jun Wang 5,517 Super User 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. 
    Unless you find how to replicate the issue, it will be hard to further troubleshoot.
    Jun Wang
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 63,857 Super User 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.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/forums/thread/details/?threadid=%27nvOpzp;%20AND%201=1%20OR%20(%3C%27%22%3EiKO))," - Too many )'s.