Codeunit 30 "Error Context Element"
Base Application · System.Utilities
Across versions
- BC23-30present
Neighbourhood 2 connected objects and pages
Base Application · System.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Event subscriptions
- OnGetTopElementDataHandler subscribes to Codeunit “Error Message Management” OnGetTopElementData
- OnGetTopElementHandler subscribes to Codeunit “Error Message Management” OnGetTopElement
- OnGetTopContextHandler subscribes to Codeunit “Error Message Management” OnGetTopContext
Procedures
GetID(): IntegerSet(ID: Integer; ContextRecID: RecordID; ContextFldNo: Integer; AdditionalInfo: Text[250])GetData(var ID: Integer; var ContextRecID: RecordID; var ContextFldNo: Integer; var AdditionalInfo: Text[250])Copy(ErrorContextElement: Codeunit "Error Context Element")GetErrorMessage(var ErrorMessage: Record "Error Message")
Triggers
OnRun
Called by
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 28 “Error Message Management” (2 calls:
PushContext → GetID,PushContext → Set) - Codeunit 31 “Last Error Context Element” (2 calls:
GetErrorMessage → GetErrorMessage,Set → Copy)
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 Context Element"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.