Skip to main content

Notifications

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
    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
    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
    1,339 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
    on at
    RE: Get back deleted sales order - AX 2012

    Got it Thank you !!!

  • Suggested answer
    Guy Terry Profile Picture
    28,695 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
    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
    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
    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
    294,217 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
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans