Introduction: In Dynamics NAV, we can code to select multiple records on a page at a time and modify the selected records at once.
To demonstrate the same, I will be creating a custom action on a page which will modify all the records selected by the user.
Pre-Requisite:
Microsoft Dynamics NAV
Procedure:
- I have created a custom table which stores ‘Employee Details’ as shown below

- On the above shown page, a Boolean field is present viz. ‘Experienced Employee’. Also I have created a custom action ‘Select Experienced Employees’ in actions.

The above action when clicked will modify the selected employee records and check the ‘Experienced Employee’ Boolean variable.
- The C/AL code written in the action ‘Select Experienced Employee’ is as follows:

- Now, I will be selecting Employee Nos. E0001, E0003 and E0004 and click the action ‘Select Experienced Employees’ which will check the ‘Experienced Employee’ Boolean variable.


Thank you!

Like
Report
*This post is locked for comments