Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)
Suggested answer

Mass Delete of Customer Orders AX2009

(0) ShareShare
ReportReport
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 230,445 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans