Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Mapping of delivery address in Sales order

(0) ShareShare
ReportReport
Posted on by 4

Hi,

We've the primary address for the customer but when we create the Sales order it is not taking the primary address and instead it's fetching the address that is mapped to 'Delivery' purpose.Is it the standard process and where exactly we need to debug the see the logic behind this process ?

*This post is locked for comments

  • André Arnaud de Calavon Profile Picture
    292,865 Super User 2025 Season 1 on at
    RE: Mapping of delivery address in Sales order

    Hi ax200nine,

    I have never tried to change this logic. So, debugging or the Trace parser should provide information what exactly is being used. But why do you want to change the standard behavior?

  • VV-22040800-0 Profile Picture
    4 on at
    RE: Mapping of delivery address in Sales order

    Hi All,

    Any input for the above thread ?

  • VV-22040800-0 Profile Picture
    4 on at
    RE: Mapping of delivery address in Sales order

    Hi Andre,

    Thanks for your response.can anyone help me on where exactly we need to look this logic,when debugging it's calling the class-LogisticsLocationEntity.findlocation() and it is also fetching the address in 'Dirutility.replaceaddresstoken()' but not clear how it's mapping the address against the 'Delivery' purpose

  • André Arnaud de Calavon Profile Picture
    292,865 Super User 2025 Season 1 on at
    RE: Mapping of delivery address in Sales order

    Hi AX200nine,

    If you do have an address with the delivery purpose, then this has more priority over the primary address. The primary address is used in case when you don't have a specific delivery address setup.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans