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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Voucher INVOICE NUMBER is already used as of date error during Invoice Posting in Ax 2012

(0) ShareShare
ReportReport
Posted on by 1,602

Hi Folks,

Today, I came across an issue with Free Text Invoice posting in Ax 2012, During posting process system throws 'Voucher %1 is already used as of date %2'. 

Actually, that voucher number it showing is posted successfully on October 2014. Later user posted many invoices and the next number of the Number Sequence is different from the number showing in the error, but suddenly today we facing this issue. During my investigation, I found that the number in error, hanging in the status list of Number Sequence with Free Status and during posting, system took the unallocated number to post. We are decided to clear the rec and move further.

But my Question, how the number is posted 6 month before which is causing issue now and how it got the free status in the status list. I am not pro in num seq process, if anyone help me on this to get clarification?

// Vasanth Arivali

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Prashant Singh Profile Picture
    8,802 on at

    May be you have changed the number sequence setup.

    No selection : It will increase the number even though you have not selected.

    Continuous : It will take the same sequence if it has not been used.

    Manual : Need to define the sequence manually.

  • VasanthArivali Profile Picture
    1,602 on at

    Hi Prashant,

    Thanks for your reply,

    There is no modification in the setup, It is configured as Continuous only.

    // Vasanth Arivali

  • Suggested answer
    Prashant Singh Profile Picture
    8,802 on at

    This problem occurs due to interference of multiple running number sequences in same format in AX 2012. This happens due to assigning the number sequences through the wizard.

    Regards,

    Prashant Kumar

  • VasanthArivali Profile Picture
    1,602 on at

    Hi Prashant,

    I accept this multiple running number sequence, but how it is possible a number which is posted in Oct 2014 will cause issue in May 2015.  Ax will take the hanging(free status in reserved number seq) in their next posting / in further posting right? That what I couldn't understand and the table doesn't enabled with Created by and Created Date and Time so I cannot track the time of record creation.

    // Vasanth Arivali

  • Suggested answer
    Prashant Singh Profile Picture
    8,802 on at

    May be somebody made some changes, Behind the scene same code is running for all.

    So it should behave like this.

  • VasanthArivali Profile Picture
    1,602 on at

    Thanks for you immediate reply, I am also digging in that way. But there is no code changes in those classes(during the process of getting voucher / invoice id) all are referring system classes only. That is why I couldn't get the exact root cause of why and how it was happened. Thanks for your suggestions once again.

    // Vasanth Arivali

  • Community Member Profile Picture
    on at

    Hi,

    I have the same problem with 2 users who use the same ledger jounral. A lot of time, 1 or 2 times per week, a user cannot validate his ledgerjournal because it contains a number already used in a ledgerjournal validated by another user.

    Voucher has a continous number. Cleaning process is batched at night.

  • Suggested answer
    Prashant Singh Profile Picture
    8,802 on at

    check the number sequence AR >> Parameter >> Number Sequence >> Free Text Invoice.

    is this number sequence is used in any other setup. If yes then change the sequence.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi

    Check the history for that number sequence, if anyone has manipulated the numbers.

    This issue will happen when someone has deleted the record without using it or press 'Esc' button before saving the record .

    System will reserve that number against that user and reuse it if 'continuous' check box is marked for that number sequence and the status is 'Free' in the status list form.

  • Community Member Profile Picture
    on at

    Mark TSM, could you tell me what batch cleanup process you are referring to? We run into this issue from time to time and it's fairly frustrating for end-users. I can manually delete the locked number sequences via Status List but this requires manual intervention every time.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans