order should not close if there is no stock
we want to have restriction on the closing of the order if there is no stock. Right now our setup for oracle order management is like this that
order becomes close inside the order (without pick release/shipping) according to the setup. My issue is this in such scenario of there will be no stock order
will be closed and transactions will stuck in interface table(inventory) in case of no stock and show error negative balance is not allowed. But in such case
I want that order should not closed and did not enter in interface table if no stock is there. How can I done that?