Codeunit 8361 Financial Report Export Job

Base Application, Microsoft.Finance.FinancialReports

Source AL, 421 lines

src/Layers/W1/BaseApp/Finance/FinancialReports/FinancialReportExportJob.Codeunit.allines 14 to 29 of 421, Copyright (c) Microsoft Corporation. MIT

codeunit 8361 "Financial Report Export Job"{    Access = Internal;    trigger OnRun()    begin        ExportSchedules();        ExportPackages();    end;    var        FileMgt: Codeunit "File Management";        FinReportMgt: Codeunit "Financial Report Mgt.";        EmailSubjectLbl: Label 'Financial Report: %1', Comment = '%1 = report description.';        PackageEmailSubjectLbl: Label 'Financial Report Package: %1', Comment = '%1 = report description.';        ExcelContentTypeTxt: Label 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', Locked = true;

All 421 lines

Events 3 in 29

[IntegrationEvent] OnBeforeSavePdf(FinancialReportSchedule: Record "Financial Report Schedule"; FinancialReport: Record "Financial Report"; AccScheduleParam: Text; var AccountSchedule: Report "Account Schedule"; var OutStr: OutStream; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnBeforeSaveExcel(FinancialReportSchedule: Record "Financial Report Schedule"; FinancialReport: Record "Financial Report"; var ExportAccSchedToExcel: Report "Export Acc. Sched. to Excel"; var OutStr: OutStream; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnBeforeSaveAccountSchedule(FinRepPackageSchedule: Record "Fin. Report Package Schedule"; FinRepPackageReport: Record "Fin. Report Package Report"; AccScheduleParam: Text; var AccountSchedule: Report "Account Schedule"; var OutStr: OutStream; var IsHandled: Boolean)new in 29

Public procedures 1 in 29

InitAccSchFromPackageReport(var AccountSchedule: Report "Account Schedule"; var FinReportPackageReport: Record "Fin. Report Package Report"): Textnew in 29

All 3 procedures in 28-29

Changes 4 in 29

List17181920212223242526272829
Procedures3
Events1
internal ExportExcel(FinancialReportSchedule: Record "Financial Report Schedule"; FinancialReport: Record "Financial Report"; ReportDescription: Text[250]; LogSystemId: Guid; var UserNames: List of [Text[50]]; var EmailMessage: Codeunit "Email Message")new in 28changed in 29
changed, was internal ExportExcel(FinancialReportSchedule: Record "Financial Report Schedule"; FinancialReport: Record "Financial Report"; ReportDescription: Text[250]; LogSystemId: Guid; var UserNames: List of [Text[65]]; var EmailMessage: Codeunit "Email Message")
internal ExportPdf(FinancialReportSchedule: Record "Financial Report Schedule"; FinancialReport: Record "Financial Report"; ReportDescription: Text[250]; LogSystemId: Guid; var UserNames: List of [Text[50]]; var EmailMessage: Codeunit "Email Message")new in 28changed in 29
changed, was internal ExportPdf(FinancialReportSchedule: Record "Financial Report Schedule"; FinancialReport: Record "Financial Report"; ReportDescription: Text[250]; LogSystemId: Guid; var UserNames: List of [Text[65]]; var EmailMessage: Codeunit "Email Message")
InitAccSchFromPackageReport(var AccountSchedule: Report "Account Schedule"; var FinReportPackageReport: Record "Fin. Report Package Report"): Textnew in 29
added
[IntegrationEvent] OnBeforeSaveAccountSchedule(FinRepPackageSchedule: Record "Fin. Report Package Schedule"; FinRepPackageReport: Record "Fin. Report Package Report"; AccScheduleParam: Text; var AccountSchedule: Report "Account Schedule"; var OutStr: OutStream; var IsHandled: Boolean)new in 29
added

All 4 changes in 28-29