07 April 2010

How to read one element from dimensions in Forms and Reports

Use Display Method

Display SysDim department()
{
return VendTable_1.Dimension[1];//Here 1 means Department Element

}

How to add the Display method in the form level in D365 F&O

 The below examle is to add the form -Data source level adding display method and assigning to form design control.