O'Reilly logo

Learning MS Dynamics AX 2012 Programming by Erlend Dalen, Mohammed Rasheed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Datatypes

We will now take a look at the different kind of datatypes you can use in AX. They can be separated into two main groups:

  • Primitive datatypes
  • Composite datatypes

Primitive datatypes

Primitive datatypes are the building blocks of the programming language. They are used to store a single value based on the type in runtime code. The values that can be stored for each datatype varies depending on the datatype that is used. If you want to store a text string, you can use the string datatype. If you want to store a date value, you can use the date datatype or perhaps utcdatetime. You can also use the datatype anytype if the type of data read into the variable is decided at runtime.

In the next chapter, we will create extended datatypes and see ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required