9
When running batch reports (like Customer Statements) from BC Web Client

The output PDF files are zipped for download to client.

However the file name is fixed format and can't be set. Which is limitation.

Idea is to include some integration events to allow the Filename to be set by AL EXTENSION Event Handler

For example:

Integration Events added to Codeunit 8800 Procedure "Custom Layout Reporting"

Potentialling in here:

local procedure GenerateFileNameForReport(ReportID: Integer; Extension: Text; FilePath: Text; DataRecRef: RecordRef): Text[250]

NEW EVENT OnAfterGenerateFileNameForReport((ReportID: Integer; Extension: Text; FilePath: Text; DataRecRef: RecordRef): Text[250]; VAR GeneratedName: Text[250])

For Example -as a subscriber - I could then examine the DataRecRef and Update the GeneratedName - for example to include the Customer."No." in the name....

Many Thanks in Advance
Category: General
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.

Best regards,
Business Central Team

Comments

S

Now Added to GitHub #8404

Category: General

S

In practise this requirement could also be met in most use cases by allowing a user configured selection of key fields - including the primary key and name fields

Category: General