Skip to main content

Notifications

Microsoft Dynamics AX forum
Suggested answer

Want to know about Macros in AX

editSubscribe (0) ShareShare
ReportReport
Posted on by 170
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
  • rajborad Profile Picture
    rajborad 170 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.
     
  • Suggested answer
    Judy Profile Picture
    Judy Microsoft Employee on at
  • Suggested 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
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 223,308 Super User 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.

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,375 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans