You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Codeunit 10250, please include the OnBeforeCustomLayoutProcessReport event within the RunWithRecord procedure.
Available Code:
// Run reports
CustomLayoutReporting.SetRunReportOncePerFilter(true);
CustomLayoutReporting.SetOutputFileBaseName('Remittance Advice');
CustomLayoutReporting.ProcessReport();
Required Code with a new event request:
CustomLayoutReporting.SetRunReportOncePerFilter(true);
CustomLayoutReporting.SetOutputFileBaseName('Remittance Advice'); OnBeforeCustomLayoutProcessReport(CustomLayoutReporting);
CustomLayoutReporting.ProcessReport();
[IntegrationEvent(false, false)]
local procedure OnBeforeCustomLayoutProcessReport(var CustomLayoutReporting: Codeunit "Custom Layout Reporting";)
begin
end;
Additional context
This new event is necessary to enable subscription for implementing custom code and to provide the option to bypass the base code when needed.
The text was updated successfully, but these errors were encountered:
Describe the request
In Codeunit 10250, please include the OnBeforeCustomLayoutProcessReport event within the RunWithRecord procedure.
Available Code:
// Run reports
CustomLayoutReporting.SetRunReportOncePerFilter(true);
CustomLayoutReporting.SetOutputFileBaseName('Remittance Advice');
CustomLayoutReporting.ProcessReport();
Required Code with a new event request:
CustomLayoutReporting.SetRunReportOncePerFilter(true);
CustomLayoutReporting.SetOutputFileBaseName('Remittance Advice');
OnBeforeCustomLayoutProcessReport(CustomLayoutReporting);
CustomLayoutReporting.ProcessReport();
[IntegrationEvent(false, false)]
local procedure OnBeforeCustomLayoutProcessReport(var CustomLayoutReporting: Codeunit "Custom Layout Reporting";)
begin
end;
Additional context
This new event is necessary to enable subscription for implementing custom code and to provide the option to bypass the base code when needed.
The text was updated successfully, but these errors were encountered: