AX – D365FO – Unable to to Add/Update the Data Source on a ListPage in Microsoft Dynamics AX 2012

You CANNOT drag and drop a data source into a list page.  This is different than most forms, so it always stumps me! Instead, right click on the ‘Data Sources’ node within the form.  The query property sets the data source. If you’ve modified the query and would like to refresh it, you must change the … Continue reading AX – D365FO – Unable to to Add/Update the Data Source on a ListPage in Microsoft Dynamics AX 2012

AX – D365FO – Add an hyperlink to a Form field to open the master data FOrm of that field

I have a form that contains a field called "IFRS code". I want to add an hyperlink to this field to open a form that contains the master table for that field when clicking on it (like below) If you do nothing you get this error while clicking on the field To solve the problem … Continue reading AX – D365FO – Add an hyperlink to a Form field to open the master data FOrm of that field

AX – D365FO – Change Action pane and buttons Style on a AX 2012 Form

I created a Form wirth an action pane and a grid . The action pane contains 2 command buttons (one for records creations and the other for records deletion). The buttons style is very very ugly, beacause they have only text and are not horizzontally aligned (see image below) I want to obtain a better … Continue reading AX – D365FO – Change Action pane and buttons Style on a AX 2012 Form

AX – D365FO – How to access Args Parameters inside dialog() in a runbasebatch class?

I want to pass the Args.parm() value from Main() method of a RunBaseBatch to the dialog() method of the same RunBaseBatch. First of all declare a new string variable called "argsParm" in the declaration method of the RunBaseBatch class and add it to the #localMacro.CurrentList macro /// </remarks> class TaxReport extends RunBaseBatch { NoYes updateNow; … Continue reading AX – D365FO – How to access Args Parameters inside dialog() in a runbasebatch class?

AX – D365FO – Personalize Your Screens in Microsoft Dynamics AX 2012 (add new fields)

One of the great draws of Microsoft Dynamics AX is that the user interface feels familiar.  I think we can all agree that the end user has a better chance of adapting the new technology when this is the case.  The users might even appreciate the software more when things feel built especially for them.  Fortunately, in … Continue reading AX – D365FO – Personalize Your Screens in Microsoft Dynamics AX 2012 (add new fields)

AX – D365FO – How to solve error : The number of joins in the statement is 31. This exceeds the maximum of 26.

When modifying some base forms to include new tables you might get the error The number of joins in the statement is 31. This exceeds the maximum of 26.  Turn on exception for this warning to see the call stack. In order to fix this we need to bump the max limit (default is 26.) We … Continue reading AX – D365FO – How to solve error : The number of joins in the statement is 31. This exceeds the maximum of 26.

AX – D365FO – How to solve Error: Unable to View details, no form exists for table ‘Table name’

The above error will popup when we try to open the “View Details” of any particular field in a form. Solution for this issue is either : We create a display menu item name with the same name as our table and assign to the right form OR We’ve to set display menu item in … Continue reading AX – D365FO – How to solve Error: Unable to View details, no form exists for table ‘Table name’

AX – D365FO – Setting Default Values on a New Record in a Grid

Setting default values on a new record in a Grid is a simple task. To do this, you need to override the initValue() method on the Form's Data Source. Let say I have a Table named tblDefault which contains two fields TheDate, which is a UtcDateTime type, and Who, which is a String type. In my example, I want the TheDate field to default to … Continue reading AX – D365FO – Setting Default Values on a New Record in a Grid

AX – D365FO – Saved viewS

Personalization plays an important role in allowing users and organizations to optimize the user experience to meet their needs. By using the Saved views functionality, users can save multiple sets of personalization. For example, a Warehouse manager needs to view the All shipments list page by Site and Warehouse. Instead of filtering the data daily, the Warehouse manager saves each filtered list … Continue reading AX – D365FO – Saved viewS