Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Autonumbering with Alphabetic order generator

(0) ShareShare
ReportReport
Posted on by 899

Hello Experts,

In the opportunity entity, I have added an auto number field with a static prefix using the auto number datatype in Dataverse.
The autonumbering will only increase the number based on the seed value.

I would like also to customize and automate the prefix in alphabetical order for example:

Whenever the first record is created the code will be RAA0000.
2nd record RAB0001
3rd record RAC0003..

When the R series is finished it should start with the S series (1st rec SAA000#, 2nd rec SAB000#).

I am planning on building a Power Automate flow that can handle the process of the above but I was wondering if there are other solutions available.

If yes, can someone please explain it in detail and provide me examples to help me achieve this scenario?

Any help will be greatly appreciated.
Thank you!

  • Suggested answer
    Wahaj Rashid Profile Picture
    11,321 on at
    RE: Autonumbering with Alphabetic order generator

    Hi,

    Thank you for your query.

    As far as I know, there are only 2 place holders available in an Autonumber Configuration:

    • {RANDSTRING:MIN_LENGTH} (this returns a random string)
    • {SEQNUM:MIN_LENGTH} (this returns incremented number)

    There is no placeholder available for INCREMENTAL STRING.

    To implement your logic, you need to write your custom code (a 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,221 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,982 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans