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, ...
Unanswered

Error when generating number

(0) ShareShare
ReportReport
Posted on by 35

Hi guys,

I have a problem in my MS Dynamics AX 2012. I am trying to post in Accounts Payable Journal / Vendor invoices / Pending vendor invoices. After I click the "Post" button this error will appear: "Number 10000 does not match format 0000-A###". I already check the number sequence because the transaction involve Purchase Order (PO) with a format and no. of PO-0000-A000001362. Please see the sample screenshot below.

Error-upon-posting.PNG

I have the same question (0)
  • Deepak Agarwal Profile Picture
    8,602 on at

    Hello,

    have you tried to debug this, as mentioned in the error system is generating '10000' as the next invoice number while it does not match with the defined number sequence. Is this issue coming in production?

  • Sony Boy Profile Picture
    35 on at

    Hi Harry,

    Thank you for your response. I haven't try to debug it yet may I know where I can specifically see this and resolve the error. Do I need to update the number sequence or any idea where I can visit the root cause of the error. Thank you!

  • ergun sahin Profile Picture
    8,826 Moderator on at

    the max number is 9999(  ####) and it looks like you hit 10000

  • Deepak Agarwal Profile Picture
    8,602 on at

    YOu can try to see what the next number is for this number sequence, in case all numbers are consumed you may need to change the number sequence.

  • André Arnaud de Calavon Profile Picture
    301,146 Super User 2025 Season 2 on at

    Hi Sony Boy,

    You compared the number 10000 with the pattern of the PO number sequence. The number 10000 might be taken from another number sequence (e.g. a voucher number) where there is a reserved space for 4 numbers only; not 5. Like mentioned above, you hit the maximum of the segment set on a number sequence, but not the PO numbering.

  • Sony Boy Profile Picture
    35 on at

    Hi I tried to extend the number but there was an error and it says that the number sequence is unable to edit.

  • Sony Boy Profile Picture
    35 on at

    Hi Deepak,

    I found the number sequence who have an error but when I try to update the number sequence there was an error occurred.

    Error states that: "One or more references using the current number sequence are not sufficiently long to contain numbers from this number sequence"

  • Sony Boy Profile Picture
    35 on at

    Hi Andre,

    Thanks for this, I found the number sequence who have an error but when trying to update the sequence code there was an error occurred stating that: "One or more references using the current number sequence are not sufficiently long to contain numbers from this number sequence" what would be the best action for this?

    Thank you!

  • ergun sahin Profile Picture
    8,826 Moderator on at

    The size of the EDT you use the number series is not enough for the change you made.

    There are 3 possibilities in front of you.

    1. Increase the size of the EDT.

    2. Make changes to the format

    3.Connect to a new number sequence

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans