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

OrderNumber field and invocenumber is possible to change?

(0) ShareShare
ReportReport
Posted on by

Hello fellows,

I want to know if is possible to change the auto-fill value of ordernumber and invocenumber.

Like, my ordernumber is populate by the crm (OOB), and is it something like this PED-01002-P2J9H4.

I want to change to something like (OD+Name)-DateofCreation-NumberRevision

*This post is locked for comments

I have the same question (0)
  • Verified answer
    PS Profile Picture
    23,577 on at
    RE: OrderNumber field and invocenumber is possible to change?

    Yes, but you cant do that in OOB CRM, you need to do a few customization:

    Refer this post for suggestions:

    community.dynamics.com/.../150267.aspx

    Download plugins"

    crm2011autonumber.codeplex.com

    www.planetxrm.com/microsoft-dynamics-crm-2013-2011-auto-id-generator

    www.codeproject.com/.../Autonumbering-in-Dynamics-CRM

    ashwaniashwin.wordpress.com/.../auto-number-for-custom-entities-in-dynamics-crm-2011

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: OrderNumber field and invocenumber is possible to change?

    it is auto generated by CRM ,so System will not allow you to change it.

  • Verified answer
    PS Profile Picture
    23,577 on at
    RE: OrderNumber field and invocenumber is possible to change?

    So what you need to do is create a new fieldd ID2, where you will generate the desired number via plugin

    Make the original ID field editable, by default it is set to read-only, so change it

    create a workflow to copy ID2 value to ID

  • Aileen Gusni Profile Picture
    44,524 on at
    RE: OrderNumber field and invocenumber is possible to change?

    Rrocha,

    You need to have a custom code either using your own plugin or using third party solutions.

    The Order number in CRM you can only change the length of the number and very limited customization. If you want to construct something that it is custom rule like yours, yes you need the customization.

    If you want to override the existing field, it is possible, you need to register the step of your plugin in preValidation event like I did in Case.

    Hope this helps.

    Thanks.

  • Verified answer
    Mithilesh Kumar Profile Picture
    10,047 on at
    RE: OrderNumber field and invocenumber is possible to change?

    Hi Rrocha,

    The OOB field won't let you do this.

    But using customization you can achieve this.

    1. Create a new field to store your new format Order Number.

    2. Create a Real Time workflow (if using CRM 2013 or above) to generate the Auto Number.

    community.dynamics.com/.../auto-numbering-with-crm-workflows-real-time-vs-asynchronous.aspx

    arunpotti.wordpress.com/.../auto-number-generation-using-real-time-workflow-in-ms-crm-2013

    Hope that helps

    Thanks

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans