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 :
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.

I have the same question (1)
  • Verified answer
    Martin Dráb Profile Picture
    236,316 Most Valuable Professional on at
    RE: Customer masterdata importing using customer v3 data entity in d365

    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
    RE: Customer masterdata importing using customer v3 data entity in d365

    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
    RE: Customer masterdata importing using customer v3 data entity in d365

    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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,157

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 883 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 674 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans