2.2 Get started with development using X++ in finance and operations apps Flashcards
X++ differences from other languages?
Strong data access statements
Tight integration with system and user metadata
A strong extensibility story with pre/post event handlers and CoC
Case insensitivity
Date data type?
Contains the day, month, and year
Enums data type?
Named list of literals, stored in DB as enum values
GUID data type?
Global unique identifier, unique across all computers and networks
Int data type?
32-bit wide integer signed numbers that do not include decimal place, no support for unsigned integer types
Int64 data type?
A larger, signed integer data type
Real data type?
Number values with decimals
Str data type?
Contains values that are a string of characters
Time of day data type?
Integer value that represents the number of seconds that passed since midnight
UTCDatetime data type?
Combination of date and time of day
Arrays composite data type?
Contains a list of items that have the same data type
Dynamic arrays are open and fixed-length arrays specify a certain length
Containers composite data type?
Dynamic collections of primitive items or other containers
Pass different types of values, not ideal when used in processes that frequently change size or contents
Classes composite data type?
Used to declare an instance of class within a method
Delegates composite data type?
Can be defined on a method, table, form, query.
When delegate is called it also calls subscriber methods.
Delegates never return a value
Tables composite data type?
Can be used to declare instance of a table
Once declared data can be manipulated
Why use EDTs?
Make code easier to read
Set properties on EDT that all instances of that type use
Create hierarchies for EDTs so an EDT can inherit the properties of a parent
Variables?
Identifiers that designate a storage location where a value of data type is stored
Contains different scopes; global and local