web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

DIEF / DMF Error when importing customers and vendors

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,721 Super User 2025 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'.

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

    HI,

    Check your CountryRegionId feild values in your source file.

  • Mariano Gracia Profile Picture
    on at
    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans