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 :
Microsoft Dynamics AX (Archived)

Creating a new record in table showing error?

(0) ShareShare
ReportReport
Posted on by 2,172

Hi all,

I tried to create a new record in dimensionAttributeValueCombination Table , But its showing error as "The record already exists". I urgently need to create one new record with the display value of "SD-0009700997". Also tried with update and insert method, no use same error. Please help me with this...

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,385 Most Valuable Professional on at

    If it already exists, what's the point in creating it again?

    What exactly are you doing?

  • Anand AX Profile Picture
    2,172 on at

    Hi Martin Drab,

    Thanks for the reply. Actually i am trying to create new record in dimensionAttributeValueCombination Table. But it is not allowing me to create a new record. Its always showing the error as "The record already exists"(But it doesn't exists). i tried with different display values.

  • Verified answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    Hi Anand, How are you creating new record in this table? Are you doing this through code? Have a look here blogs.msdn.com/.../creating-financial-dimension-combinations-in-ax-2012.aspx

  • Anand AX Profile Picture
    2,172 on at

    Hi Faisal Fareed,

    I tried manually in the table not with a code.

  • Martin Dráb Profile Picture
    239,385 Most Valuable Professional on at

    And do you know how to manually build the value of the primary key of this table, namely the Hash container? I don't think it's the case. It's not something you can done manually and what you should do directly in code. Use API intended for this purpose.

    By the way, I noticed that you mentioned dimension combination in your parallel thread about default dimensions. I hope you understand that this is about ledger dimensions, not default dimensions.

  • Suggested answer
    Abhishek_mishra Profile Picture
    405 on at

    You cannot create directly through table browser. 'Hash' field is unique index here with data dyte container.

    You are not suppored to insert record from table browser anyways.

    This is ledger dimension table. Please refer to artical suggested by Faisal.

  • Verified answer
    Kauto Profile Picture
    2,734 on at

    Anand - there is an index on this table relating to the HASH field, this is hidden by default in the AOT - you should not be creating records manually in this table.  Either way I am guessing there is already a record with a blank hash value and your record is also trying to put in a blank hash value - hence it says the record exists.

    Make the HASH field visible and you will see

  • Verified answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    HI Anand, It is not a good practice to create records in this table from table browser. If you have a look on the index of this table you will see its indexed on HashId which for sure you don't have at the time of creation record directly. You should have to look on the link I shared and create dimension Id from your display value accordingly.

  • Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    Did it resolve your issue - please verify if did

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans