Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to rename voucher through X++ code rename functionality in AX 2012?

(0) ShareShare
ReportReport
Posted on by 5,680

Hi all,

I have requirement from client to change some voucher number sequence format need to increase, voucher number sequences are going to end, so need to increase same number sequence code voucher generation formats.

For e.g. existing number sequence code : AR_INV – Format – TST-### , but as per client requirement need to change format as – TST-#####. further need to update this format as existing generated voucher series, so what is the best solution to do for this.

I plan to think Rename functionality through X++ code, but AX 2012 all record referenced with record id.

if any one face this kind of requirement let know the best way to do this...

*This post is locked for comments

  • johnny@365freelancer.com Profile Picture
    17 on at
    How to rename voucher through X++ code rename functionality in AX 2012?
    Hi Karthik
    Did you manage to solve the renaming of voucher from x++?
    We are facing a similar problem.
    /Johnny
  • André Arnaud de Calavon Profile Picture
    295,933 Super User 2025 Season 1 on at
    RE: How to rename voucher through X++ code rename functionality in AX 2012?

    Hi Karthik,

    If there are only a few number sequences, I would change them manually. You need to update not only the format, but also the Highest number. Probably creating the functionality with x++ code would be more work and you need to test it carefully.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Kempeth Profile Picture

Kempeth 4

#1
Andy Adamak Profile Picture

Andy Adamak 4

#1
Community Member Profile Picture

Community Member 4

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=ferti+trading+pte+ltd++is+getting+chlorpyrifos+from" - Nested quantifier +.