Intrinsic Functions [AX 2012]
Updated: December 6, 2011
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Intrinsic functions are metadata assertion functions. They take arguments that represent entities in the Application Object Tree (AOT), and validate these arguments at compile time. They have no effect at run time. Intrinsic functions are a subgroup of the X++ system functions, and typically have names ending in Num or Str, for example: classNum and formStr.
Intrinsic functions should be used wherever possible in X++ code to make the code resilient to changes to the metadata stored in the AOT.
You will get a best practice warning if you use the for identifierStr function. This is because no existence checking is carried out for identifierStr. Try to use a more specific intrinsic function if one is available.
The following list contains the intrinsic functions in MorphX.
Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.
Note