Codeunit 5261 "Audit File Export Mgt."
AuditFileExport · Microsoft.Finance.AuditFileExport
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 13 connected objects and pages
AuditFileExport · Microsoft.Finance.AuditFileExport · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Audit File Export Header |
Events published
OnBeforeScheduleTask(var DoNotScheduleTask: Boolean; var TaskID: Guid)(integration)OnBeforeCancelTask(var DoNotCancelTask: Boolean)(integration)OnAuditFileExportLineCompleted(var AuditFileExportHeader: Record "Audit File Export Header")(integration)- subscribers: Codeunit 5261 “Audit File Export Mgt.” CreateFileOnAuditFileExportLineCompleted
OnBeforeModifyAuditFileExportHeaderToStartExport(var AuditFileExportHeader: Record "Audit File Export Header")(integration)- subscribers: Codeunit 5281 “Audit Data Handling SAF-T” OnBeforeModifyAuditFileExportHeaderToStartExport
Event subscriptions
- CreateFileOnAuditFileExportLineCompleted subscribes to Codeunit “Audit File Export Mgt.” OnAuditFileExportLineCompleted
Procedures
StartExport(var AuditFileExportHeader: Record "Audit File Export Header")DeleteExport(var AuditFileExportHeader: Record "Audit File Export Header")ThrowNoParallelExecutionNotification()RestartTaskOnExportLine(var AuditFileExportLine: Record "Audit File Export Line")SendTraceTagOfExport(Category: Text; TraceTagMessage: Text)SendTraceTagError(CategoryText: Text; TraceTagMessage: Text)UpdateExportStatus(var AuditFileExportHeader: Record "Audit File Export Header")StartExportLinesNotStartedYet(AuditFileExportHeader: Record "Audit File Export Header")ShowActivityLog(AuditFileExportLine: Record "Audit File Export Line")ShowErrorOnExportLine(AuditFileExportLine: Record "Audit File Export Line")LogSuccess(AuditFileExportLine: Record "Audit File Export Line")LogError(AuditFileExportLine: Record "Audit File Export Line")NotifyAuditFileExportLineCompleted(var AuditFileExportHeader: Record "Audit File Export Header")GenerateAuditFileWithCheck(var AuditFileExportHeader: Record "Audit File Export Header")GenerateAuditFile(var AuditFileExportHeader: Record "Audit File Export Header")DownloadFileFromExportHeader(AuditFileExportHeader: Record "Audit File Export Header")DownloadAuditFile(var AuditFile: Record "Audit File")DownloadFileFromAuditFileExportLine(var AuditFileExportLine: Record "Audit File Export Line")DeleteAuditFiles(AuditFileExportHeader: Record "Audit File Export Header")AuditFileExists(AuditFileExportHeader: Record "Audit File Export Header"): BooleanInsertAuditFileExportLine(var AuditFileExportLine: Record "Audit File Export Line"; var LineNo: Integer; AuditFileExportHeaderID: Integer; DataClass: Enum "Audit File Export Data Class"; DescriptionValue: Text; StartingDate: Date; EndingDate: Date)CompleteAuditFileExportLine(var AuditFileExportLine: Record "Audit File Export Line"; FileContentInStream: InStream; AuditFileName: Text[1024])UpdateProgressBarOnAuditFileExportLine(var AuditFileExportLine: Record "Audit File Export Line"; ProgressFraction: Integer)
Plus 20 local procedures.
Relations
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 425 “Data Compression” (8 calls:
GenerateSingleZipFileForAllLines → AddEntry,GenerateSingleZipFileForAllLines → CloseZipArchive,GenerateSingleZipFileForAllLines → CreateZipArchive, …) - Codeunit 4100 “Temp Blob” (4 calls:
GenerateSingleZipFileForAllLines → CreateInStream,GenerateSingleZipFileForAllLines → FromRecord,GenerateZipFileForEachLine → CreateInStream, …) - Codeunit 10 “Type Helper” (3 calls:
CompleteAuditFileExportLine → GetCurrentDateTimeInUserTimeZone,StartExport → GetCurrentDateTimeInUserTimeZone,UpdateExportStatus → GetCurrentDateTimeInUserTimeZone) - Codeunit 28 “Error Message Management” (2 calls:
PreExportCheck → Activate,PreExportCheck → GetLastErrorID) - Codeunit 27 “Confirm Management” (1 call:
GenerateAuditFileWithCheck → GetResponseOrDefault) - Codeunit 29 “Error Message Handler” (1 call:
PreExportCheck → ShowErrors) - Codeunit 5263 “Audit File Export Error Handl.” (1 call:
RunGenerateAuditFileOnSingleLine → (object)) - Codeunit 5265 “Audit Line Export Runner” (1 call:
RunGenerateAuditFileOnSingleLine → (object))
Called by
- Codeunit 5263 “Audit File Export Error Handl.” (4 calls:
OnRun → LogError,OnRun → SendTraceTagOfExport,OnRun → StartExportLinesNotStartedYet, …) - Codeunit 5281 “Audit Data Handling SAF-T” (2 calls:
CreateAuditFileExportLines → InsertAuditFileExportLine,InsertExportLineForGLEntries → InsertAuditFileExportLine) - Codeunit 5265 “Audit Line Export Runner” (1 call:
OnRun → CompleteAuditFileExportLine) - Page 5267 “Audit File Export Doc. Card” (1 call:
OnOpenPage → ThrowNoParallelExecutionNotification) - Table 5265 “Audit File Export Header” (1 call:
OnDelete → DeleteExport)
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 File Export Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.