web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Default location code Vendor - Purchase order line

(0) ShareShare
ReportReport
Posted on by 45

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.

*This post is locked for comments

I have the same question (0)
  • Blackdiamond Profile Picture
    45 on at

    Anyone?

  • Suggested answer
    4BzSoftware Profile Picture
    6,073 on at

    Hi Black Diamond,

    It seems that system took Location from Responsibility Center (RC) over Location Code on Vendor master data. Did you try to change to another RC (with different Location from Red)?

    Debug may help you find out. I think it is in "Buy-from Vendor No. - OnValidate()" trigger.

  • Verified answer
    Blackdiamond Profile Picture
    45 on at

    Hi Khoa Nguyen,

    Thanks for your response I have tried different sceneries to solve this issue including what you suggested before I posted my concern.

    I have now realized after consolidated with one of my senior developer, that it is a code thing in NAV 2017 CU 10 Tabel 38.

    If you create a purchase order from Purchase orders window page 9307 it won't work. If you create purchase order from Vendor list page 27, then it will work.

    This is the only information I could get from the Developer.

    Thanks for your help

  • 4BzSoftware Profile Picture
    6,073 on at

    Hi Black Diamond,

    You're welcome, and thanks for your information!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans