Skip to main content

Notifications

Microsoft Dynamics AX (Archived)
Suggested answer

Mass Delete of Customer Orders AX2009

Posted on by 65

Hi,

I Need to delete 1500 customer orders from AX 2009

They are all at an open status and have no attached transactions, so deleting them one at a time is not issue, apart from the time required.

I have seen how you can select multiple orders and hit the delete, but it comes up with a warning on each order to ask "Do you want to delete the lines". I can click past this but would have to do so 1500 times.

Is they any way of surpressing this warning message ?

Thanks Rob

*This post is locked for comments

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 229,918 Most Valuable Professional on at
    Re: Mass Delete of Customer Orders AX2009

    If you mean You are about to delete a record in Order lines. Delete record? dialog, you can configure it in Tools > Options..., tab Confirmation.

    But you probably mean Delete order lines? dialog and I'm afraid it's shown every time when sales order is being deleted from form. It would be better to write a simple script to delete the orders, if you can specify criteria for it. Or you could adjust when the dialog is shown (in class SalesTableType, method validateDelete()).

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans