Auto search on form data source

Following scenario: You are creating a new form in AX2012. You are adding a form data source, for example the ProdTable, inserting some fields to the interface. But you don’t want the form to show always the first dataset of the ProdTable on your form fields. In that case you can set the property “AutoSearch” … Read moreAuto search on form data source

Form data source overwrite lookup || AX 2012

You can use the following code overwriting the default lookup method on a form data source field:   public void lookup(FormControl _formControl, str _filterStr) { Query query = new Query(); QueryBuildDataSource qbds; QueryBuildDataSource qbdsJoin; // Instantiate sysTableLookup object using table which will provide the visible fields SysTableLookup sysTableLookup = sysTableLookup::newParameters(tableNum(VendTable), _formControl); ;   qbds= query.addDataSource( … Read moreForm data source overwrite lookup || AX 2012