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 :
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,667

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
    5,489 Moderator on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 109 Super User 2026 Season 2

#2
Syed Aqib Raza Profile Picture

Syed Aqib Raza 88

#3
ParthPatel249 Profile Picture

ParthPatel249 82

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans