A delivery is created in relation to a schedule line in sales order.
We are creating a Z report to calculate on-time shipments.
We need to know when an item was shipped (we can use the goods issue date)
We need to know when the item was supposed to be shipped out (schedule line date)
Delivery document item data has reference to sales order number and item number, however NO way of finding out against which schedule line (if there are multiple) the delivery was made.
I've tried searching online but couldn't find a clear answer that didn't involve heavy development. This report is something I'd consider quite simple so there has to be a simpler approach.