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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Company code issue : What is the maximum number of digit can be set up for company book?

(0) ShareShare
ReportReport
Posted on by

Hi Experts, 

Can D365 's company code can set up more than 4 digit in D365? Like 5 digit-10 digit can set up for company code? 

Example : 

Below and the key design of the company code naming convention : 

1st digit : Region 
2nd digit : Banner

3th digit : Brand

4th digit : Running numbers (00-ZZ)

5th digit : Running numbers (00-ZZ)

If yes, how many digit can the company code set up in the company book? 

Thank you very much!

I have the same question (0)
  • Suggested answer
    Satish Panwar Profile Picture
    14,671 Moderator on at
    RE: Company code issue : What is the maximum number of digit can be set up for company book?

    Hi Ansonkw

    Max length is 4. You need to adjust your sequence appropriately. Length of 4 can support 9999 companies/legal entities.
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Company code issue : What is the maximum number of digit can be set up for company book?

    Company code has 4 digits. You can use company name for the descriptive information of your company.

  • Community Member Profile Picture
    on at
    RE: Company code issue : What is the maximum number of digit can be set up for company book?

    Hi Satish,

    Thank you for your reply. Is it possible that we can set into 5 digits in D365 in order to cope with our corporation need?

  • Community Member Profile Picture
    on at
    RE: Company code issue : What is the maximum number of digit can be set up for company book?

    Thank you for your reply. Is it possible that we can set into 5 digits in D365 in order to cope with our corporation need?

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Company code issue : What is the maximum number of digit can be set up for company book?

    Unfortunately that's not possible.

  • Community Member Profile Picture
    on at
    RE: Company code issue : What is the maximum number of digit can be set up for company book?

    got it , Thank you very much

  • Suggested answer
    Satish Panwar Profile Picture
    14,671 Moderator on at
    RE: Company code issue : What is the maximum number of digit can be set up for company book?

    Even if it's possible, wouldn't suggest to take that route. It's unnecessary customization to core system.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    299,030 Super User 2025 Season 2 on at
    RE: Company code issue : What is the maximum number of digit can be set up for company book?

    With the current 4 digits, you can use numbers and the alphabet. In that case, you can potentially create over 1.5 million combinations for legal entities.

    I have worked on an implementation where there  are over 3000 legal entities. What's in a number? You can also start typing the legal entity name when you want to switch companies in Dynamics 365.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,177

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 860 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 593 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans