Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How I will get CUSTOMER " DELIVERY address " through code

(0) ShareShare
ReportReport
Posted on by 6

Hi all,

How I will get CUSTOMER " DELIVERY address " through code in AX 2012 R3

Please give me more shed on this 

  • WillWU Profile Picture
    22,352 on at
    RE: How I will get CUSTOMER " DELIVERY address " through code

    Hi @rp@n,

    Please have a look at the custtable.mcrDefaultDeliveryPostalAddress() method on the custTable.

  • Suggested answer
    Vishal Dhavgaye Profile Picture
    405 on at
    RE: How I will get CUSTOMER " DELIVERY address " through code

    Please refer following for the same,

    This is get customer address by address type.

    https://community.dynamics.com/365/financeandoperations/b/365finopsknowledge/posts/get-customer-address-by-type-in-dynamics-ax-d365-f-o-x 

    if you are looking to get the delivery address on sales order, you can use 'deliveryAddress()' or 'deliveryAddressing()' methods on 'SalesTable'.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    293,027 Super User 2025 Season 1 on at
    RE: How I will get CUSTOMER " DELIVERY address " through code

    Hi @rp@n,

    The addresses are stored in the table LogisticsPostalAddress. This is linked to the DirPartyTable via a location in the LogisticsLocation table. The DirPartyTable is the global address book record which is linked to a legal entity or a customer.

    If you want to know the delivery address, you can link the LogisticsPostalAddress with the table DirPartyLocationRole and then LogisticsLocationRole which contains the values for the address purposes.

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... 293,027 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,852 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans