Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Get back deleted sales order - AX 2012

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!
  • 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. 

  • sohaibcheema Profile Picture
    sohaibcheema 46,590 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
    GuyUK Profile Picture
    GuyUK 28,340 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
    sohaibcheema Profile Picture
    sohaibcheema 46,590 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... 283,632 Super User 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,150 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

Helpful resources

Quick Links

Can you answer this forum question?

You could make someone's day!

Community Newsletter - May 2024

Kudos to our community stars!

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,632 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 224,528 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans