locked
How to Generate Auto Number RRS feed

  • Question

  • Hi Please suggest me,

     

    How to Genrate Auto Number Generation:

    Ex: Broker ID [_____]  needd to be create automatically when i am opening the page.

    Regards

    Benarji

    Monday, February 6, 2012 6:45 AM

Answers

  • Hi,

    You can use Javascript when the page loads number will generate. (in OnLoad event)

    or

    You can go for plugin development.


    Thanks & Regards, MS CRM Consultant, V.Surya.

    • Marked as answer by Sandra.CRM Thursday, February 9, 2012 7:03 AM
    Tuesday, February 7, 2012 1:37 PM
    Answerer
  • Hi,

    You can also refer this :

    http://www.codeproject.com/KB/cs/AutonumberingCRM2011.aspx#xx3890834xx


    -- NMathur

    • Marked as answer by Sandra.CRM Thursday, February 9, 2012 7:03 AM
    Wednesday, February 8, 2012 9:36 AM

All replies

  • Hi,

    You can use Javascript when the page loads number will generate. (in OnLoad event)

    or

    You can go for plugin development.


    Thanks & Regards, MS CRM Consultant, V.Surya.

    • Marked as answer by Sandra.CRM Thursday, February 9, 2012 7:03 AM
    Tuesday, February 7, 2012 1:37 PM
    Answerer
  • http://crm2011autonumber.codeplex.com/ 


    The postings on this site are solely my own and do not represent or constitute Hitachi Consulting's positions, views, strategies or opinions.

    • Proposed as answer by nmathur Wednesday, February 8, 2012 9:29 AM
    Tuesday, February 7, 2012 10:10 PM
  • Hi,

    You can also refer this :

    http://www.codeproject.com/KB/cs/AutonumberingCRM2011.aspx#xx3890834xx


    -- NMathur

    • Marked as answer by Sandra.CRM Thursday, February 9, 2012 7:03 AM
    Wednesday, February 8, 2012 9:36 AM
  • First, I admit to being nitpicky about this, as we have a range of clients in many different hosting environments that have shown the limitations of every existing 'autonumber' solution we encountered. There are multiple solutions around that 'may' work for you, especially if you have a single-server, on-premise deployment. However, mutexes, locking objects, etc are NOT guaranteed ways to ensure no duplicate numbers ever get generated when you are in a web farm or CRM Online. The only successful locking mechanism I have found so far that does not require an external database or an on-premise deployment is to leverage the CRM 2011 ability of plugins to execute inside database transactions (and thus, leverage the transactional behavior of the underlying database itself).

    http://connect.greenbeacon.com/2012/01/technical-post-implementing-robust-microsoft-dynamics-crm-2011-auto-numbering-using-transactions/

    Monday, February 13, 2012 6:40 PM
  • You can also have a look at http://community.adxstudio.com/downloads/productivitypack for Auto-numbering solution.


    Shaurya Anand
    MCPD, MCTS, MCAD, MCP | Data'Flock Consultancy Services | shaurya.anand+mscrmforum@dataflock.com
    Any views or opinions presented in this public post is solely those of me and do not necessarily represent those of Data'Flock Consultancy Services.

    Tuesday, February 14, 2012 2:58 PM