Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

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

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

  • 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
    André Arnaud de Cal... 291,269 Super User 2024 Season 2 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans