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
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
STATUS DETAILS
Needs Votes
Business Central Team (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