Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

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

Categories:
  • 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... 290,252 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.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,252 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,089 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans