2.2 Get started with development using X++ in finance and operations apps Flashcards

1
Q

X++ differences from other languages?

A

Strong data access statements
Tight integration with system and user metadata
A strong extensibility story with pre/post event handlers and CoC
Case insensitivity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Date data type?

A

Contains the day, month, and year

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Enums data type?

A

Named list of literals, stored in DB as enum values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

GUID data type?

A

Global unique identifier, unique across all computers and networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Int data type?

A

32-bit wide integer signed numbers that do not include decimal place, no support for unsigned integer types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Int64 data type?

A

A larger, signed integer data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Real data type?

A

Number values with decimals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Str data type?

A

Contains values that are a string of characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Time of day data type?

A

Integer value that represents the number of seconds that passed since midnight

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

UTCDatetime data type?

A

Combination of date and time of day

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Arrays composite data type?

A

Contains a list of items that have the same data type
Dynamic arrays are open and fixed-length arrays specify a certain length

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Containers composite data type?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Classes composite data type?

A

Used to declare an instance of class within a method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Delegates composite data type?

A

Can be defined on a method, table, form, query.
When delegate is called it also calls subscriber methods.
Delegates never return a value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Tables composite data type?

A

Can be used to declare instance of a table
Once declared data can be manipulated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why use EDTs?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Variables?

A

Identifiers that designate a storage location where a value of data type is stored
Contains different scopes; global and local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Global variable scope?

A

Can be used throughout the instance of the class

19
Q

Local variable scope?

A

Only available within the scope of the class

20
Q

Operators?

A

Used to compute values
Types include;
assignment operators,
arithmetic operators,
relational operator

21
Q

Assignment operators?

A

Can change the value of the variable or a field

22
Q

Arithmetic operators?

A

Used to make numeric calculations

23
Q

Relational operators?

A

Compare the values between variable values of similar types

24
Q

How to determine the visibility of the variables?

A

By using three modifiers;
public
private
protected

25
Q

Public modifier?

A

Makes the variable usable anywhere

26
Q

Private modifier?

A

Makes the variable only usable within the class that is defined in

27
Q

Protected modifier?

A

Makes the variable only usable within the class that is defined in and any subclass of that class

28
Q

Types of methods?

A

Instance methods (object methods)
Static methods (class methods)

29
Q

Instance methods?

A

Embedded in the project that was created from a class. The object must be instantiated before you can use the method

30
Q

Static methods?

A

Don’t need to instantiate an object to use the methods.
Must have keyword “static”

31
Q

Basic SQL statements in SQL?

A

Select
insert_recordset
update_recordset
delete

32
Q

Select statement?

A

Used to choose what data will be retrieved based on conditions given

33
Q

insert_recordset?

A

Can insert multiple records by copying the records from one table and inserting them into another

34
Q

update_recordset?

A

Updated multiple records at the same time

35
Q

delete statement?

A

Removes an existing record from the table

36
Q

X++ runtime functions?

A

Business operations
Container operations
Conversions
Date operations
Mathematical operations
Reflection operations
Session operations
String operations

37
Q

Business operations?

A

Enter financial data and calculate financial formulas

38
Q

Container operations?

A

Run functions to manipulate the container data type

39
Q

Conversions?

A

Convert data from one type to another

40
Q

Date operations?

A

Manipulate date data type

41
Q

Mathematical operations?

A

Used to perform additional calculations

42
Q

Reflection operations?

A

Access an object’s metadata and return other metadata for the object

43
Q

Session operations?

A

Change or report current user connection to F&O apps

44
Q

String operations?

A

Manipulate string data type