I want to use the Planning Worksheet to create production orders based on Sales order demand.
When I do this, the production order has the Source type as Item.
Apparently, the planning worksheet will always default to Item rather than Sales Header. (I want the Sales Header).
I am using NAV 2013 and I have the items set to "Tracking & Action Msg".
I would either like to know how to change the Planing Worksheet so it defaults to the Sales Header (demand) and have the Sales Order Number showing
OR
(Using C/AL) Find a way to obtain the relevant Sales Header and Sales lines for the production Order and Production Order lines.
Note:
When I view the Production Order that was generated by the Planning Work Sheet, I can highlight the Prod Order line and select Functions->Order Tracking. This shows me the Sales Order that created the demand for the PO.
I need to be able to show the Sales Order details such as the Customer in a Route Card Report.
So, is there a Code Unit routine that I could call to get hold of the Sales Order ? (How does Order Tracking do it) ?
Dave K.