Stock quantity adjustments from within a sale shipment

Please see document link: Stock adjustments from within a sale