Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Cannot insert Duplicate Key while creating Case record in CRM 365 9.2

(0) ShareShare
ReportReport
Posted on by 2,665

Hi All,

When i am creating case record in crm its saying cannot insert duplicate key & checked with for duplicate detection rule for case entity theres no rule activated on case.

In crm already ticketnumber has some number with the same number i am trying to create one more record data which will have the same ticketnumber how can we achive this ?

Thanks,

Jharana

  • Verified answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,482 Super User 2025 Season 1 on at
    RE: Cannot insert Duplicate Key while creating Case record in CRM 365 9.2

    Hi,

    The ticketnumber is of autonumber type as shown below:

    pastedimage1633624919644v1.png

    and we can cannot create two cases with same ticket number because it will violet the Auto number concept. In CRM side autonumber stored as UNIQUE key

    And one suggestion to store the same ticketnumber, you can create new custom field on case entity of type Single Line of Text then either manually or with some custom approach like plugin, workflow you can populate the same field.

    Also, you can use the Parent-Child Case relationship.

    Thanks,
    Pradeep.

    Please mark this as VERIFIED it it helps.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,551 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans