If inventory position is already above S, the order quantity is capped at zero.
High position
The high-position example has position 25.
position=25
Above S
That position is above the order-up-to level.
position>S=23
Zero cap
Do not order a negative amount; order quantity is 0.