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

I have the same question (0)
  • Verified answer
    Pradeep Rai Profile Picture
    5,489 Moderator 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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 129 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans