A sales order is created for several items that don't have full stock, so the sales order reserves some quantities and the remaining are "On order".
The reservation transitions will be: 10 kg reserved and 5 kg on order.
My current solution: To go on each line of the sales order and update the reservation from 10 kg to 15 kg.
My question: How can I regenerate the reservation on the total sales order to reserve the remaining quantities, knowing that each sales order can have more than 50 lines?