Codeunit 5281 "Audit Data Handling SAF-T"
SAF-T · Microsoft.Finance.AuditFileExport
Across versions
- BC23-28not present
- BC29present
- BC30changed
Neighbourhood 5 connected objects and pages
SAF-T · Microsoft.Finance.AuditFileExport · BC29-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Event subscriptions
- OnBeforeModifyAuditFileExportHeaderToStartExport subscribes to Codeunit “Audit File Export Mgt.” OnBeforeModifyAuditFileExportHeaderToStartExport
Procedures
GetUIVisibility(var FieldVisibility: Dictionary of [Text, Boolean]; var ActionVisibility: Dictionary of [Text, Boolean])LoadStandardAccounts(StandardAccountType: Enum "Standard Account Type"): BooleanCreateAuditFileExportLines(var AuditFileExportHeader: Record "Audit File Export Header")(internal)GenerateFileContentForAuditFileExportLine(var AuditFileExportLine: Record "Audit File Export Line"; var TempBlob: Codeunit "Temp Blob")(internal)GetFileNameForAuditFileExportLine(var AuditFileExportLine: Record "Audit File Export Line"): Text[1024](internal)InitAuditExportDataTypeSetup()(internal)
Plus 3 local procedures.
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 5261 “Audit File Export Mgt.” (2 calls:
CreateAuditFileExportLines → InsertAuditFileExportLine,InsertExportLineForGLEntries → InsertAuditFileExportLine) - Codeunit 10 “Type Helper” (1 call:
GetFileNameForAuditFileExportLine → GetCurrentDateTimeInUserTimeZone) - Codeunit 5280 “SAF-T Data Mgt.” (1 call:
GetFileNameForAuditFileExportLine → GetXmlFileName) - Codeunit 5289 “Generate File SAF-T” (1 call:
GenerateFileContentForAuditFileExportLine → GenerateFileContent)
Called by
- Page 5280 “SAF-T Wizard” (2 calls:
DoActionOnNext → LoadStandardAccounts,OnOpenPage → InitAuditExportDataTypeSetup)
Implements
Recent changes
- 2026-11-12 #11849 [Master] - Slice 611452: [AT][IC][RegF] Enable Danish SAF-T to be used in Austria and Iceland (main, BC30, feature)
- 2026-10-20 #9104 Delocalize Export G/L Entries to XML into Audit File Export framework (main, BC30, feature)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Export data for auditing — possibly related: Explains Audit Files Export extension for exporting GL and VAT entries in SAF-T format (model-linked)
- Set Up and Export Norwegian SAF-T Files — possibly related: Documents SAF-T setup and generation for Business Central with version support (model-linked)
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: "Audit Data Handling SAF-T"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.