Hello,
Looking for clarification.
On the sales orders and purchase orders, the system will put a default location code in based on the company info and user responsibility center.
I notice that there is nothing like this for production orders, which seems strange.
Is there any reason you see why I wouldn't default production orders to the main location?
- Reinhard
0
Answers
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
There is no code in the "Production Order" table that assigns a value to "Location Code" except when doing a Source Type of Sales Header.
On Manufacturing Setup, there is only a field called "Components at Location"
What I am after is to default the "Location Code" on the Production Order, so that when the user posts using the Production Journal, for example, the system will know where to post the output.
To be sure, I'm not having a problem, but I was just surprised that the system didn't automatically assign a Location like it did in other areas. I thought maybe I had missed some setup variable... figured I would ask before writing code!
This is what I have now, onInsert:
- Reinhard