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

Codeunit 29 "Error Message Handler"

Base Application · System.Utilities

Across versions

  1. BC23-30present

Neighbourhood 23 connected objects and pages

Codeunit 1000 "Job Calculate WIP" (calls, 2 links)Job Calculate WIPCodeunit 1511 "Notification Lifecycle Mgt." (calls, 2 links)Notification Lifecycle Mgt.Codeunit 393 "Reminder-Issue" (calls, 2 links)Reminder-IssueCodeunit 5286 "Data Check Mgt. SAF-T" (calls, 2 links)Data Check Mgt. SAF-TCodeunit 8800 "Custom Layout Reporting" (calls, 2 links)Custom Layout ReportingReport 5692 "Calculate Depreciation" (calls, 2 links)Calculate DepreciationReport 5707 "Batch Post Transfer Orders" (calls, 2 links)Batch Post Transfer OrdersCodeunit 1371 "Sales Batch Post Mgt." (calls)Sales Batch Post Mgt.Codeunit 1372 "Purchase Batch Post Mgt." (calls)Purchase Batch Post Mgt.Codeunit 1380 "Batch Processing Mgt." (calls)Codeunit 19 "Gen. Jnl.-Post Preview" (calls)Gen. Jnl.-Post PreviewCodeunit 373 "Bank. Acc. Recon. Post Preview" (calls)Codeunit 443 "Sales-Post Prepayment (Yes/No)" (calls)Sales-Post Prepayment (Yes/No)Codeunit 445 "Purch.-Post Prepmt. (Yes/No)" (calls)Purch.-Post Prepmt. (Yes/No)Codeunit 449 "Job Queue Start Codeunit" (calls)Codeunit 450 "Job Queue Error Handler" (calls)Job Queue Error HandlerCodeunit 5261 "Audit File Export Mgt." (calls)Audit File Export Mgt.Codeunit 6620 "Copy Document Mgt." (calls)Codeunit 7092 "Expense Report Batch Post Mgt." (calls)Codeunit 8811 "Customer Statement via Queue" (calls)Table 36 "Sales Header" (calls)Table 38 "Purchase Header" (calls)Table 5900 "Service Header" (calls)

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 · System.Utilities · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnBeforeActivateErrorMessageHandler(var ErrorMessageHandler: Codeunit "Error Message Handler") (integration)
  • OnAfterRegisterErrorMessages(var ErrorMessage: Record "Error Message"; var RegisterID: Guid) (integration)

Event subscriptions

  • OnGetFirstContextIDHandler subscribes to Codeunit “Error Message Management” OnGetFirstContextID
  • OnGetErrorsHandler subscribes to Codeunit “Error Message Management” OnGetErrors
  • OnGetLastErrorID subscribes to Codeunit “Error Message Management” OnGetLastErrorID
  • OnGetLastErrorMessageRecord subscribes to Codeunit “Error Message Management” OnGetLastErrorMessageRecord
  • OnGetCachedLastErrorID subscribes to Codeunit “Error Message Management” OnGetCachedLastErrorID
  • OnLogErrorHandler subscribes to Codeunit “Error Message Management” OnLogError
  • OnLogSimpleErrorHandler subscribes to Codeunit “Error Message Management” OnLogSimpleError
  • OnFindActiveSubscriberHandler subscribes to Codeunit “Error Message Management” OnFindActiveSubscriber
  • OnPushContextHandler subscribes to Codeunit “Error Message Management” OnPushContext
  • OnLogLastErrorHandler subscribes to Codeunit “Error Message Management” OnLogLastError

Procedures

  • AppendTo(var TempErrorMessageBuf: Record "Error Message" temporary): Boolean
  • Activate(var ErrorMessageHandler: Codeunit "Error Message Handler"): Boolean
  • ShowErrors(): Boolean
  • NotifyAboutErrors()
  • InformAboutErrors(ErrorHandlingOptions: Enum "Error Handling Options")
  • RegisterErrorMessages(): Guid
  • RegisterErrorMessages(ClearError: Boolean): Guid
  • WriteMessagesToFile(FileName: Text; ThrowLastError: Boolean): Boolean
  • GetErrorCallStack(): Text
  • HasErrors(): Boolean

Plus 4 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: "Error Message Handler"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources