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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Cannot insert duplicate key when importing projects DIXF

(0) ShareShare
ReportReport
Posted on by 555

Hi All,

I'm trying to import projects using DIXF & i already imported but i face issue when importing sub sub project like this one for example. : 

GA-PRJ-0000000001
GA-PRJ-0000000001-01
GA-PRJ-0000000001-01-01

 The error when get stagging data which is : "Error occurred while doing bulk copy from temp table to entity table-Violation of PRIMARY KEY constraint 'I_100488PROJECTIDX'. Cannot insert duplicate key in object "

Also, I am facing when updating field using Excel add-on saying Parent doesn't contain in format 

Help Please 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,053 Super User 2025 Season 2 on at

    Hi Noureldeen,

    Check the length of the number. The project number field in standard AX is maximum 20 characters. I believe the sub-sub number is over 20 characters.

  • Verified answer
    5400 Profile Picture
    7,162 on at

    First issue:

    It is very simple issue. Please clear your staging(DMFProjTableEntity) before doing this process. It should work.

    Project EDT length is 20 only. Please cross check your data also.

    Second issue: If you are doing through excel add-in - please provide the format for parent project which u have imported already.

  • Nour Desoki Profile Picture
    555 on at

    Hi Andrea & Bhaskar ,

    the first issue is solved..but second one don't understand what you want me to do?

    ProjID                                                              

    GA-PRJ-0000000001

    GA-PRJ-0000000001-01

    GA-PRJ-0000000001-01-01

    GA-PRJ-0000000001-03

    ParentID

    GA-PRJ-0000000001

    GA-PRJ-0000000001-01

    GA-PRJ-0000000001

    subproject format is -##

  • 5400 Profile Picture
    7,162 on at

    Format is define for parent projects. please check.

  • Nour Desoki Profile Picture
    555 on at

    it's all about lengh of ID.. Thanks everyone

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans