AX 2012: How to use JumpRef method
JumpRef method is mostly used with fields which are not linked with an EDT however, this depends on the design of the code and the requirement.I got a requirement to show 'View Details' options to the...
View ArticleDynamics 365 AX7 - Configure Visual Studio for better expereince
Few settings to configure in Microsoft Visual Studio to make the development experience with AX a little smoother.Go to Dynamics 365 OptionsSet Projects Options - organize project by element typeSet...
View ArticleDynamics 365 AX7 - Create Model and Project - Development Part 1
This post describes how to create model with correct selection of package which leads to correct development approach either Extension or Overlayering (Customization)Go to Dynamics 365 or AX7 | Deploy...
View ArticleMS D365 - Development Exam - A brief outlook
Having passed the Microsoft Dynamics 365 Development Introduction exam (MB6-890), here are few thoughts on the exam which might help someone who is planning to appear in this exam.If you are an...
View ArticleMS Dynamics 365 - Configure Visual Studio for better expereince
Few settings to configure in Microsoft Visual Studio to make the development experience with AX a little smoother.Go to Dynamics 365 OptionsSet Projects Options - organize project by element typeSet...
View ArticleMicrosoft Dynamics 365 for Operations - Selecting a correct form pattern - A...
Selecting an appropriate form pattern has never been that easy. https://ax.help.dynamics.com/en/wiki/how-to-select-a-form-pattern/This explains, which form pattern will suit your requirements with...
View ArticleMicrosoft Dynamics 365 for Operations - Number sequence
Number sequence framework in there for a while with the release of AX 2012 however, with the arrival of D365 we need to make a small addition on top of what we have been doing in AX 2012.All steps...
View ArticleHow to: Generate number sequence for new developed module in AX 2012
In this post I am going to create a number sequence for newly developed module in AX 2012. 1. Add a new element in NumberSeqModule baseenum with your new module name2. Create a new Class...
View ArticleAX 2012 : Add/Remove Dynalink through X++
DynaLinks can be removed and added between datasources on form using this code;ClearDynaLinks() will remove all existing dynaLinks [these can be seen by right click on the click > Personalise >...
View ArticleD365O - Import CSV data through Data entity
Data entity is a new concept comes with D365O release where each entity related data can be accessed from a single view.A data entity is an abstraction from the physical implementation of database...
View ArticleD365O - How to add financial dimension in grid
This post outlines the steps; how to add financial dimensions (segmented control) in a grid in D365O.Let's assume we are adding new table and form for below explanation;New table contains two fields...
View ArticleAX 2012 - Username and password keeps prompt on Home | Role center page
After Enterprise portal in being installed and have configured in AX 2012, sometimes username and password keeps prompt for Home | Role Center page. However, this is irrespective to AX as any web...
View ArticleAX 2012: StrFind and StrScan functions
Two standard functions strFind and strScan can be used based on business requirement for find a special character from an input string.Here is an example with both functions;Both functions return...
View ArticleAX 2012: Attach documents or creates notes through X++
Came across a requirement to attach documents and create notes for a sales order after reading files from directories.Documents can be attached to a sales order manually from the following button.Code...
View ArticleAX 2012: Reading XML Nodes through X++
XML to readX++ Code XmlDocument doc; XmlNodeList xmlScriptList; XmlNodeList xmlResponseList; XmlNodeList xmlTemplateList; XmlElement nodeScript; XmlElement...
View ArticleAX 2012: Reading XML Nodes under specific tag through X++
XML to readX++ Code For above XML structure, I will read all nodes exist within each InstructorAPIModel node. The getElementsByTagName() method of XmlDocument class can be used which returns...
View ArticleAX 2012: Create sales order with delivery address from an XML file
Code snippet to create a sales order from an XML file.privatevoid createSOFromFile(){ AxdSalesOrder salesOrder; AifEntityKey key; Filename fileName; RecId...
View ArticleAX 2012: Reading files from directory through X++
Following code can be used to read files from the specified path. With this example, I am reading a CSV files from a directory.Class declarationclass readFilesFromDirectory extends RunBase{ FilePath...
View ArticleAX 2012 : Remove an XML node through X++
Following code snippet may help you to remove an XML node from an XML message string.privatestr removeXMLTag(str xml){ XmlDocument doc = new XmlDocument(); XmlElement nodeScript;...
View ArticleD365O - How to get current worker through X++
The current user or worker could be retrieved through following code since AX 2012DirPersonUser::currentWorker()However, In Dynamics 365 for operation this has refactored...
View Article