Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Cannot delete Sales Order

Posted on by Microsoft Employee

I am trying to delete a Sales Order, but it keeps saying there is work tied to the order.  I look at the Work ID and all lines are cancelled.  The load will not delete cause it has work tied to it.  I am lost at where else I need to look.  This was the result of a Replenishment being cancelled incorrectly, so I am not sure if that is part of the problem as well?

*This post is locked for comments

  • Suggested answer
    RE: Cannot delete Sales Order

    Check the WorkCreatedQty field on the related LoadLines  - if it's > 0 for any of them, you'll need to update those (through a job or SQL) to 0, before you can delete the SO

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