AX / D365FO – How to use Reference Group in a form in AX 2012

Reference Group control of a form will show the User needed fields like Name or any other specific field instead of a RecId but will save only RecId upon user selection in the backend. To use this Feature we need to use Replacement Key of a Table.Ø  Index Specified in Replacement key of a table will … Continua a leggere AX / D365FO – How to use Reference Group in a form in AX 2012

AX – D365FO – Create Reference and Replacement groups

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 datat types for the 2 fields Create a new form of type … Continua a leggere AX – D365FO – Create Reference and Replacement groups

AX – D365FO – Add a new Reference group parameter in a Setup Form

In this example we'll explain how to add a new parameter in the "Project and Sourcing" menu, under "Procurement and sourcing parameters" Form Expected result : This is te expected result we want to obtain To do this in X++ : Create an extension of the "VendorInformationFormConfiguration" table Add a new field "Al0IssuerPartyDefaultValue" of type … Continua a leggere AX – D365FO – Add a new Reference group parameter in a Setup Form