ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Codeunit 8800 Custom Layout Reporting - OnSetOutputTypeOnsetOutputMethod
Hello, would it be possible to add OnSetOutputTypeOnsetOutputMethod event to Codeunit 8800 Custom Layout Reporting, like this:
local procedure SetOutputType(ReportID: Integer)
var
OutputMethod: Text;
OptionInt: Integer;
begin
// The request page should have the appropriate parameters set for the chosen output method
OutputMethod := GetOptionValueFromRequestPage(GetRequestParametersText(ReportID), 'ChosenOutputMethod');
//new event begin
OnSetOutputTypeOnsetOutputMethod(OutputMethod);
//new event end
if OutputMethod <> '' then begin
if not Evaluate(OptionInt, OutputMethod) then
Error(OutputNotSupportedErr);
end else
Error(OutputNotSupportedErr);
SetOutputOption(OptionInt);
end;
[IntegrationEvent(false, false)]
local procedure OnSetOutputTypeOnsetOutputMethod(var OutputMethod: Text)
begin
end;
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.