25 February 2021

D365FO COC methods and usage

How to get Form data source field method COC current record:

FormDataObject dataObject = any2Object(this) as FormDataObject;

FormDataSource dataSource = dataObject.DataSource();

CustGroup custGroup = dataSource.cursor();


No comments:

Post a Comment

Give me the commetns and solutions

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.