Codeunit 44 ReportManagement

Base Application, Microsoft.Foundation.Reporting
List17181920212223242526272829
Procedures6611
Events111123212

In 29 1 added, 2 gone

GetCompanyMetadata(var CompanyMetadata: JsonObject)new in 29
added
[IntegrationEvent] OnApplicationReportMergeStrategy(ObjectId: Integer; LayoutCode: Text; var InApplication: Boolean; var IsHandled: Boolean)20 to 28
gone
[IntegrationEvent] OnWordDocumentMergerAppMode(ObjectId: Integer; LayoutCode: Text; var InApplication: Boolean; var IsHandled: Boolean)20 to 28
gone

In 27 1 added

[IntegrationEvent] OnAfterSelectReportLayoutUI(ObjectID: Integer; var LayoutName: Text; var LayoutAppID: Guid; Success: Boolean)new in 27
added

In 26 2 marked obsolete

[IntegrationEvent] OnApplicationReportMergeStrategy(ObjectId: Integer; LayoutCode: Text; var InApplication: Boolean; var IsHandled: Boolean)20 to 28
marked Pending, tag 26.0: Replaced by customer render and layouts must be declared as custom types.
[IntegrationEvent] OnWordDocumentMergerAppMode(ObjectId: Integer; LayoutCode: Text; var InApplication: Boolean; var IsHandled: Boolean)20 to 28
marked Pending, tag 26.0: Replaced by platform Word merge with version 24

In 24 1 gone, 2 added

[IntegrationEvent] OnCustomDocumentMergerEx(ObjectID: Integer; ReportAction: Option SaveAsPdf,SaveAsWord,SaveAsExcel,Preview,Print,SaveAsHtml; ObjectPayload: JsonObject; XmlData: InStream; LayoutData: InStream; var DocumentStream: OutStream; var IsHandled: Boolean)20 to 23
gone
[IntegrationEvent] OnCustomDocumentMergerEx(ObjectID: Integer; ReportAction: Option SaveAsPdf,SaveAsWord,SaveAsExcel,Preview,Print,SaveAsHtml; ObjectPayload: JsonObject; var XmlData: InStream; LayoutData: InStream; var DocumentStream: OutStream; var IsHandled: Boolean)new in 24
added
[IntegrationEvent] OnGetFilename(ReportID: Integer; Caption: Text[250]; ObjectPayload: JsonObject; FileExtension: Text[30]; ReportRecordRef: RecordRef; var Filename: Text; var Success: Boolean)new in 24
added

In 23 2 gone

[IntegrationEvent] OnMergeDocumentReport(ObjectType: Option Report,Page; ObjectID: Integer; ReportAction: Option SaveAsPdf,SaveAsWord,SaveAsExcel,Preview,Print,SaveAsHtml; XmlData: InStream; FileName: Text; var printDocumentStream: OutStream; var IsHandled: Boolean)gone after 22
gone
[IntegrationEvent] OnCustomDocumentMerger(ObjectID: Integer; ReportAction: Option SaveAsPdf,SaveAsWord,SaveAsExcel,Preview,Print,SaveAsHtml; XmlData: InStream; LayoutData: InStream; var printDocumentStream: OutStream; var IsHandled: Boolean)20 to 22
gone

In 22 1 added, 1 changed

GetPrinterName(ReportID: Integer; var PrinterName: Text[250])new in 22
added
[IntegrationEvent] OnSelectReportLayout(var ReportLayoutList: Record "Report Layout List"; var Handled: Boolean)new in 21changed in 22
changed, was [IntegrationEvent] OnSelectReportLayout(var ReportLayoutList: Record "Report Layout List"; var Handled: Boolean)

In 21 1 added

[IntegrationEvent] OnSelectReportLayout(var ReportLayoutList: Record "Report Layout List"; var Handled: Boolean)new in 21changed in 22
added

In 20 1 changed, 1 marked obsolete, 9 added

[IntegrationEvent] OnAfterHasCustomLayout(ObjectType: Option Report,Page; ObjectID: Integer; var LayoutType: Option None,RDLC,Word,Excel,Custom)17-29changed in 20
changed, was [IntegrationEvent] OnAfterHasCustomLayout(ObjectType: Option Report,Page; ObjectID: Integer; var LayoutType: Option None,RDLC,Word)
[IntegrationEvent] OnMergeDocumentReport(ObjectType: Option Report,Page; ObjectID: Integer; ReportAction: Option SaveAsPdf,SaveAsWord,SaveAsExcel,Preview,Print,SaveAsHtml; XmlData: InStream; FileName: Text; var printDocumentStream: OutStream; var IsHandled: Boolean)gone after 22
marked Pending, tag 20.0: Replaced by the report event OnCustomDocumentMergerEx. Subscribe to it to change the merging behavior.
[IntegrationEvent] OnAfterIntermediateDocumentReady(ObjectId: Integer; ObjectPayload: JsonObject; DocumentStream: InStream; var TargetStream: OutStream; var Success: Boolean)new in 20
added
[IntegrationEvent] OnAfterDocumentReady(ObjectId: Integer; ObjectPayload: JsonObject; DocumentStream: InStream; var TargetStream: OutStream; var Success: Boolean)new in 20
added
[IntegrationEvent] OnAfterDocumentDownload(ObjectId: Integer; ObjectPayload: JsonObject; DocumentStream: InStream; var Success: Boolean)new in 20
added
[IntegrationEvent] OnCustomDocumentMerger(ObjectID: Integer; ReportAction: Option SaveAsPdf,SaveAsWord,SaveAsExcel,Preview,Print,SaveAsHtml; XmlData: InStream; LayoutData: InStream; var printDocumentStream: OutStream; var IsHandled: Boolean)20 to 22
added
[IntegrationEvent] OnCustomDocumentMergerEx(ObjectID: Integer; ReportAction: Option SaveAsPdf,SaveAsWord,SaveAsExcel,Preview,Print,SaveAsHtml; ObjectPayload: JsonObject; XmlData: InStream; LayoutData: InStream; var DocumentStream: OutStream; var IsHandled: Boolean)20 to 23
added
[IntegrationEvent] OnSelectReportLayoutCode(ObjectId: Integer; var LayoutCode: Text; var LayoutType: Option None,RDLC,Word,Excel,Custom; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnFetchReportLayoutByCode(ObjectId: Integer; LayoutCode: Text; var TargetStream: OutStream; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnApplicationReportMergeStrategy(ObjectId: Integer; LayoutCode: Text; var InApplication: Boolean; var IsHandled: Boolean)20 to 28
added
[IntegrationEvent] OnWordDocumentMergerAppMode(ObjectId: Integer; LayoutCode: Text; var InApplication: Boolean; var IsHandled: Boolean)20 to 28
added

In 19 6 gone

internal SalesInvoiceReportReplacedNotify(NewReportID: Integer; NewReportName: Text; var SalesInvoiceHeader: Record "Sales Invoice Header")18 to 18
gone
internal SalesQuoteReportReplacedNotify(NewReportID: Integer; NewReportName: Text; var SalesHeader: Record "Sales Header")18 to 18
gone
internal OrderConfirmReportReplacedNotify(NewReportID: Integer; NewReportName: Text; var SalesHeader: Record "Sales Header")18 to 18
gone
internal SalesCrMemoReportReplacedNotify(NewReportID: Integer; NewReportName: Text; var SalesCrMemoHeader: Record "Sales Cr.Memo Header")18 to 18
gone
internal LearnMoreNotificationAction(var ReportRemovalNotification: Notification)18 to 18
gone
internal TryNewReportAction(var ReportRemovalNotification: Notification)18 to 18
gone

In 18 6 added

internal SalesInvoiceReportReplacedNotify(NewReportID: Integer; NewReportName: Text; var SalesInvoiceHeader: Record "Sales Invoice Header")18 to 18
added
internal SalesQuoteReportReplacedNotify(NewReportID: Integer; NewReportName: Text; var SalesHeader: Record "Sales Header")18 to 18
added
internal OrderConfirmReportReplacedNotify(NewReportID: Integer; NewReportName: Text; var SalesHeader: Record "Sales Header")18 to 18
added
internal SalesCrMemoReportReplacedNotify(NewReportID: Integer; NewReportName: Text; var SalesCrMemoHeader: Record "Sales Cr.Memo Header")18 to 18
added
internal LearnMoreNotificationAction(var ReportRemovalNotification: Notification)18 to 18
added
internal TryNewReportAction(var ReportRemovalNotification: Notification)18 to 18
added