Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Get back deleted sales order - AX 2012

(0) ShareShare
ReportReport
Posted on by 2,565
Hello Sir/Madame, Users deleted an invoiced Sales Order, how to get it back, I cannot find this deleted SO anywhere. (after this happens, I just turn on option to BLOCK deleting invoice Sales Order) Thank you so much for your help!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Get back deleted sales order - AX 2012

    you can see who deleted (or created/updated) a sales order using the Transaction log (Sales and marketing/Inquiries/Transaction log) even after it has been deleted. 

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,614 User Group Leader on at
    RE: Get back deleted sales order - AX 2012

    Hi Muhammad Yousaf,

    you can enable 'Created by' for table SalesTableDelete

    Note: this will work only for future records

  • Muhammad Yousaf Profile Picture
    Muhammad Yousaf 1,337 on at
    RE: Get back deleted sales order - AX 2012

    And how to know about the user, who deleted that sales order, is there way

    i can see all voided sales orders, but what about the user information, we need to know who deleted that sales order

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Get back deleted sales order - AX 2012

    Got it Thank you !!!

  • Suggested answer
    Guy Terry Profile Picture
    Guy Terry 28,684 Super User 2025 Season 1 on at
    RE: Get back deleted sales order - AX 2012

    Hi Anna,

    To stop users manually deleting invoiced sales orders, you'd want to look at the 'Safety level of invoiced orders' parameter, which you can see in Sohaib's screenshot above.

  • Suggested answer
    Sohaib Cheema Profile Picture
    Sohaib Cheema 46,614 User Group Leader on at
    RE: Get back deleted sales order - AX 2012

    Hello Anna,

    kindly uncheck following parameter:-

    Accounts receivable parameters >>Updates>> Invoice >> Delete order after invoicing

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Get back deleted sales order - AX 2012

    Hi Paul,

    where is the option to BLOCK deleting invoiced Sales Order?

    Thanks

    Anna

  • Suggested answer
    vnpeace Profile Picture
    vnpeace 2,565 on at
    RE: Get back deleted sales order - AX 2012

    Thank you DAN & ANDRE!

    I did turn on the option "Mark Order As Voided" and I can now find it in the Voided Sales Order form.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,492 Super User 2025 Season 1 on at
    RE: Get back deleted sales order - AX 2012

    Hi Paul,

    If the parameter 'Mark order as voided' is enabled in the Accounts receivable parameters, you can find the deleted order in the form as mentioned by Dan.

    But there is no functional support to get the sales order back in the original tables.

    In fact the history tables contains sent Confirmations, Packing slips and Invoices. Standard AX does not have then need to keep the orders in the system forever. It is possible (and recommended) to clean up older Sales orders as the posted history is in the system.

  • Verified answer
    Dan Emreus Profile Picture
    Dan Emreus 1,162 on at
    RE: Get back deleted sales order - AX 2012

    Look in the form "Voided sales orders" that can be found under Sales and marketing/Inquiries/History/Vodided sales orders. I am not sure that you are able to get it back.

    /Dan

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans