Converting an existing C/AL report into AL

Making small modifications to an existing report is a very common task. Together with creating new pages and codeunits, this is probably one of the most repetitive and frequent jobs for a developer.

Let's say that we would like to make the following changes to the standard sales order report:

  • Show the Customer Category field in the sales order header
  • Print GIFT in the sales lines for item lines with 100% discount

The current version of the AL Language extension does not have any artifact such as the ReportExtension object that could be used to modify or merge existing reports. Therefore, it is always required to create a brand new report from scratch, even if we need to make very small modifications ...

Get Mastering Microsoft Dynamics 365 Business Central now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.