
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
I have the same question (0)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()).