Updates availableQuantity based on the new quantityOnStock and amount of active reservations.
availableQuantity
quantityOnStock
Readonly
Value to set for quantityOnStock.
Updates
availableQuantity
based on the newquantityOnStock
and amount of active reservations.