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 CRM (Archived)

Use custom Auto Number (fixing duplicate numbers)

(0) ShareShare
ReportReport
Posted on by

Hi!

I created auto numbering for lead entity in CRM (like this https://arunpotti.wordpress.com/2014/03/21/auto-number-generation-using-real-time-workflow-in-ms-crm-2013/). All work ok for 1-3 users. But when CRM use more users - sometimes we're getting the same numbers for leads (I use real-time workflow). Have anybody ideas to fix it? How I could lock custom entity during getting number? Maybe someone found how resolve this problem.

Thanks! 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi Anatoliy,

    as i know there isnt any way to lock entity by oob workflow.

    You could do it by plugin, if you are interested i will post some info, but be aware you need to rewrite all code to generate id.

    Hope it helps.

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Anatoliy Veshemirsky Profile Picture
    on at

    Hi Francesco!

    Thanks for answer.

    I found many information about plugin but if I'll get a problem, I write you.

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Hi,

    There are various autonumber solutions, and you will probably experience this issue in most of them, but you can try the following:

    celedonpartners.com/.../celedon-autonumber-solution-for-dynamics-crm

    www.briteglobal.com/.../get-autonumber

    Hope this helps.

  • Anatoliy Veshemirsky Profile Picture
    on at

    I solved problem.

    I used this article: charanmandya.blogspot.com/.../auto-number-record-locking-in-mscrm.html

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 CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans