web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to create auto-number plugin dynamically?

(0) ShareShare
ReportReport
Posted on by 160

Hi,

i plan to created one custom entity and create some fields  like-prefix suffix,date. After created this i just write plugin code for these 3 fields data will auto populate at another entity "auto-number" field , which i created earlier.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    AHMET TANRIKULU Profile Picture
    225 on at

    you can use realtime workflows for this there is no need use plugin?

  • ggghj Profile Picture
    160 on at

    ok, can you share me some example for this.

  • AHMET TANRIKULU Profile Picture
    225 on at

    this link will help you

    www.linkedin.com/.../custom-auto-numbering-6-quick-steps-ms-dynamics-crm-eran-fuks

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    There are already several Auto Number solutions available free. If you want to write your own code, you could download the code and then update it a per your needs.

    crm2015autonumber.codeplex.com

    dynamicscrmcoe.com/auto-number-generation-dynamics-crm-2016

    github.com/.../Celedon-Autonumber-RTM

    www.crmconsultants.co.uk/free-autonumber-solution-for-microsoft-dynamics-crm

  • ashlega Profile Picture
    34,477 on at

    Hi,

    if you wanted to implement autonumbering in your own plugin, you'll have to make sure you don't start generating duplicate numbers(especially during data imports).. this article explains how/what to do:

    www.greenbeacon.com/.../how-to-implement-robust-auto-numbering-using-transactions-in-microsoft-dynamics-crm

     I think it's possible to do it using a workflow as well.. But that would require some testing.

  • Rajkumar Rajaraman Profile Picture
    on at
  • ggghj Profile Picture
    160 on at

    But my requirement is to take dynamically

    Like entity name[auto-number creation](field value-prefix,subfix,current date,number)

    2-Create another entity "xyz" and field name "xyzid", this xyzid field value comes from "auto-number creation" entity fields.

    output

    -------

    xyzid is "xyz01082017"

  • ggghj Profile Picture
    160 on at

    Any suggestion??

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Did you try any of the above links?

    https://crm2015autonumber.codeplex.com/ 



  • ggghj Profile Picture
    160 on at

    please share with me code idea. this shared one is managed plugin.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans