D365F&O - X++ - set display method from table extension in form control
1- Right click on the table and click "create extension" and write your display method.
[ExtensionOf(tableStr(CustTrans))]
final class CustTransTable_Extension
{
public display CustGroupId getCustGroup()
{
return CustTable::find(this.AccountNum).CustGroup;
}
}
2- Go to the control where you want to set the display method set display method as below
Comments
Post a Comment