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