Skip to main content

Notifications

Microsoft Dynamics AX forum
Answered

Want to know about Macros in AX

Posted on by 432
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 432 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 229,021 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

News and Announcements

Forum Structure Changes Coming Soon!

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,021 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,150

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans