Delete an order item without user confirmation

Hi,

I'm developing an Order Entry macro, by using "AccpacOE1100UICtrl" object.

This macro should be able to add an item and delete the item if the user selects a certain ship-to location.

I'm able to add the item, but when deleting the item, the Order Entry will prompt a confirmation to the user:

"Are you sure you want to delete this detail line?"

It's supposed to be an automation and the confirmation is not necessary.

What should I do to delete the detail item without trigger a prompt?

Thank you,

David

AccpacOE1100UICtrl