Hi all,
How I will get CUSTOMER " DELIVERY address " through code in AX 2012 R3
Please give me more shed on this
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,
Please have a look at the custtable.mcrDefaultDeliveryPostalAddress() method on the custTable.
Please refer following for the same,
This is get customer address by address type.
if you are looking to get the delivery address on sales order, you can use 'deliveryAddress()' or 'deliveryAddressing()' methods on 'SalesTable'.
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.
André Arnaud de Cal...
293,027
Super User 2025 Season 1
Martin Dráb
231,852
Most Valuable Professional
nmaenpaa
101,156
Moderator