Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Import data entity x++

(0) ShareShare
ReportReport
Posted on by 163
I created a data entity that contain two tables manpower header and manpower lines with relation between them .
but data entity exported well but I got an error while importing .
when I tried to import 1 line exported done but updating data only not inserting new data .
this is my entity and tables relation 
//
//
//
 
//
//
 
  • Martin Dráb Profile Picture
    Martin Dráb 230,994 Most Valuable Professional on at
    Import data entity x++
    You're talking about a wrong table and index. The problem occurs already when inserting data to the staging table (CFM_ManPowerStaging). Your data violates the uniqueness of StagingIdx index.
  • Menna Allah Ahmed Profile Picture
    Menna Allah Ahmed 163 on at
    Import data entity x++
    Hello Martin ,
    No it doesn't same thread the first is about composite entity but its a normal entity I got an error on both so I ask about them .
    data is exported well so what's wrong in my entities or relations between tables .
    my index in header table (project Id and service type) when it inserted again it should update on them why I got an error also lines fields doesn't insert it updated value on one line and doesn't allow me to import multi lines without this error
  • Martin Dráb Profile Picture
    Martin Dráb 230,994 Most Valuable Professional on at
    Import data entity x++
    The error says that you're trying to import with the same values of the primary index of the staging table (CFM_ManPowerStaging). Please verify that you've used the right fields in the index and then review the data you're importing.
  • Martin Dráb Profile Picture
    Martin Dráb 230,994 Most Valuable Professional on at
    Import data entity x++
    It seems similar to your other thread, create a composite entity x++. If you have a different question, does it mean that the other thread was answered and you require no more assistance there? Please note that you neither replied to us nor verified an answer.
     
    If the purpose of this thread is adding information missing in your previous thread, you should have added there. If it's the case, unfortunately this new site doesn't allow me to merge threads, therefore we should move the discussion here. You should add a reply to your old thread with a link to the new one.
     
    By the way, why did you add "x++" to the title of both threads? They don't seem to be about X++ at all.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,234 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans