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 24 connected objects and pages

Codeunit 1000 "Job Calculate WIP" (calls, 2 links)Job Calculate WIPCodeunit 1509 "Notification Entry Dispatcher" (calls, 2 links)Notification Entry DispatcherCodeunit 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)Codeunit 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)Codeunit 1380 "Batch Processing Mgt." (calls)Batch Processing Mgt.Codeunit 19 "Gen. Jnl.-Post Preview" (calls)Gen. Jnl.-Post PreviewCodeunit 373 "Bank. Acc. Recon. Post Preview" (calls)Bank. Acc. Recon. Post PreviewCodeunit 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)Job Queue Start CodeunitCodeunit 450 "Job Queue Error Handler" (calls)Codeunit 5261 "Audit File Export Mgt." (calls)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 4e6a307c · 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

No source states these links: they share an object, a model read them, or a person found the same subject.

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

Evidence 1 sources