Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You will often want to run a report on a specific record. This recipe will show you how to set the record that the report will use to execute.
1. Create a new report by following the Using the Report Generation Wizard recipe.
2. Save and close the report.
3. Create a new codeunit from Object Manager.
4. Add the following global variable: