In my wonderings through the ofbiz code, I have noted that availableToPromiseTotal for items on an order is not reduced until createOrder is called. I expected availableToPromiseTotal to be reduced (assuming there was any) when the "Add To Order" button was pressed.
This means that if there are 10 people using your system and 5 want the same product which has 3 in stock, all 5 will show AOH=3 when they press Add to Order, but two will get their order rejected when the order is processed. This is easy enough to change, but I wondered why it was done this way in case I am missing something. Skip