AX – D365FO – Cannot see newly created data source on a ListPage Form

When you come back to list page and try to restore the form you will not be able to see the new data source. To do this right click on the data source node and again define the name of the query. This will reload the new structure from the query. 4. Then you can view … Continua a leggere AX – D365FO – Cannot see newly created data source on a ListPage Form

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 … Continua a leggere 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 … Continua a leggere 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 … Continua a leggere 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; … Continua a leggere AX – D365FO – How to access Args Parameters inside dialog() in a runbasebatch class?

AX – D365FO – Add a field in a lookup with AutoLookup field Group

I have a lookup in "Released product" form that is linked to a custom table. When I open the lookup I see only one field (Id code), but cannot see the description The description is a field of the custom table so I must add to the lookup to see it. How to to do … Continua a leggere AX – D365FO – Add a field in a lookup with AutoLookup field Group

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 … Continua a leggere 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 … Continua a leggere 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 … Continua a leggere 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 … Continua a leggere AX – D365FO – Setting Default Values on a New Record in a Grid