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
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()).
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156