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, ...
Unanswered

Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

(0) ShareShare
ReportReport
Posted on by 67

Hi all,

I'm trying to copy projects between legal entities, and I can't copy one in particular. I receive this error: Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

Any idea what could it be?

Thanks in advance

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,397 Super User 2025 Season 2 on at
    RE: Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

    Hi Rony,

    What exact procedure/functionality are you using to copy the projects?

  • Rony.rivero Profile Picture
    67 on at
    RE: Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

    Hi André,

    I'm using the "Copy into legal entity" functionality".

    Thanks

  • André Arnaud de Calavon Profile Picture
    299,397 Super User 2025 Season 2 on at
    RE: Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

    Hi Rony,

    I'm missing the information which exact data entity or entities you are using and if you copy into one or multiple legal entities at once.

    Is it only failing for one particular project or several or all projects?

  • Rony.rivero Profile Picture
    67 on at
    RE: Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

    Hi André, it happens only with a project... I was trying to copy Projects entity to one legal entity.

  • Gaurangkumar Jani Profile Picture
    4,514 User Group Leader on at
    RE: Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

    Hi Rony,

    Do you have any workflow with Hierarchy in Project?

    Thanks,

  • Rony.rivero Profile Picture
    67 on at
    RE: Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

    Hi Jani, not at all.

  • Cole Anderson Profile Picture
    10 on at
    RE: Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

    Did you ever find the solution to this? It seems like the system keeps trying to use the same Hierarchy ID number sequence while increasing the project ID number sequence. I've tried resetting/editing the number sequence to no avail.

  • YuriiRask Profile Picture
    7 on at
    RE: Cannot create a record in Hierarchies (Hierarchy). Hierarchy ID: XXXXXX The record already exists.

    yes its a number sequence issue - resetting pre-allocation (on/off) resolves this problem for any load scenario

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,028

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 579 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans