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

28

Current Page

35

Total Pages

Showing 687 result(s) for your search.

x++
Question Result 541

In Dynamics 365 Finance & Operations (D365 F&O), how can you wrap static methods using extension classes? Can you provide an example of how this is implemented, and explain any limitations of this approach when working with forms?

D365 F&O Technical Using X++ Programming Language Chain of Command What is Chain of Command (CoC)?
In D365 F&O, static methods can be wrapped using extension classes by ensuring the method in the extension is qualified with the static keyword. The extension method should call the original method using the next keyword. Here’s an example: class A { public st...
View Details
/question/7672
Question Result 542

In Dynamics 365 Finance & Operations, when should you reuse the standard find method to read a record, and when is a join the better choice? Why is selecting records individually inside a loop discouraged?

D365 F&O X++ Programming Language Interview Questions & MCQs D365 F&O Technical X++ Overview in D365 F&O
D365 F&O • X++ INTERVIEW Standard Logic Reuse: Find Method vs. Join in Dynamics 365 Finance & Operations Question 35 — When to reuse the standard find method and when a join performs better. Interview Question In Dynamics 365 Finance & Operations, when should ...
View Details
/question/11558
Question Result 543

In Dynamics 365 Finance & Operations (D365 F&O), you need to create a custom script that processes sales order lines (SalesLine) and updates inventory (InventSum) under specific conditions.

X++ Programming Language Data Selection and Manipulation Custom Scripts - X++ - in D365 F&O
Question:In Dynamics 365 Finance & Operations (D365 F&O), you need to create a custom script that processes sales order lines (SalesLine) and updates inventory (InventSum) under specific conditions. Requirements: The script should iterate over a list of predef...
View Details
/question/8420
Question Result 544

In X++, what is the difference between using a macro and the const keyword to define fixed values? Why are constants (and readonly members) recommended over macros, and when is each appropriate?

D365 F&O X++ Programming Language Interview Questions & MCQs D365 F&O Technical X++ Overview in D365 F&O
D365 F&O • X++ INTERVIEW const vs. Macro in Dynamics 365 Finance & Operations Question 22 — Why constants (and readonly) are preferred over macros for fixed values. Interview Question In X++, what is the difference between using a macro and the const keyword t...
View Details
/question/11544
Question Result 545

In X++, what is the difference between using a macro and the const keyword to define fixed values? Why are constants (and readonly members) recommended over macros, and when is each appropriate?

D365 F&O X++ Programming Language Interview Questions & MCQs D365 F&O Technical X++ Overview in D365 F&O
D365 F&O • X++ INTERVIEW const vs. Macro in Dynamics 365 Finance & Operations Question 22 — Why constants (and readonly) are preferred over macros for fixed values. Interview Question In X++, what is the difference between using a macro and the const keyword t...
View Details
/question/11545
Question Result 546

Junior D365 Technical Consultant Responsibilities

X++ Programming Language Fundamentals of X++ Language D365 Developers and Functional Role
A Junior Technical Consultant usually focuses on development tasks, support, and learning the architecture under supervision. 🔧 Core Responsibilities: Customize and extend D365 F&O using X++, Visual Studio, and the AOT (Application Object Tree). Develop SSRS r...
View Details
/question/8681
Question Result 547

lookup() - Form data source field methods in D365 F&O - X++ Code

X++ Programming Language Forms in D365 F&O Form data source field methods in D365 F&O
The lookup() method is a standard method on the field of the form data source. This method is called when a lookup operation is attempted on a data source field. If data that's shown in the lookup form must be customized with some filter, the lookup() method s...
View Details
/question/8170
Question Result 548

modified() - Form data source field methods in D365 F&O - X++ Code

X++ Programming Language Forms in D365 F&O Form data source field methods in D365 F&O
The modified() method is a standard method on the field of the form data source. This method is called when the value of a specific field is modified. Example You have a custom form with a table named TrainingMaster. The table has a field named Venue and an en...
View Details
/question/8168
Question Result 549

Multiple inheritance possible or not, if not how can we overcome that.

X++ Programming Language Table in D365 F&O Indexes in Dynamics 365 Finance and Operations (D365FO)
Multiple inheritance possible or not, if not how can we overcome that. In X++, a new class can only extend one other class; multiple inheritance is not supported. If you extend a class, it inherits all the methods and variables in the parent class (the supercl...
View Details
/question/4543
Question Result 551

Naming Best Practices for const in X++ language

X++ Programming Language Variables in X++ Language Scope of a variable x++ Programming language
Always use PascalCase for constant names: const int MaxRetryCount = 3; const str DefaultCountryCode = "IN"; This applies to: private protected public
View Details
/question/8956
Question Result 552

Open a query window before opening form using X++ in D365FO

X++ Programming Language Query in D365 F&O - X++ Code Query::insert_recordset in D365 FO
We need to override the run method of the form. public void run() { Query query; QueryRun queryRun; query = new Query(); query.addDataSource(tableNum(ItemMasterView)); query.dataSourceTable(tableNum(ItemMasterView)).addRange(fieldNum(ItemMasterView, ItemId)); ...
View Details
/question/8955
Question Result 554

Provide an example of deleting records using delete_from. X++ Language

X++ Programming Language Data Selection and Manipulation Data Selection and Manipulation
Deleting records using delete_from: delete_from is used to delete multiple records based on a condition: delete_from CustTable where CustTable.Country == 'US'; Another Way ttsbegin; Select forupdate salesLine where salesline.salesId == 'S0001'; salesLine.delet...
View Details
/question/7413
Question Result 555

Provide an example scenario where an instance method would be preferred over a static method in X++.

D365 F&O Technical Using X++ Programming Language Class and Objects - Object-Oriented Programming (OOP) Concept X++ Language Create a class in X++ Language
An instance method would be preferred in a scenario where the method needs to operate on the specific state of an object. For example, if you have a Customer class and an instance method called calculateDiscount, this method might need to access the customer's...
View Details
/question/7686
Question Result 556

Release Product method in D365 F&O

X++ Programming Language System Table Information in D365 F&O EcoResProduct Table in Dynamics 365 Finance & Operations
Key Notes This method is used in custom X++ code to automate the product release process. Normally, product release can also be done manually from the Product Information Management > Released Products > Release Product form. Using this method allows programma...
View Details
/question/8556
Question Result 557

select firstonly in X++ Programming Language

X++ Programming Language Data Selection and Manipulation Examples Insert Data in Table
select firstonly in X++ Programming Language Use a select method to declare the data that will be modified. The select statement will fetch or manipulate date from the database using X++. You can use the select statement to fetch one record or field. You can u...
View Details
/question/2289
Question Result 558

SysOperationControlVisibilityAttribute

X++ Programming Language SysOperation framework - Example Project Contract
SysOperationControlVisibilityAttribute is a very useful attribute in Dynamics 365 Finance & Operations (D365FO), especially when you are designing SysOperation (aka Data Contract) forms for batch jobs or services. Let me explain it clearly: 1️⃣ What it is SysO...
View Details
/question/8577
Question Result 559

SysOperationLabelAttribute

X++ Programming Language SysOperation framework - Example Project Contract
SysOperationLabelAttribute is another X++ attribute used in SysOperation / Data Contract frameworks in D365 Finance & Operations (D365FO). Let’s break it down clearly. 1️⃣ What it is SysOperationLabelAttribute is applied to Data Contract methods or fields. It ...
View Details
/question/8579
Question Result 560

Table method ModifiedFieldValue() in D365 F&O - X++ Code

X++ Programming Language Table in D365 F&O Table Methods
ModifiedFieldValue method Modifies the specified field to the original value. ModifiedFieldValue method takes field name and array index as arguments Syntax public void modifiedFieldValue(FieldName _fieldName, int _arrayIndex = 1) { super(_fieldName, _arrayInd...
View Details
/question/922