We have an extension I am using to customize our reports.
I was wondering what people thought about combining multiple sales reports to use the same template with different headings. e.g. sales quote, sales order etc.
It looks like this is the default way reports are filtered in .al
DataItemTableView = SORTING("Document Type", "No.") WHERE("Document Type" = CONST(Quote));
I am thinking I can use this view to select a different document type.
Regardless if the above will work or not, is this a good approach or will I run into other issues. The documents I am combining are essentially the same, just with different Document Labels like "Order Confirmation" etc.