codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 8800 "Custom Layout Reporting"

Base Application · Microsoft.Foundation.Reporting

Across versions

  1. BC23-24present
  2. BC251 procedures added
  3. BC26unchanged
  4. BC271 events added
  5. BC28-30unchanged

Neighbourhood 17 connected objects and pages

Codeunit 419 "File Management" (calls, 15 links)File ManagementCodeunit 8810 "Customer Layout - Statement" (calls, 10 links)Customer Layout - StatementCodeunit 4102 "Temp Blob List" (calls, 5 links)Codeunit 28 "Error Message Management" (calls, 4 links)Error Message ManagementCodeunit 4100 "Temp Blob" (calls, 4 links)Temp BlobCodeunit 425 "Data Compression" (calls, 4 links)Data CompressionCodeunit 46 "SelectionFilterManagement" (calls, 4 links)SelectionFilterManagementCodeunit 1530 "Request Page Parameters Helper" (calls, 2 links)Codeunit 29 "Error Message Handler" (calls, 2 links)Error Message HandlerCodeunit 4030 "Client Type Management" (calls, 2 links)Client Type ManagementCodeunit 701 "Data Type Management" (calls, 2 links)Codeunit 8894 "Email Account" (calls, 2 links)Email AccountCodeunit 260 "Document-Mailing" (calls)Document-MailingCodeunit 8617 "Config. Validate Management" (calls)Config. Validate ManagementCodeunit 8812 "Customer Statement Subscr" (calls)Customer Statement SubscrCodeunit 9657 "Report Management Helper" (calls)Table 77 "Report Selections" (calls)Report Selections

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Foundation.Reporting · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnIsTestMode(var TestMode: Boolean) (integration)
  • OnAfterProcessReport() (integration)
  • OnBeforeCallReportSaveAs(ReportID: Integer; ReportFormatValue: ReportFormat) (integration)
  • OnBeforePrintReport(var DataRecRef: RecordRef; ReportID: Integer) (integration)
  • OnBeforeRunReport(var DataRecRef: RecordRef; var ReportSelections: Record "Report Selections"; var EmailPrintIfEmailIsMissing: Boolean; var TempBlobIndicesNameValueBuffer: Record "Name/Value Buffer" temporary; var TempBlobList: Codeunit "Temp Blob List"; var OutputType: Option; var AnyOutputExists: Boolean; var InHandled: Boolean) (integration)
  • OnBeforeRunReportWithCustomReportSelection(var DataRecRef: RecordRef; var ReportID: Integer; var CustomReportSelection: Record "Custom Report Selection"; var EmailPrintIfEmailIsMissing: Boolean; var TempBlobIndicesNameValueBuffer: Record "Name/Value Buffer" temporary; var TempBlobList: Codeunit "Temp Blob List"; var OutputType: Option; var AnyOutputExists: Boolean; var InHandled: Boolean) (integration)
  • OnBeforeSetIteratorJoinFieldRef(var ReportDataRecordRef: RecordRef; var BalAcctTypeFieldRef: FieldRef; var AcctTypeFieldRef: FieldRef; var IsHandled: Boolean) (integration)
  • OnCreateReportWithExtensionOnBeforeHtmlFileClose(ReportID: Integer; RepFormat: ReportFormat; var DataRecRef: RecordRef; var FileStream: OutStream) (integration)
  • OnCreateReportWithExtensionOnBeforePdfFileClose(ReportID: Integer; RepFormat: ReportFormat; var DataRecRef: RecordRef; var FileStream: OutStream) (integration)
  • OnGenerateFileNameOnAfterAssignFileName(var FileName: Text; ReportID: Integer; Extension: Text; DataRecRef: RecordRef) (integration)
  • OnSaveAsReportOnBeforeFileClose(ReportSaved: Boolean; var DataRecRef: RecordRef; ReportID: Integer; RepFormat: ReportFormat; var FileStream: OutStream) (integration)
  • OnSetOutputTypeOnAfterSetOutputMethod(var OutputMethod: Text) (integration)
  • OnAfterGetSendToEmailID(var CustomReportSelection: Record "Custom Report Selection"; var EmailID: Text[250]) (integration)
  • OnAfterGetSendToEmailIDFromSource(var CustomReportSelection: Record "Custom Report Selection"; var EmailID: Text[250]) (integration)
  • OnRunRequestPageOnBeforeReportRunRequestPage(ReportId: Integer; var SavedParameters: Text) (integration)
  • OnProcessReportPerObjectOnBeforeReportDataRecordRefLoop(ReportDataAndIteratorDiffer: Boolean; IteratorRecordRef: RecordRef) (integration)
  • OnProcessReportPerObjectOnBeforeRunReport(ReportDataAndIteratorDiffer: Boolean; IteratorRecordRef: RecordRef; var IsHandled: Boolean) (integration)
  • OnProcessReportPerObjectOnAfterRunReport(ReportDataAndIteratorDiffer: Boolean; IteratorRecordRef: RecordRef) (integration)
  • OnAfterProcessReportPerObject(ReportDataAndIteratorDiffer: Boolean) (integration)
  • OnBeforeGenerateFileNameForReport(IteratorRecordRef: RecordRef; var NameFieldRef: FieldRef; ReportDataRecordRef: RecordRef; var ObjectName: Text; var IsHandled: Boolean) (integration)
  • OnBeforeThrowProcessReportError(var ErrorMessageHandler: Codeunit "Error Message Handler"; var ReportDataRecordRef: RecordRef; var OutputType: Option) + BC27 (integration)

Procedures

  • GetLayoutIteratorKeyFilter(var FilterRecordRef: RecordRef; var FilterRecordKeyFieldRef: FieldRef; CustomReportLayoutCode: Code[20])
  • ProcessReport()
  • ProcessReportData(ReportUsage: Enum "Report Selection Usage"; var DataRecordRef: RecordRef; SourceJoinFieldName: Text; DataRecordJoinTable: Integer; IteratorTableFieldName: Text; DataItemTableSameAsIterator: Boolean)
  • SetOutputOption(OutputOption: Integer)
  • GetOutputOption(ReportID: Integer): Integer
  • GetPrintOption(): Integer
  • GetEmailOption(): Integer
  • GetPreviewOption(): Integer
  • GetExcelOption(): Integer
  • GetPDFOption(): Integer
  • GetWordOption(): Integer
  • GetXMLOption(): Integer
  • GetOptionValueFromRequestPageForReport(ReportID: Integer; OptionName: Text): Text
  • SetSavePath(SavePath: Text)
  • SetOutputSupression(SupressOutputFlag: Boolean)
  • CallReportSaveAs(ReportID: Integer; RequestParameterText: Text; ReportFormatValue: ReportFormat; var FileStream: OutStream; var RecRef: RecordRef): Boolean
  • IsWebClient(): Boolean
  • SetOutputFileBaseName(FileBaseName: Text)
  • SetTestModeWebClient(TestModeSpoofWebClient: Boolean)
  • InitializeReportData(ReportUsage: Enum "Report Selection Usage"; var DataRecordRef: RecordRef; SourceJoinFieldName: Text; DataRecordJoinTable: Integer; IteratorTableFieldName: Text; DataItemTableSameAsIterator: Boolean)
  • InitializeData(ReportSelectionUsage: Integer; var DataRecordRef: RecordRef; SourceJoinFieldName: Text; DataRecordJoinTable: Integer; IteratorTableFieldName: Text; DataItemTableSameAsIterator: Boolean)
  • HasRequestParameterData(ReportID: Integer): Boolean
  • RunRequestPage(ReportId: Integer): Text
  • SetTableFilterForReportID(ReportID: Integer; CustomerNo: Text)
  • GetReportRequestPageParameters(ReportID: Integer): Text
  • SaveReportRequestPageParameters(ReportID: Integer; XMLText: Text; OptionDataEncoding: TextEncoding) + BC25
  • SaveReportRequestPageParameters(ReportID: Integer; XMLText: Text) + BC25
  • CheckForCustomLayoutReportingJob()
  • SetIgnoreRequestParameters(IgnoreParams: Boolean)
  • SetPredefinedRequestParameters(NewPredefinedRequestParameters: Text)
  • SetRunReportOncePerFilter(NewRunReportOncePerFilter: Boolean)

Plus 58 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.

Called by

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: "Custom Layout Reporting"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources