Codeunit 9651 "Document Report Mgt."
Base Application · Microsoft.Foundation.Reporting
Across versions
- BC23-24present
- BC252 procedures added
- BC261 procedures added
- BC27-30unchanged
Neighbourhood 7 connected objects and pages
Base Application · Microsoft.Foundation.Reporting · BC23-30 · source at 4e6a307c · facts from BC29
Procedures
ValidateWordLayout(ReportID: Integer; DocumentStream: InStream; useConfirm: Boolean; updateContext: Boolean): BooleanTryUpdateWordLayout(DocumentStream: InStream; var UpdateStream: OutStream; CachedCustomPart: Text; CurrentCustomPart: Text): TextTryUpdateRdlcLayout(reportId: Integer; RdlcStream: InStream; RdlcUpdatedStream: OutStream; CachedCustomPart: Text; CurrentCustomPart: Text; IgnoreDelete: Boolean): TextNewWordLayout(ReportId: Integer; var DocumentStream: OutStream)NewRdlcLayout(ReportId: Integer; var DocumentStream: OutStream)+ BC25NewExcelLayout(ReportId: Integer; var DocumentStream: OutStream)+ BC25 + BC26NewExcelLayout(ReportId: Integer; ExcelSheetConfiguration: enum "Excel Sheet Configuration"; var DocumentStream: OutStream)+ BC25 + BC26ConvertWordToPdf(var TempBlob: Codeunit "Temp Blob"; ReportID: Integer)ConvertWordToHtml(var TempBlob: Codeunit "Temp Blob")IsStreamHasDataset(InStrXmlData: InStream): BooleanApplyUpgradeToReports(var ReportUpgradeCollection: DotNet ReportUpgradeCollection; testOnly: Boolean): BooleanBulkUpgrade(testMode: Boolean)
Plus 2 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” (4 calls:
ConvertWordToHtml → CreateInStream,ConvertWordToHtml → CreateOutStream,TryConvertWordBlobToPdf → CreateInStream, …) - Codeunit 4030 “Client Type Management” (2 calls:
ApplyUpgradeToReports → GetCurrentClientType,ProcessUpgradeLog → GetCurrentClientType) - Codeunit 6224 “XML DOM Management” (2 calls:
IsStreamHasDataset → FindNode,IsStreamHasDataset → LoadXMLNodeFromInStream) - Codeunit 9656 “Report Layout Update Log” (1 call:
ProcessUpgradeLog → ViewLog)
Called by
- Table 9650 “Custom Report Layout” (7 calls:
ImportLayoutBlob → TryUpdateRdlcLayout,ImportLayoutBlob → TryUpdateWordLayout,ImportLayoutBlob → ValidateWordLayout, …)
Documented on Microsoft Learn
- Developing a Custom Report Render (names this object)
- Upgrade reports (names this object)
Heads up (community)
Warnings from posts and videos that name this object or one of its events; each says what it applies to.
- warning: “If you encounter a file that cannot be converted, the following error message will be displayed.” — Dynamics 365 Business Central: Convert Word (.docx) To HTML (.html) within BC (No control add-in and APIs), applies to Codeunit 9651 “Document Report Mgt.”
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: "Document Report Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.