SQL to get Ordered, Shipped, Cancelled and Open Quantity for a Sales Order Line
Hello
Can anyone help with a SQL to get Ordered, Shipped, Cancelled and Open Quantity for a Sales Order Line considering - one sales order line can have split lines and multiple shipments.
If anyone has it, please share it as we are getting some issues in case of Split Lines and Multiple Shipments.
Thanks