Smart Content Search

Find the exact content you need

Search across courses, articles, programs, MCQs, and descriptive questions from your knowledge platform in one clean workspace.

687

Results Found

18

Current Page

35

Total Pages

Showing 687 result(s) for your search.

x++
Article Result 341

Understanding pack() and unpack() in RunBaseBatch [D365 F&O X++ Guide]

X++ Programming Language Batch jobs in D365 F&O Understanding pack() and unpack() in RunBaseBatch [D365 F&O X++ Guide]
Here is a detailed article explaining pack() and unpack() in RunBaseBatch for Dynamics 365 Finance & Operations (D365 F&O): When creating batch jobs using RunBaseBatch in X++, you’ll often come across two mysterious methods: pack() and unpack(). These are not ...
View Details
/article/read/51/3652
Article Result 342

Understanding Static Methods in X++: Usage and Best Practices

X++ Programming Language OOP Concepts X++ Language static Method
Static methods, which are also known as class methods, belong to a class and are created by using the keyword static. You don't have to instantiate an object before you use static methods. Static methods are often used to work with data that is stored in table...
View Details
/article/read/51/2315
Article Result 343

Understanding Str2con() Function in Container in X++

X++ Programming Language Container in X++ Language Str2con() Function
This a Global class method which converts the string elements into a container. The returned string cannot have more than 1000 characters. Syntax: client server public static container str2con(str _value, [str _sep]) -value - the String sep - The string to use...
View Details
/article/read/51/664
Article Result 344

Understanding Table Groups in D365 F&O: Concepts and Applications

X++ Programming Language Table in D365 F&O Table Groups in D365 F&O
Table Groups in D365 F&O Table groups provide a method for categorizing tables according to the type of data they contain. Determining group membership is not an exact science but more of a conceptual definition. When determining group membership for your own ...
View Details
/article/read/51/1523
Article Result 345

Understanding the Finalize Method in X++ Programming - Best Practices

X++ Programming Language OOP Concepts X++ Language Finalize method in X++ Programming Language
Finalize method - A destructor method that finalizes an instance of a class by using the finalize keyword. The following is an example, using an if statement, which shows how to call a finalize method: if (condition) //state the condition that should be met { ...
View Details
/article/read/51/1495
Article Result 346

Update Model Parameters in D365 F&O X++

D365 F&O Technical Using X++ Programming Language Introduction to D365 F&O - X++ Update Model Parameters
Why Do You Need Reference Packages Before learning how to update reference packages in D365, it is important to understand what they are. And why you need them. In this last article I explained How to Create A Model In D365. Read that article first, if you hav...
View Details
/article/read/94/3320
Article Result 347

update_recordset and delete_from (you only cover inserts)

X++ Programming Language Improving Development Efficiency and Performance update_recordset and delete_from (you only cover inserts)
CHAPTER 57.18 · PERFORMANCE update_recordset and delete_from — Set-Based Updates and Deletes in D365 F&O The insert side is only one third of set-based processing. Learn how to modify and remove thousands of rows in a single database round trip, and — more imp...
View Details
/article/read/51/6632
Article Result 348

UpdateConflict & Deadlock Retry Pattern

X++ Programming Language Errors and Exceptions in D365 F&O UpdateConflict & Deadlock Retry Pattern
CHAPTER 26.11 · D365 F&O EXCEPTIONS UpdateConflict & Deadlock Retry Pattern Handle Dynamics 365 Finance & Operations concurrency the right way — use the standard Deadlock + UpdateConflict catches with retry, cap retries with #OCCRetryCount, and escalate to Upd...
View Details
/article/read/51/6139
Article Result 349

Use const values

X++ Programming Language Variables in X++ Language Use const values in X++
Constant values can be used to define a variable and assign it a value that does not change. You can define a constant variable by adding the keyword const before defining a variable. The following example shows how to make a variable a constant variable. cons...
View Details
/article/read/51/3094
Article Result 350

Use X++ runtime functions for common tasks

X++ Programming Language Function in X++ Language Use X++ runtime functions for common tasks
X++ provides several system functions that can be run with code. These functions run business operations, container operations, conversions, date operations, mathematical operations, reflection operations, session operations, and string operations. Business op...
View Details
/article/read/51/3909
Article Result 351

Using a macro in a SQL statement

X++ Programming Language Macros in D365 F&O Using a macro in a SQL statement
In a standard Dynamics 365 for Finance and Operations application, there are macros, such as InventDimJoin and InventDimSelect, which are reused numerous times across the application. These macros are actually full or partial X++ SQL queries that can be called...
View Details
/article/read/51/3166
Article Result 352

Using AOT Static Queries in D365 F&O: X++ Code Examples and Implementation

X++ Programming Language Query in D365 F&O - X++ Code AOT Static Query in D365 F&O - X++ Code
AOT Static Query in D365 F&O - X++ Code Static queries are pre-defined queries that can be accessed from the Application Object Tree (AOT). In Microsoft Dynamics AX, static queries are located in the Queries node and contain the following primary subnodes: The...
View Details
/article/read/51/1538
Article Result 353

Using do-while Loops in X++: Syntax and Examples

X++ Programming Language Loop control in X++ Language Do while loops in X++ Languague
Syntax do { // Loop body; Statement(s); } while (loop-continuation-condition); Flow Chart Figure: Do While Loop Flowchart Example The given code is an example of a do-while loop in X++ programming language. It declares an integer variable n and initializes it ...
View Details
/article/read/51/2202
Article Result 354

Using for Loops in X++: Syntax and Examples

X++ Programming Language Loop control in X++ Language For Loop in X++ Language
Syntax for (i = initialValue; i < endValue ; i++) { // Loop body; Statement(s); } Flowchart Figure: For Loop Flowchart Example // for loop example static void Examples(Args _args) { int i; for (i = 0; i < 10; i++) { info("Welcome to atnyla! "); } }
View Details
/article/read/51/2205
Article Result 355

Using if-else Statements in X++: Syntax and Examples

X++ Programming Language Decision Making in X++ Language if else statement in X++
Introduction of if else statement Learn how to use the "if-else" statement in X++ programming language to add conditional logic to your code. Understand the syntax and usage of if-else statements in X++ to control the flow of your program based on specific con...
View Details
/article/read/51/2198
Article Result 356

Using if-else-if Ladders in X++: Syntax and Examples

X++ Programming Language Decision Making in X++ Language if else ladder in X++
Syntax of if-else-if Ladders if(bool expression){ // Statements } else if( bool expression) { // Statements } else if( bool expression) { // Statements } else { } Flow Chart of if else ladder Figure: If else if ladder if-else-if Ladders Example using X++ Code ...
View Details
/article/read/51/2199
Article Result 357

Using Join and Inner Join in D365 F&O: X++ Code Examples and Best Practices

X++ Programming Language Data Selection and Manipulation Join or Inner Join in D365 F&amp;O - X++ Code
Join or Inner Join in D365 F and O - X++ Code The inner join is the most common type of join. It returns rows from both tables where there is a match. If there is no match, the row is not included in the result set. Syntax: select custTable join custTrans wher...
View Details
/article/read/51/1516
Article Result 358

Using the break Statement in Loops in X++: Syntax and Examples

X++ Programming Language Control Flow in X++ Programming break statement in X++ Programming
Syntax break; Example // break in while loop example static void Examples(Args _args) { int i = 0; while(i < 10) { if(i == 3) break; // terminate loop if i is 3 info(strFmt("i:%1 ",i)); i++; } info("Loop complete. "); }
View Details
/article/read/51/2206
Article Result 360

Using the if Statement in X++: Syntax and Examples

X++ Programming Language Decision Making in X++ Language if statement in X++
In Dynamics 365 Finance and Operations (D365 F&O), you can use the X++ programming language to implement conditional statements, including the "if" statement, for making decisions based on specified conditions. The "if" statement in X++ is similar to condition...
View Details
/article/read/51/2197