---
id: object/codeunit/8361
type: object
title: Codeunit 8361 "Financial Report Export Job"
summary: Codeunit 8361 "Financial Report Export Job" in Base Application (Microsoft.Finance.FinancialReports). 3 public procedures, 3 events. Introduced in BC28, still in BC30, changed in BC29.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "28"
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 2e9d74d9351d0738a641e5c47cc7a154c343b6d6effc2328472d05acca6657f0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/FinancialReports/FinancialReportExportJob.Codeunit.al
    title: src/Layers/W1/BaseApp/Finance/FinancialReports/FinancialReportExportJob.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 8361
name: Financial Report Export Job
namespace: Microsoft.Finance.FinancialReports
app: Base Application
extends: null
first_version: "28"
last_version: "30"
present_in:
  - "28"
  - "29"
  - "30"
changed_in:
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 13
  events: 3
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 1
  implements: 0
---

# Codeunit 8361 "Financial Report Export Job"

> Codeunit 8361 "Financial Report Export Job" in Base Application (Microsoft.Finance.FinancialReports). 3 public procedures, 3 events. Introduced in BC28, still in BC30, changed in BC29.

Base Application · Microsoft.Finance.FinancialReports · BC28-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/FinancialReports/FinancialReportExportJob.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |

## Events published

- `OnBeforeSavePdf(FinancialReportSchedule: Record "Financial Report Schedule"; FinancialReport: Record "Financial Report"; AccScheduleParam: Text; var AccountSchedule: Report "Account Schedule"; var OutStr: OutStream; var IsHandled: Boolean)` (integration)
- `OnBeforeSaveExcel(FinancialReportSchedule: Record "Financial Report Schedule"; FinancialReport: Record "Financial Report"; var ExportAccSchedToExcel: Report "Export Acc. Sched. to Excel"; var OutStr: OutStream; var IsHandled: Boolean)` (integration)
- `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)` (integration)

## Procedures

- `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")` (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")` (internal)
- `InitAccSchFromPackageReport(var AccountSchedule: Report "Account Schedule"; var FinReportPackageReport: Record "Fin. Report Package Report"): Text`

Plus 7 local procedures.

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (10 calls: `CreateEmailMessage → CreateInStream`, `CreateEmailMessage → CreateOutStream`, `CreatePackageEmailMessage → CreateInStream`, …)
- [Codeunit 18 "Financial Report Mgt."](../codeunit/18.md) (6 calls: `ExportExcel → CalcAccScheduleLineDateFilter`, `ExportExcel → SetAccScheduleLineFilter`, `ExportPdf → CalcAccScheduleLineDateFilter`, …)
- [Codeunit 8904 "Email Message"](../codeunit/8904.md) (5 calls: `CreateEmailMessage → Create`, `CreatePackageEmailMessage → Create`, `ExportExcel → AddAttachment`, …)
- [Codeunit 8901 "Email"](../codeunit/8901.md) (4 calls: `ExportPackageSchedule → AddRelation`, `ExportPackageSchedule → Send`, `ExportSchedule → AddRelation`, …)
- [Codeunit 419 "File Management"](../codeunit/419.md) (3 calls: `ExportExcel → CreateFileNameWithExtension`, `ExportPackageSchedule → CreateFileNameWithExtension`, `ExportPdf → CreateFileNameWithExtension`)

## Called by

- [Report 25 "Account Schedule"](../report/25.md) (1 call: `AppendPackageReport → InitAccSchFromPackageReport`)

## Across versions

- Present in: BC28-30
- Changed (declaration) in: BC29

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Financial Report Export Job")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
