Creating One-Time Address using X++ in AX 2012 R3 - Folio3 Dynamics Services
From July 9th till 13th we will be at #MSInspire. See you there!

Creating One-Time Address using X++ in AX 2012 R3

Creating One-Time Address using X++ in AX 2012 R3
14 Apr 2017

Creating One-Time Address for the Sales order can be useful in Microsoft Dynamics AX 2012 R3 if you have to link the Postal Address only with the Sales Order and not with the customer. This Address will not be added in the Customer Address book.

F3ComAxPostalAddressDocument is the document class for postal address. First we have to map the values with LogisticsPostalAddress and create record in the table. Here is the code for that:


This function will create records in the table and returns the RecId of LogisticsPostalAddress. Now you have to insert this id in the SalesTable, so it will create relation between SalesTable and LogisticsPostalAddress.


This will create the postal address for that specific sales order and this address will not be added in the address book of the customer.


Muhammad Saqib

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest From Our Blog

5 Reasons You Need to Change Your ERP Today!

Omnichannel Ebook
August 3, 2018
It takes an external point of view or a business operational crisis to drive the organization to change. A good business, however, pose a timely im...
Read more

8 Key Benefits of Upgrading from Dynamics AX to...

Omnichannel Ebook
June 29, 2018
There has been a lot of buzz in the market about Microsoft Dynamics 365, the incredible solutions it offers and their benefits. In this blog, you w...
Read more

Dynamics for Retail: Hardware Peripherals Requi...

Omnichannel Ebook
June 1, 2018
Introduction This document outlines the core concepts that are related to retail peripherals. To support the widest selection of devices across man...
Read more
Contact Form