Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Want to know about Macros in AX

(1) ShareShare
ReportReport
Posted on by 491
HI all,
I have started to learn AX 2012, and want to learn about the use of Macros.
Please suggest some Examples of uses of Macros.
 
Thank you
  • Raj Borad Profile Picture
    Raj Borad 491 on at
    Want to know about Macros in AX
    Hi all,
    I cannot tick your answers as verified, because of this Website issue. It has been going for loading for a long time....
     
    Thank you all for your suggestions.
     
  • Verified answer
    Judy Profile Picture
    Judy Microsoft Employee on at
  • Verified answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Want to know about Macros in AX
    Hi,
    In addition to the official documentation, you can also check blogs about macros in AX to learn more. Apart from this, you can also search for videos about AX macros on YouTube.
    https://stoneridgesoftware.com/local-macros-and-regular-expressions-in-dynamics-ax-2012/
    https://dynamics.folio3.com/blog/working-with-macros-in-x/
    Best Regards,
    Hana
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,458 Most Valuable Professional on at
    Want to know about Macros in AX
    First of all, check out the documentation, namely Macros in X++. Just note that the remark about constants and SysDa framework doesn't apply to AX 2012; these are features introduced by F&O.
     
    You can find many examples in the standard application, but the most common case are these two:
    1. Definition of constant values. Either your own, or you can use constants defined in Microsoft macro libraries, e.g. #MillisecondsPerHour in #TimeConstants.
    2. Field lists in pack() and unpack() methods used in RunBase framework.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans