Default location code Vendor - Purchase order line

Blackdiamond
Member Posts: 29
Hi,
I am trying to practise default locations in NAV 2017
These are the priorities according to NAV theory.
1st priority - Customer / Vendor Card
2nd priority - Responsibility Center Card
3rd priority - Company Information Card
My example:
Vendor 10000 Location code: Yellow and Responsibility center: Copenhagen (Location Red)
Company information: Blue
Inventory setup; Location Mandatory: No
Now I create a purchase order to Vendor 10000 and see location Code: Red in header. Why is that? What am I missing? According to theory I should inherit location code from
Vendor Card and not location from Responsibility center.
Please advice.
I am trying to practise default locations in NAV 2017
These are the priorities according to NAV theory.
1st priority - Customer / Vendor Card
2nd priority - Responsibility Center Card
3rd priority - Company Information Card
My example:
Vendor 10000 Location code: Yellow and Responsibility center: Copenhagen (Location Red)
Company information: Blue
Inventory setup; Location Mandatory: No
Now I create a purchase order to Vendor 10000 and see location Code: Red in header. Why is that? What am I missing? According to theory I should inherit location code from
Vendor Card and not location from Responsibility center.
Please advice.
0
Best Answer
-
@Kishorm - I tried to debug but it is advance for me since I am not a developer.
After consolidating with a senior consultant I did following:
If I create purchase order from Purchase order window page 9307, then the correct location code from vendor won't appear. I could see the value from Vendor card is there but during the process it is "null".
If I create purchase order from Vendor List page 27, then it works perfectly.
It seems like Microsoft have a bug in their code. I am using NAV 2017 CU10.0
Answers
-
Anyone0
-
It could be caused by some bespoke code added. Best way to find out why this is happening is to put a breakpoint on the "Location Code" OnValidate on Table 38 "Purchase Header" and then create a new Purchase Order with the debugger activated - then you'll be able to see at what point it's being set to RED.0
-
@Kishorm - I tried to debug but it is advance for me since I am not a developer.
After consolidating with a senior consultant I did following:
If I create purchase order from Purchase order window page 9307, then the correct location code from vendor won't appear. I could see the value from Vendor card is there but during the process it is "null".
If I create purchase order from Vendor List page 27, then it works perfectly.
It seems like Microsoft have a bug in their code. I am using NAV 2017 CU10.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions