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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Error - The sales order cannot be deleted because related not posted transactions exist.

(0) ShareShare
ReportReport
Posted on by

Hi All,

I'm getting an error while deleting a sales order saying "The sales order cannot be deleted because related not posted transactions exist".

The sales order does not have any order line (and no picking route etc). It's a blank order.

pastedimage1591375977006v1.png

Tried cancelling the order as well, but no luck. Neither system throws any error or cancels the order.

I also came across this post as suggestion while raising this issue, but I could not find the order in Invoice history (Sales ledger > Inquiries and reports > Invoices > Invoice history)

https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/25845/the-sales-order-cannot-be-deleted-because-related-not-posted-transactions-exist/566982#566982

Has anyone come across this issue? How to I delete this order?

I have the same question (0)
  • Verified answer
    P.k.Kaushik Profile Picture
    1,031 on at

    Hello,

    Please go To Sales and Marketing >> Inquiries and reports >> Order posting >> Sales order confirmation

    pastedimage1591379301563v1.png

    Filter by the sales order you want to delete

    pastedimage1591379363079v2.png

    Check if there is a record for which job status is waiting or executing

    If you found the record, Select the row and press Alt+F9

    System will prompt you to delete the record. >> hit yes

    pastedimage1591379446501v3.png

    Try to delete the Sales order. 

    Please try the steps in Test environment

    Thanks, Kaushik

    This post is my own opinion and does not necessarily reflect the opinion or view of my company or Microsoft.

    P.S:- Please mark the answer as verified if it heps you in resolving the issue.

  • SnehaS Profile Picture
    on at

    Thanks a lot Kaushik, it worked.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 284 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 178 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 116 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans