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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Increasing the number sequence format limit

(2) ShareShare
ReportReport
Posted on by 10

Hi,

First post here, been tasked by my department with increasing the number sequence format limit in AX 2012.

Currently the number sequence format is AB-CED####, however, this is needing to be changed to AB-CED#####

I've tried to add a # to the alphanumeric segment, but I'm met with the error 'The format cannot contain the specified interval'. Googling this error doesn't bring any specific information.

The largest number allocation is set to 999999.

Any help would be appreciated, I'm familiar with AX but haven't delved this deep before.

Many thanks 
Jonny

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Jonny,

    Is this number sequence used for a voucher series or for identifying master data, such as customer, vendors, projects?

    How did you try adding the # symbol?

    Can you possibly share a screenprint?

    Many thanks,

    Ludwig

  • Suggested answer
    Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at

    Hi,

    I have configured this in env, check below

    Focus on highest number, it should be fine

    6710.PNG

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    You are trying to set the format to AB-CED##### (5 numbers) and set largest number to 999999 (6 numbers). That's not possible. 999999 doesn't fit in #####. So either increase the nr of # in the format, or set the largest number in a way that fits the nr of #'s.

  • JHitchen Profile Picture
    10 on at

    Thank you for the suggestion.

    Upon trying what you've outlined above, I now get the error 'One or more references using the current number sequence are not sufficiently long to contain numbers from this number sequence.'

    Thanks

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    You need to check the length of the extended data type which is used with this number sequence. If the length of the data type is only 10 characters, your number sequence can't produce longer numbers since they would not fit in the field.

    You need to either increase the data type length, or define a number sequence format that is only 10 characters long.

  • JHitchen Profile Picture
    10 on at

    Hi Ludwig,

    This is for a voucher series.

    I'm entering the # within the number sequence segment.

    pastedimage1601476608789v2.png

  • JHitchen Profile Picture
    10 on at

    Thanks Nikolaos

    Where do I check the length of the extended data type?

    And subsequently, would the option to increase the data type length be in the same place

    Thanks in advance

    Jonny

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    You can check in a development system. And it can also be changed in a development system. So please talk with your dev team.

    By the way, I'm moving this discussion to D365 Finance forum since it's not about AX.

    edit: sorry, it's about AX2012 after all, the D365 screenshot in one of the replies fooled me. So I'm not moving anything :)

  • JHitchen Profile Picture
    10 on at

    Thank you, I'll try get access to our Dev system as we do not have a Dev Team for AX.

    Sorry for the confusion, thanks for the responses.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans