Top 18 Microsoft Dynamics Ax Interview Questions
Q1. Difference Between Primary & Cluster Index?
Primary index: It works on specific indexes. The facts have to be specific and now not null. Retrieve records from the database.
Clustered Index: It works on precise and non particular indexes. Retrieve records from the AOS.
The advantages of getting a cluster index are as follows:
Search consequences are quicker while data are retrieved by means of the cluster index, especially if facts are retrieved sequentially along the index.
Other indexes that use fields which might be part of the cluster index would possibly use much less statistics area.
Fewer files inside the database; data is clustered inside the equal document because the clustering index. This reduces the gap used at the disk and in the cache.
The disadvantages of getting a cluster index are as follows:
It takes longer to replace facts (however only when the fields in the clustering index are modified).
More data space is probably used for different indexes that use fields that aren't part of the cluster index (if the clustering index is wider than about 20 characters).
Q2. Define Aot?
The Application Object Tree (AOT) is a tree view of all of the application objects inside Microsoft Dynamics AX. The AOT includes the entirety you need to customise the look and functionality of a Microsoft Dynamics AX software.
Q3. Difference Between Edit And Display Method?
Display indicates that the approach’s go back fee is to be displayed on a form or a report.
The price cannot be altered within the form or file.
Edit suggests that the method’s return type is to be used to provide statistics for a field this is utilized in a form. The value inside the discipline can be edited.
Q4. What Is An Index?
An index is a table-particular database shape that speeds the retrieval of rows from the desk. Indexes are used to improve the performance of information retrieval and sometimes to ensure the life of particular data.
Q5. Difference Between Perspectives And Table Collection?
Perspectives can prepare records for a report model inside the Application Object Tree (AOT).
A perspective is a collection of tables. You use a document model to create reports.
Table series is a collection of table, which sharing across all of the virtual businesses.
Q6. What Is The Difference Between Overloading And Overriding?
Overriding is the derived training and the discern class are described in a way that is derived according to the override feature.
Overloading is a characteristic that has the similar signatures but has one-of-a-kind parameters.
Q7. What Should We Do If We Need Last Record To Be Active When A Form Is Opened?
In homes of facts supply desk set the Start Position property as closing.
Q8. What Is The Difference Between Form Init () & Ds Init ()?
Form init (): in it's far activated immediately after new and creates the run-time picture of the form.
DS init (): Creates a facts supply query primarily based on the records source homes.
The shape information source init approach creates the query to fetch statistics from the database and units up hyperlinks if the form is related to every other form.
Q9. How To Create Data Contract Class?
The data agreement magnificence carries within the X++ elegance have parm strategies. The Data Member Attribute method is defined as the start step for the magnificence that is described with many parameters utilized in SSRS file.
Q10. Difference Between Pass By Reference And Pass By Value?
Pass By Reference: In Pass by using reference cope with of the variable is surpassed to a characteristic. Whatever adjustments made to the formal parameter will affect to the actual parameters
Same reminiscence vicinity is used for each variables.(Formal and Actual)
It is beneficial when you required to go back greater than 1 values.
Pass By Value:
In this technique value of the variable is passed. Changes made to formal will not affect the actual parameters.
Different memory locations can be created for both variables.
Here there can be brief variable created within the function stack which does not affect the authentic variable.
In case of pass via cost, the change inside the sub-function will no longer motive any alternate within the major function while in pass with the aid of reference the exchange within the sub-function will alternate the value in the predominant feature.
Pass via cost sends a COPY of the facts saved within the variable you specify, pass via reference sends a right away link to the variable itself. So if you bypass a variable by reference and then alternate the variable within the block you handed it into, the unique variable will be modified. If you without a doubt skip via value, the unique variable will not be able to be changed by using the block you handed it into however you will get a copy of whatever it contained on the time of the call.
Q11. Define Morphx?
The MorphX Development Suite is the incorporated development surroundings (IDE) in Microsoft Dynamics AX used to expand and customize both the Windows interface and the Web interface.
Q12. What Is The Difference Between Interfaces And Abstract Class?
The elegance imposing is the interface that implements all interface methods and there will now not be any summary Class requirement. There are many get admission to modifiers available like abstract, covered, digital, internal, public and plenty of greater which can be useful in the abstract Classes. Abstract instructions can be very fast whilst in comparison to interfaces.
Abstract elegance incorporates both the unfinished or whole strategies and the interface is the signature for a particular method. The abstract class is the carried out strategies however the interface cannot be an enforce strategies.
The abstract elegance consists of constructors, fields or destructors for imposing the properties. The interface does no longer comprise constructors, fields or destructors however they have got most effective belongings’s signature and not using a implementation.
The summary class does no longer support the a couple of inheritances and the interface supports multiple inheritances. The class also can inherit more number of interfaces however only a single abstract magnificence.
Q13. What Is User Interface Builder Class?
The User Interface Builder Class is the format parameter dialog container which opens while a document is walking in the Microsoft Dynamics AX. The User Interface also adds the customization and additional fields for the conversation.
Some of the UI Builder Class scenarios used are:
Group the dialog fields
Override the dialog area activities
For adding customized research conversation discipline
To bind the conversation fields with agreement parameters
For changing layouts in conversation
Adding more custom controls in conversation
Q14. Differentiate Refresh (), Reread (), Research (), Executequery ()?
Refresh () will no longer reread the report from the database. It essentially just refreshes the screen with whatever is stored in the shape cache.
Reread () will only re-read the CURRENT report from the DB so that you need to not use it to refresh the form records when you have added/removed facts. It’s often used if you alternate a few values within the current document in some code, and commit them to the database the use of .Update() at the desk, in preference to thru the form facts supply. In this situation .Reread () will make those adjustments appear on the form.
Studies() will rerun the prevailing form question in opposition to the information source, therefore updating the list with new/eliminated statistics in addition to updating present ones. This will honour any present filters and sorting at the form.
ExecuteQuery () is some other useful one. It must be used if you have changed the question to your code and want to refresh the form. It’s like research() besides it takes query changes into account.
Q15. What Is Microsoft Dynamics Ax?
Microsoft Dynamics AX is multi-language, multi-foreign money, enterprise-specific, global ERP Product and one of the Microsoft’s Dynamics ERP Family.
Q16. Define X++?
X++ is the item-oriented programming language this is used inside the MorphX surroundings.
Q17. Define Aos?
The Microsoft Dynamics AX Object Server (AOS) is the second one-tier application server inside the Microsoft Dynamics AX 3-tier structure.
The 3-tier surroundings is divided as follows:
First Tier – Intelligent Client
Second Tier – AOS
Third Tier – Database Server
In a 3-tier answer the database runs on a server as the third tier; the AOS handles the commercial enterprise good judgment in the second tier. The skinny customer is the primary tier and handles the consumer interface and vital application logic.
Q18. Why We Use Virtual Companies?
Virtual organisation accounts include facts in certain tables which are shared by means of any wide variety of business enterprise money owed. This lets in customers to post information in a single company in an effort to be available to some other organisation.
