Posts

Showing posts from 2018

Management Reporter Issue

Dynamics ax 365 display method

As we cannot create new method in exiting (Microsoft don't recommend overlayering) or extension table. We have to create extension class to add display method. First you have to create extension and add display method in it. public static class CustTable_Extension {   [SysClientCacheDataMethodAttribute(true)]   public static display str customerGroup(CustTable_this)  {     CustTable custTable;    select custTable    where custTable.AccountNum== _this.AccountNum;    return custTable.CustGroup;   } } To use this method in form you have to set DataMethod as CustTable_Extension::customerGroup and CacheDataMethod as YES.

The model specified on the project cannot be found

This error occurred when you pull latest code from one machine to another.“ The model <ModelName> specified on the project cannot be found. ”. This occurred because you haven't added descriptor in TFS. To add descriptor first create such folder locally inside your model repository and drag and drop the descriptor folder from there to the TFS branch. Then push your changes.Move to next system get latest and after that you have to refresh the model. To do this go to Dynamics AX and select refresh model. Now build your model hopefully your issue will be resolved.

Dynamics 365 : Breakpoint not hit in Visual studio

Image
Some time while development in Visual Studio and while debugging you receive message "The breakpoint will not currently be hit. No symbols have been loaded for this document." This issue can be resolved by following steps   1. From tool bar go to Dynamics 365 and select option   2. Choose Debugging option from list and uncheck the Load symbols only for items in the solution   Now try again.

Dynamics AX 365 : Create Role, Duties and Privilege From UI

Image
Dynamics 365 comes with lot of new features. One feature i like is the user now able to create new roles, duties and privilege directly from user interface. It does not mean you will not be able create them from AOT, you can create them from AOT as well. This feature is necessary if you using online version of Dynamics 365 because user does not have direct access of production AOT and every change required code promotion which is time consuming. Navigate to System Administrator -> Security -> Security Configuration  First create Privilege  I am creating Privilege for my custom report so i am selecting Output menu items then click on Add reference, new dialog will be opened select your menu item and set permission and click ok.  Repeat same steps for Duties and Roles that is to create or select existing duty/role click Add Reference to select Privilege for Duty or Duty for Role. When you are done with creating your custom role you have to Publish your Privileges, D