Apply Global Discount on Sale order and Invoice.
Order Line, Allotment Partner, Shipment
Separate the shipment according to allotment partner