Trying to write a report that shows Sales Order line items and any Work Orders that have been created for them. I thought I had it when I joined these tables:
SO_SalesOrderDetail to WO1_WorkOrderMaster on SO.SalesOrderNo = WO.MakeForOrderNumber and SO.LineKey = WO.SOLineIndex
But apparently a line index is not the same thing as a line key. I believe the line key is a unique number assigned at entry that never changes, while the index is just its current position. The line key field doesn't appear to be in the WO1_WorkOrderMaster table. I do see it in the WO_WorkOrder table but that seems to be an empty file. Adding Item Code and Qty would not be unique enough because sometimes we have multiple lines for same item/qty in one order.
Is this even possible? I really hope so and I'd greatly appreciate your help!
Thank you!