Conditional Unique Auto Number Sequences in Microsoft Dynamics 365 / CRM

Conditional unique auto number series

A common request for Auto Numbers in Microsoft Dynamics 365 (CDS/CRM) is to have one number field with different formats and unique sequences based on data on the record or it’s parents.
I call this “Conditional Unique Auto Number Sequences”.

Continue reading “Conditional Unique Auto Number Sequences in Microsoft Dynamics 365 / CRM”

The Milliseconds Are Here!

Ever since I started using the Plugin Trace Log for investigation of my plugins around three years ago, I have wondered why we don’t have timestamps with better granularity than seconds.
As I expressed it in an article from 2017:

Given the CPU power we have today, it is just incomprehensible why we should not get more detail in the timing of plugin execution.
It is like defining my age by saying I was born sometime during the second half of the 20th century.

From A Canary in CRM
Continue reading “The Milliseconds Are Here!”

Dynamic content in Auto Numbers for Microsoft Dynamics 365 / CRM

As the creator of the Auto Number Manager tool in XrmToolBox, I get two questions more than any other questions:

How can I number existing records?

How can I add dynamic content to the numbers?

In a previous article I gave my solution to the first question. I will now dive into the second one and show a simple way of adding dynamic information from the numbered entity and related entities into the numbered attribute.

Continue reading “Dynamic content in Auto Numbers for Microsoft Dynamics 365 / CRM”