AX 2012: Enable Disable Buttons on PurchTable SalesTable Forms

To enable/disable buttons on PurchTable/SalesTable form, you can customize their respective interaction classes: 1. Classes\PurchTableInteraction 2. Classes\PurchTableInteractionHelper 3. Classes\SalesTableInteraction 4. Classes\SalesTableInteractionHelper Let's say, for example, I want to enable the Configure line button under Product and Supply menu: All you need to do is to find and customize the right method which controls the enabling/disabling... Continue Reading →

AX 2012: Chart in SSRS Report

Prerequisites: 1. Reporting services extensions must be installed 2. Visual Studio tools must be installed 3. Dynamics AX should be connected to Reporting services instance In this post we'll learn how to create data visualization in SSRS report using Pie or Doughnut chart. We'll be creating a query based AutoDesign report. This is how our report will... Continue Reading →

AX 2012: Creating enhanced inbound port

Prerequisites: 1. Full compile has been performed revealing no errors 2. Full CIL has been performed successfully 3. Incremental CIL has been performed after compiling the new service class To create an enhanced inbound port for your custom service, please follow the steps below: 1. Right click on the service node, CustomerService in this case,... Continue Reading →

AX 2012: Using Temporary Table as Form’s Datasource

First add a method on the form to populate records in the temporary table: public LabelsTable populateRecords() { SysDictTable dictTable = new SysDictTable(tableNum(PurchLine)); SysDictField dictField; TreeNode treeNode; LabelsTable labelsTableLocal; // Temporary table (InMemory) FieldId fieldId = dictTable.fieldNext(0); while (fieldId) { dictField = dictTable.fieldObject(fieldId); if (dictField.isSql() && !dictField.isSystem() && dictField.name() != "Modified") { treeNode = dictField.treeNode();... Continue Reading →

Blog at WordPress.com.

Up ↑