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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

ACCOUNT NUMBERS

(0) ShareShare
ReportReport
Posted on by 15

How to set up account numbers for accounts

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,218 User Group Leader on at

    Hi, 

    You can use the New auto-number field. Please refer to this blog: 

    d365goddess.com/.../

  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    Hi partner,

    There is already an Account Number field which type is text in Account Entity, so if you want to achieve auto-number function, just change the type of it from text to Autonumber.

    Here are steps.

    1. Go to Power Apps (https://make.powerapps.com/).

    2. Expand Data and click Entities to select Account entity.

    61661.png

    3. Navigate to fields to edit Account Number field.

    6330.png

    4. Fill in as shown below.

    (1) Change Data type to Autonumber.

    (2) Set Autonumber type to Custom, and select Add random string to format, so that the Format is {SEQNUM:4}-{RANDSTRING:4}, Preview is 1000-YNH6.

    pastedimage1595570820885v4.png

    The purpose of changing Format to {SEQNUM:4}-{RANDSTRING:4} is to prevent duplication of account number when users are using D365 offline, that is, to avoid duplication of its number part, we need to add a random string to make the value of the account number field unique.

    For example, three users are using D365 offline, and they create an account record at the same time, then when they login to D365 online, these three records will be the same value, like 0164, 0164, 0164. If we add a random string to the account number, then these three records will be the different value, like 0164-YNH6, 0164-181K, 0164-Q0P8.

    5. Click Done and Save entity button.

    6. Test

    2772352.png

    75575.png

    58332.png

  • LuHao Profile Picture
    40,892 on at

    Hi partner,

    Has your problem been solved? Need more help?

    Please click Yes under "Did this answer your question?" to close this thread.

    pastedimage1596189277814v1.png

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 170 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 155

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans