Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

DIEF / DMF Error when importing customers and vendors

Posted on by Microsoft Employee

When trying to import customers and vendors using the standard entities I get the error "Error inserting address".

The error is thrown in class method DMFLogisticsAddressHelper.GeneratePostalAddressGlobal and is caused by the field Location not being set. The field value in Location originates from the earlier creation of a LogisticsLocation record which is used for creating the address

AX tries to lookup the address but finds nothing.

I have tried both in a new legal entity in contoso and in a demo entity with the same result.

Any help will be appreciated!

*This post is locked for comments

  • RE: DIEF / DMF Error when importing customers and vendors

    As Rajkumar says, check CountryRegionId, if you don't provide a valid CountryRegionId, you get that error, you can't leave that field empty.

  • Suggested answer
    grajkumarmscax Profile Picture
    grajkumarmscax 720 on at
    RE: DIEF / DMF Error when importing customers and vendors

    HI,

    Check your CountryRegionId feild values in your source file.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,253 Super User 2024 Season 2 on at
    RE: DIEF / DMF Error when importing customers and vendors

    Hi Karsten,

    Did you provide any address fields in the source? Did you setup the number sequence for the LocationId? You can check this by using the List page for number sequences. Then filter on Area 'Address book' and Reference 'Location ID'.

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans