Validate and generate report code

Report Data Designer  •  Article  •  2/2/2026  • 

Validate the report design and generate the required AL code as part of the preparation process prior to deployment to ensure the report functions as expected. To validate and generate report code, follow these steps:

  1. On the Report Data Design Card page, on the action bar, select Validate Report Design.
    The system validates the structure of your report design to ensure all required configurations are complete.
    Validation checks include:
    • All required fields are populated.
    • Table relationships are properly configured.
    • Field selections are compatible with table structures.
    • Calculated field formulas are syntactically correct.
    • Extension dependencies are properly defined.
  2. Review any validation errors or warnings displayed.
    If validation errors exist, correct the issues and validate again.
  3. After succeessful validation, select Generate Report Code on the action bar.
    The system generates the AL code for your report based on the configured tables, fields, calculated fields, filters, and sorting.
    The generated code is stored internally and ready for packaging and deployment.