Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Importing customer with 2 address using DMF

Posted on by 2,110

How to import customer with Shipping address and Billing address using Data Migration Framework in AX 2012 R3.

Presently, we are importing customer with shipping address only.

*This post is locked for comments

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,134 Super User 2024 Season 2 on at
    RE: Importing customer with 2 address using DMF

    Hi Abhishek,

    It would be possible to customize the Customer entity to achieve your requirement.

    You need to duplicate the address fields and also copy and adjust the generatePostalAddress method on the class DMFCustomerEntity to map the new staging fields. Also you need to mention the new generate....Address method in the method getReturn fields.

    As you are on R3, you don't have to add fields to a fieldgroup for the generate method. That was required for R2.

  • abhishek1611 Profile Picture
    abhishek1611 2,110 on at
    RE: Importing customer with 2 address using DMF

    In our scenario we receive the .csv file from external system on daily basis, it contains the fields/column like "Customer account/Customer name / ShipCity / ShipState / ShipZipCode / InvoiceCity / InvoiceState / InvoiceZipCode.

    Is it possible To use both "Customer address" and "customer" entity at the same time in one shot.

    Please explain in detail how to get this functionality, without changing in the External system CSV file.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,134 Super User 2024 Season 2 on at
    RE: Importing customer with 2 address using DMF

    Hi Abhishek,

    You can use the Customer address entity to import multiple addresses.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans