Notifications
Announcements
No record found.
Hi all,
How I will get CUSTOMER " DELIVERY address " through code in AX 2012 R3
Please give me more shed on this
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.
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'.
Please have a look at the custtable.mcrDefaultDeliveryPostalAddress() method on the custTable.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader