---
title: "Codeunit 8361 Financial Report Export Job, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/points/
object: https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 8361 Financial Report Export Job, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/points/

11 procedures and triggers with a step in src/Layers/W1/BaseApp/Finance/FinancialReports/FinancialReportExportJob.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 18](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L18), trigger.

- [20](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L20) calls `ExportSchedules`
- [21](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L21) calls `ExportPackages`

## ExportSchedules

[Line 35](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L35), local.

- [42](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L42) calls `ExportSchedule`

## ExportSchedule

[Line 46](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L46), local.

- [63](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L63) writes [Table 8361 Financial Report Export Log](https://jonas-paprotka.de/ref/table/8361-financial-report-export-log/) Insert
- [108](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L108) calls `CreateEmailMessage`
- [111](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L111) calls `ExportExcel`
- [114](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L114) calls `ExportPdf`
- [117](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L117) calls [Codeunit 8901 Email](https://jonas-paprotka.de/ref/codeunit/8901-email/) `AddRelation`
- [120](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L120) calls [Codeunit 8901 Email](https://jonas-paprotka.de/ref/codeunit/8901-email/) `Send`
- [125](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L125) calls [Table 8360 Financial Report Schedule](https://jonas-paprotka.de/ref/table/8360-financial-report-schedule/) `CalcNextRunDate`
- [126](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L126) writes [Table 8360 Financial Report Schedule](https://jonas-paprotka.de/ref/table/8360-financial-report-schedule/) Modify

## CreateEmailMessage

[Line 131](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L131), local.

- [141](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L141) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateOutStream`
- [145](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L145) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateInStream`
- [147](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L147) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `Create`

## ExportExcel

[Line 150](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L150), internal.

- [165](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L165) calls [Table 8360 Financial Report Schedule](https://jonas-paprotka.de/ref/table/8360-financial-report-schedule/) `GetReportFilters`
- [167](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L167) calls [Codeunit 18 Financial Report Mgt.](https://jonas-paprotka.de/ref/codeunit/18-financial-report-mgt/) `SetAccScheduleLineFilter`
- [172](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L172) calls [Codeunit 18 Financial Report Mgt.](https://jonas-paprotka.de/ref/codeunit/18-financial-report-mgt/) `CalcAccScheduleLineDateFilter`
- [173](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L173) calls [Report 29 Export Acc. Sched. to Excel](https://jonas-paprotka.de/ref/report/29-export-acc-sched-to-excel/) `SetOptions`
- [182](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L182) calls [Report 29 Export Acc. Sched. to Excel](https://jonas-paprotka.de/ref/report/29-export-acc-sched-to-excel/) `SetUseExistingTemplate`
- [184](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L184) calls [Report 29 Export Acc. Sched. to Excel](https://jonas-paprotka.de/ref/report/29-export-acc-sched-to-excel/) `SetRunForExport`
- [186](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L186) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateOutStream`
- [187](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L187) raises `OnBeforeSaveExcel`, IsHandled
- [189](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L189) calls [Report 29 Export Acc. Sched. to Excel](https://jonas-paprotka.de/ref/report/29-export-acc-sched-to-excel/) `SetSaveToStream`
- [190](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L190) calls [Report 29 Export Acc. Sched. to Excel](https://jonas-paprotka.de/ref/report/29-export-acc-sched-to-excel/) `Execute`
- [191](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L191) calls [Report 29 Export Acc. Sched. to Excel](https://jonas-paprotka.de/ref/report/29-export-acc-sched-to-excel/) `GetSavedStream`
- [193](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L193) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateInStream`
- [195](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L195) calls `CreateInboxEntries`
- [198](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L198) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `AddAttachment`
- [198](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L198) calls [Codeunit 419 File Management](https://jonas-paprotka.de/ref/codeunit/419-file-management/) `CreateFileNameWithExtension`

## ExportPdf

[Line 202](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L202), internal.

- [215](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L215) calls [Table 8360 Financial Report Schedule](https://jonas-paprotka.de/ref/table/8360-financial-report-schedule/) `GetReportParameters`
- [217](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L217) calls [Codeunit 18 Financial Report Mgt.](https://jonas-paprotka.de/ref/codeunit/18-financial-report-mgt/) `SetAccScheduleFilter`
- [219](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L219) calls [Report 25 Account Schedule](https://jonas-paprotka.de/ref/report/25-account-schedule/) `SetFinancialReportName`
- [220](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L220) calls [Codeunit 18 Financial Report Mgt.](https://jonas-paprotka.de/ref/codeunit/18-financial-report-mgt/) `CalcAccScheduleLineDateFilter`
- [221](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L221) calls [Report 25 Account Schedule](https://jonas-paprotka.de/ref/report/25-account-schedule/) `SetDateFilterHidden`
- [224](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L224) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateOutStream`
- [225](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L225) calls [Report 25 Account Schedule](https://jonas-paprotka.de/ref/report/25-account-schedule/) `SetRunForExport`
- [226](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L226) raises `OnBeforeSavePdf`, IsHandled
- [229](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L229) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateInStream`
- [231](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L231) calls `CreateInboxEntries`
- [234](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L234) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `AddAttachment`
- [234](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L234) calls [Codeunit 419 File Management](https://jonas-paprotka.de/ref/codeunit/419-file-management/) `CreateFileNameWithExtension`

## ExportPackages

[Line 238](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L238), local.

- [248](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L248) calls `ExportPackageSchedule`

## ExportPackageSchedule

[Line 252](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L252), local.

- [274](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L274) writes [Table 8375 Fin. Rep. Package Export Log](https://jonas-paprotka.de/ref/table/8375-fin-rep-package-export-log/) Insert
- [304](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L304) calls `InitAccSchFromPackageReport`
- [307](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L307) calls [Report 25 Account Schedule](https://jonas-paprotka.de/ref/report/25-account-schedule/) `AddPackageReportToAppend`
- [309](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L309) calls [Report 25 Account Schedule](https://jonas-paprotka.de/ref/report/25-account-schedule/) `SetRunForExport`
- [310](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L310) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateOutStream`
- [311](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L311) raises `OnBeforeSaveAccountSchedule`, IsHandled
- [314](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L314) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateInStream`
- [320](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L320) calls `CreateInboxEntries`
- [323](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L323) calls `CreatePackageEmailMessage`
- [325](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L325) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `AddAttachment`
- [325](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L325) calls [Codeunit 419 File Management](https://jonas-paprotka.de/ref/codeunit/419-file-management/) `CreateFileNameWithExtension`
- [326](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L326) calls [Codeunit 8901 Email](https://jonas-paprotka.de/ref/codeunit/8901-email/) `AddRelation`
- [329](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L329) calls [Codeunit 8901 Email](https://jonas-paprotka.de/ref/codeunit/8901-email/) `Send`
- [333](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L333) calls [Table 8373 Fin. Report Package Schedule](https://jonas-paprotka.de/ref/table/8373-fin-report-package-schedule/) `CalcNextRunDate`
- [334](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L334) writes [Table 8373 Fin. Report Package Schedule](https://jonas-paprotka.de/ref/table/8373-fin-report-package-schedule/) Modify

## InitAccSchFromPackageReport

[Line 339](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L339).

- [355](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L355) calls [Table 8372 Fin. Report Package Report](https://jonas-paprotka.de/ref/table/8372-fin-report-package-report/) `GetReportParameters`
- [357](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L357) calls [Codeunit 18 Financial Report Mgt.](https://jonas-paprotka.de/ref/codeunit/18-financial-report-mgt/) `SetAccScheduleFilter`
- [359](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L359) calls [Report 25 Account Schedule](https://jonas-paprotka.de/ref/report/25-account-schedule/) `SetFinancialReportName`
- [360](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L360) calls [Codeunit 18 Financial Report Mgt.](https://jonas-paprotka.de/ref/codeunit/18-financial-report-mgt/) `CalcAccScheduleLineDateFilter`
- [361](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L361) calls [Report 25 Account Schedule](https://jonas-paprotka.de/ref/report/25-account-schedule/) `SetDateFilterHidden`
- [363](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L363) calls [Report 25 Account Schedule](https://jonas-paprotka.de/ref/report/25-account-schedule/) `SetPackageCode`

## CreatePackageEmailMessage

[Line 366](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L366), local.

- [374](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L374) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateOutStream`
- [375](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L375) calls [Report 8371 Fin. Rep. Package Export Email](https://jonas-paprotka.de/ref/report/8371-fin-rep-package-export-email/) `SetContext`
- [377](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L377) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateInStream`
- [379](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L379) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `Create`

## CreateInboxEntries

[Line 382](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L382), local.

- [401](https://jonas-paprotka.de/ref/codeunit/8361-financial-report-export-job/source/#L401) writes [Table 477 Report Inbox](https://jonas-paprotka.de/ref/table/477-report-inbox/) Insert(true)

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
