web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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 905

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!

I have the same question (0)
  • Suggested answer
    Wahaj Rashid Profile Picture
    11,321 on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans