I need to create a field that is auto incremented every time a new instance
is made.

ie I need to make new records have a unique auto incremnting number.
Doesn't seem to be easily possibly in CRM. Anyone got a simple work aorund?
I did consider making a dummy record type called variables with one record
in with a field call ref number and using that as my location for the next
number to be got. Then incrementing that value after the record is saved.
But seems clumsy.

RE: Auto incrementing field in CRM 3.0 by MerijnvanMourik

MerijnvanMourik
Thu Sep 20 06:56:00 PDT 2007

Hi,

You could implement this by creating a callout using the Microsoft CRM SDK.
http://msdn2.microsoft.com/en-us/library/bb496811.aspx. Create a custom
field, disable this field on the form. Then let the callout auto increment
the field whenever a new record is created. Some programming effort will be
needed.

Best regards,

Merijn van Mourik

"Pat Horridge" wrote:

> I need to create a field that is auto incremented every time a new instance
> is made.
>
> ie I need to make new records have a unique auto incremnting number.
> Doesn't seem to be easily possibly in CRM. Anyone got a simple work aorund?
> I did consider making a dummy record type called variables with one record
> in with a field call ref number and using that as my location for the next
> number to be got. Then incrementing that value after the record is saved.
> But seems clumsy.
>
>
>

RE: Auto incrementing field in CRM 3.0 by MD

MD
Thu Sep 20 06:58:04 PDT 2007

Pat,

Have a look at this post:

http://www.microsoft.com/Businesssolutions/Community/NewsGroups/dgbrowser/en-us/default.mspx?&query=Auto+Incrementing&lang=en&cr=US&guid=&sloc=en-us&dg=microsoft.public.crm.developer&p=1&tid=dbf47088-bb2b-4604-ad5b-a0d3100882a5

It requires some programming, but in the end, it would would be seemless to
the end user. And callouts are well documented in the SDK

"Pat Horridge" wrote:

> I need to create a field that is auto incremented every time a new instance
> is made.
>
> ie I need to make new records have a unique auto incremnting number.
> Doesn't seem to be easily possibly in CRM. Anyone got a simple work aorund?
> I did consider making a dummy record type called variables with one record
> in with a field call ref number and using that as my location for the next
> number to be got. Then incrementing that value after the record is saved.
> But seems clumsy.
>
>
>