AX / D365FO – How to call an Action Menu Item in a Form event handler

In this example I want to call a menu item every time a Data source record is deleted [FormDataSourceEventHandler(formDataSourceStr(ProjSalesItemReq, SalesLine), FormDataSourceEventType::Deleted)] public static void SalesLine_OnDeleted(FormDataSource sender, FormDataSourceEventArgs e) { Args args = new Args(); FormRun formRun = sender.formRun(); //Get FormRun FormDataSource salesLine_ds = formRun.dataSource(formDataSourceStr(SalesLine, SalesLine)) as FormDataSource; //Get DataSource SalesLine salesLine = salesLine_ds.cursor(); //Get DataSource … Continue reading AX / D365FO – How to call an Action Menu Item in a Form event handler

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 – HOW TO: CREATE A MENU ITEM FOR A REPORT (SSRS)

You can create menu items in Microsoft Dynamics AX to provide access to the reports that you create with the Visual Studio tools for Microsoft Dynamics AX. These menu items are created as output menu items from the Menu Items node in the AOT and can display reports in both the client and in Enterprise Portal Web … Continue reading AX – D365FO – HOW TO: CREATE A MENU ITEM FOR A REPORT (SSRS)