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 :
Microsoft Dynamics AX (Archived)

Deleted Sales Orders

(0) ShareShare
ReportReport
Posted on by

I've had some sales orders that have been deleted and we're trying to figure out how to view them (or some version of them).  I've tried going to Sales & Marketing > Inquiries > History > Sales Orders > Deleted Orders but none of the deleted orders show up.  I've done some digging around and it appears that that particular form (SalesDeleteHistory) requires that the SalesParmTable.SalesBatch value be set to Delete.  None of this seems to be happening with the test orders that I've deleted.  They just seem to completely disappear.  There's not even a record of them in the SalesTableDelete table (I'm just assuming that there would be - judging from the name of the table).

Can someone explain the process of deleting a sales order (both in the UI and in the tables)?  Is there some blog or whitepaper with a good explanation of this process?  What am I missing here?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Shane,

    There is a parameter in within the accounts receivable called 'Mark order as voided'. If you have enabled this field, the deleted orders will be transferred towards the history table. Otherwise the sales order will just be deleted.

  • Community Member Profile Picture
    on at

    That worked perfectly.  Thank you!

  • Jimmy Wong Profile Picture
    5 on at

    It works. Thanks !

  • lally Profile Picture
    8 on at

    Does the functionality applicable to Purchase orders also ?

    If yes , what is the path to enable the functionality in AX 2012 R2 ?

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Lally,

    In AX2012 it is not applicable to the purchase orders. Older versions do have it. Microsoft had changed this because of the change management on purchase orders.

  • lally Profile Picture
    8 on at

    I have searched the AP & procurement modules , did not find the option .

    Thanks for the confirmation.

    Can you help me How to track the deleted purchase orders in AX 2012 R2 ?

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Lally,

    Eventually you can setup a database log for tracking deleted purchase orders.

  • Community Member Profile Picture
    on at

    Where at under accounts receivable is it? I looked everywhere and can't seem to find it.

  • Zoila Goñi Vera Profile Picture
    170 on at

    thank you =)

  • PrasitP. Profile Picture
    152 on at

    Hi Andre,

    I have the same issue and I try by your advice but it still not found data in Deleted orders.

    Could you have some advice for me.  Thank you very much.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans