AX – D365FO – Create a “Simple Details w/Standard Tabs” Form

First create a new Table "Al0VendorSearchCriteria" AccounNum is take from VendTable.accountNumStatesId is of type Int64 Al0VendorActicivityId is of type Int64 (taken from another custom table that could be seen in my article : https://d365ffo.com/2021/07/04/ax-d365fo-create-a-simple-and-detail-tree-form/ Create a relation betewwn Al0VendorSearchCriteria and Al0Activity Create Extended data types for the 2 fields Add 2 field s to the … Continue reading AX – D365FO – Create a “Simple Details w/Standard Tabs” Form

AX / D365FO – Make a form editable by default using “Always Open for editing” Property #ax #d365ffo #msdyn365fo

By default in D365FO a form is not immediatly editable. If you want to edit you first have to click on "Edit" button in the top left of the screen (like shown below) If you want a form to be immediatly editable you must open "Options" property and click on "Always open for editing". Next … Continue reading AX / D365FO – Make a form editable by default using “Always Open for editing” Property #ax #d365ffo #msdyn365fo

AX / D365FO – Create a Simple List Form in D365FO #ax #d365fo #msdyn365fo

This is a Simple list form and it's the final result we want to obtain Here are the steps to create a Simple List Form in D365FO Right click on VS Project and Add new item Click on Dynamics 365 Items > User Interface > Form > Insert the Form name > Add Right click … Continue reading AX / D365FO – Create a Simple List Form in D365FO #ax #d365fo #msdyn365fo

AX – D365FO – Save previously used Query in a RunBaseBacth class

If yoou want to save last used Query on a RunBaseBatch class just set TRUE the QueryRun.saveUserSetup() method like show in the example below public QueryRun queryRun() { return gQueryRun; } public void initQueryRun() { Query query = new Query(); QueryBuildDataSource inventJournalTableDS; QueryBuildRange inventJournalStatus; QueryBuildRange inventJournalStatusRange; inventJournalTableDS = query.addDataSource(tableNum(InventJournalTable)); inventJournalStatus = inventJournalTableDS.addRange(fieldNum(InventJournalTable, Posted)); inventJournalStatus = … Continue reading AX – D365FO – Save previously used Query in a RunBaseBacth class