Sales order Web hook double up
We have a customer that is getting double up on web hooks for sales order namely you get a create and update when an order is created.
I believe the issue is arising because there is a customisation that asks the user on the creation of the order if they want to automatically print the picking slip.
The only way I can think of to short circuit this would be to set a flag in the generic object list on the print event of the sales order or in the customisation code and then short circuit the event firing that sends the hook and remove the flag and bail out before sending the hook.
Is there an easier way to overcome this?
I believe the issue is arising because there is a customisation that asks the user on the creation of the order if they want to automatically print the picking slip.
The only way I can think of to short circuit this would be to set a flag in the generic object list on the print event of the sales order or in the customisation code and then short circuit the event firing that sends the hook and remove the flag and bail out before sending the hook.
Is there an easier way to overcome this?