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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Customer masterdata importing using customer v3 data entity in d365

(0) ShareShare
ReportReport
Posted on by 70

trying to import customer master data using Customers v3 entity in d365. while importing customer account need to be auto generated.

when i try to import customer master using excel with single line of data  is getting imported. in that customer account is auto generated successfully.

but when i try to import multiple lines the following error occurs. 

Failed to insert record into staging table. The keys of the record are CUSTOMERACCOUNT, DEFINITIONGROUP, EXECUTIONID, PARTITION. Duplicate records must be removed from the file prior to import.-The duplicate key value is (5637144576,in xxxfile)
'0' 'Customers V3' record(s) inserted in staging.

1. need to know because of customer account auto generation the above error occurs.

2. someone give me solution how to import customer master data with customer account auto generation.

  • Verified answer
    Martin Dráb Profile Picture
    241,353 Most Valuable Professional on at

    Have you set up the field as auto-generated in the mapping of your import project?

  • Verified answer
    Sumit Loya Profile Picture
    2,230 on at

    Hi Ram,

    The logic to generate the customer account number for number sequence is written in Data Entity and is executed during Staging to Target process.

    But CustomerAccount is also part of Unique key in staging so system will not allow more than one record with blank CustomerAccount field if you are using Data Management to import customers.

    I believe this option is more while creating data through OData Entity. Either you need to use Auto generate option on the mapping for CustomerAccount or you need to specify the Customer account numbers in the file while importing itself.

  • ram_ind Profile Picture
    70 on at

    Thanks Guys for the suggestion.

    in the mapping visualization i have added the customer account filed and marked as auto generated now its working fine and am able to import

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 539 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 431 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 184

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans