Codeunit 8126 "Report Filename Subscribers"
ReportFilenameManager · Microsoft.Foundation.Reporting.FileNaming
Across versions
- BC23-29not present
- BC30present
ReportFilenameManager · Microsoft.Foundation.Reporting.FileNaming · BC30 · source at d2abc1d2 · facts from BC30
Properties
| Property | Value |
|---|---|
| Access | Internal |
Events published
OnAfterNamingDelivery(ReportId: Integer; Channel: Enum "Report Filename Output Route"; FileName: Text)(integration): FOR TESTS ONLY - nothing in the app subscribes, and being internal, only the test app can. Subscriber order is unspecified, so a test on the platform’s naming event may run first and see no name; nothing after that event shows it.
Event subscriptions
- ClassifyDataSensitivity subscribes to Codeunit “Data Classification Eval. Data” OnCreateEvaluationDataOnAfterClassifyTablesToNormal
- OnGetFilename subscribes to Codeunit “ReportManagement” OnGetFilename
- OnAfterSubstituteReport subscribes to Codeunit “ReportManagement” OnAfterSubstituteReport
- OnBeforeGetAttachmentFileName subscribes to Codeunit “Document-Mailing” OnBeforeGetAttachmentFileName
- OnBeforeSendToDiskForCustomer subscribes to Table “Report Selections” OnSendToDiskForCustOnBeforeSendFileLoop
- OnBeforeDownloadAttachment subscribes to Table “Report Selections” OnSendToDiskForCustOnBeforeDownloadAttachment
- OnBeforeSendToDiskForVendor subscribes to Table “Report Selections” OnSendToDiskForVendOnBeforeSendFileLoop
- OnBeforeSendEmail subscribes to Codeunit “Document-Mailing” OnBeforeSendEmail
- OnBeforeZipFileForCustomer subscribes to Table “Report Selections” OnSendToZipForCustOnBeforeSendFileLoop
- OnBeforeZipFileForVendor subscribes to Table “Report Selections” OnSendToZipForVendOnBeforeSendFileLoop
- NameThroughGetAttachmentFileName subscribes to Table “Electronic Document Format” OnBeforeGetAttachmentFileName
- OnBeforeElectronicDocument subscribes to Table “Electronic Document Format” OnSendElectronicallyOnBeforeRecordExportBufferInsert
- OnBeforeSendToCustomer subscribes to Table “Document Sending Profile” OnBeforeSend
- OnBeforeSendToVendor subscribes to Table “Document Sending Profile” OnBeforeSendVendor
- OnBeforeSendToDiskForSending subscribes to Table “Document Sending Profile” OnBeforeSendToDisk
- OnAfterSendToCustomer subscribes to Table “Document Sending Profile” OnAfterSend
- OnAfterSendToVendor subscribes to Table “Document Sending Profile” OnAfterSendVendor
- OnBeforeServiceDelivery subscribes to Codeunit “Report Distribution Management” OnVANDocumentReportOnBeforeLoopIteration
- OnBeforeElectronicDocuments subscribes to Table “Electronic Document Format” OnSendElectronicallyOnAfterRecRefGetTable
- OnGetDocumentLanguageForKindOfDocument subscribes to Codeunit “Report Distribution Management” OnGetDocumentLanguageCodeCaseElse
- OnAfterElectronicDocuments subscribes to Table “Electronic Document Format” OnAfterSendElectronically
- OnBeforeAttachAsPdf subscribes to Table “Report Selections” OnBeforeSaveAsDocumentAttachment
- OnBeforeAttachAsPdfAttachment subscribes to Table “Report Selections” OnBeforeSaveDocumentAttachmentFromRecRef
- OnAfterAttachAsPdf subscribes to Table “Report Selections” OnSaveAsDocumentAttachmentOnBeforeShowNotification
- OnBeforeSaveAttachment subscribes to Table “Document Attachment” OnBeforeSaveAttachment
Procedures
NameFromPlatformEvent(ReportID: Integer; ObjectPayload: JsonObject; FileExtension: Text[30]; ReportRecordRef: RecordRef; var Filename: Text; var Success: Boolean)(internal): Separate entry point so tests can verify the Success guard without relying on subscriber order.
Plus 25 local procedures.
Recent changes
- 2026-10-27 #12610 [Report Filename Manager] New app for configurable report output file names - Slice 651696 [vendor work] (main, BC30, feature, added)
Ask your agent
Procedure bodies are not stored here (D10). 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: "Report Filename Subscribers"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.