Table 700 "Error Message"
Base Application · System.Utilities
Across versions
- BC23present
- BC243 fields changed
- BC251 fields changed
- BC263 procedures removed, 1 fields changed
- BC27-30unchanged
Neighbourhood 12 connected objects and pages
Base Application · System.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Error Message |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | ID | Integer | — | AutoIncrement |
| 2 | Record ID | RecordID | — | |
| 3 | Field Number | Integer | — | |
| 4 | Message Type | Option | Specifies if the message is an error, a warning, or information. via Page 700 “Error Messages” | OptionCaption: Error,Warning,Information; not editable |
| 5 | Description Δ BC25 Δ BC26 | Text[250] | — | obsolete Removed 25.0; #if not CLEANSCHEMA25; not editable |
| 6 | Additional Information | Text[250] | Specifies more information than the information shown in the Description field. via Page 700 “Error Messages” | not editable |
| 7 | Support Url | Text[250] | Specifies the URL of an external web site that offers additional support. via Page 700 “Error Messages” | not editable |
| 8 | Table Number | Integer | — | |
| 10 | Context Record ID | RecordID | — | |
| 11 | Field Name Δ BC24 | Text[80] | Specifies the field where the error occurred. via Page 700 “Error Messages” | FlowField: lookup(Field.“Field Caption” where(TableNo = field(“Table Number”), “No.” = field(“Field Number”))); not editable |
| 12 | Table Name Δ BC24 | Text[80] | Specifies error messages that occur during data processing. via Page 701 “Error Messages Part” | FlowField: lookup(“Table Metadata”.Caption where(ID = field(“Table Number”))); not editable |
| 13 | Context Field Number | Integer | — | DataClassification SystemMetadata |
| 14 | Context Table Number | Integer | — | DataClassification SystemMetadata |
| 15 | Context Field Name Δ BC24 | Text[80] | Specifies the field where the error occurred. via Page 700 “Error Messages” | FlowField: lookup(Field.“Field Caption” where(TableNo = field(“Context Table Number”), “No.” = field(“Context Field Number”))); not editable |
| 16 | Register ID | Guid | — | TableRelation Table 701 “Error Message Register” (“Error Message Register”.ID); DataClassification SystemMetadata |
| 17 | Created On | DateTime | The time of error occurence. via Page 700 “Error Messages” | DataClassification SystemMetadata |
| 18 | Context | Boolean | — | DataClassification SystemMetadata |
| 20 | Duplicate | Boolean | — | DataClassification SystemMetadata |
| 21 | Error Call Stack | BLOB | — | DataClassification SystemMetadata |
| 22 | Message | Text[2048] | Specifies the message. via Page 700 “Error Messages” | not editable |
| 23 | Reg. Err. Msg. System ID | Guid | — | DataClassification SystemMetadata |
Keys
- Key1: ID (clustered)
- Key2: Context Record ID, Record ID
- Key3: Message Type, ID
- Key4: Created On
- Key5: Register ID, ID, Context
- Key6: Context, Context Record ID
Events published
OnBeforeLogMessage(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; NewDescription: Text; var IsHandled: Boolean)(integration)OnBeforeLogSimpleMessage(MessageType: Option; NewDescription: Text; var IsHandled: Boolean)(integration)OnLogIfEmptyOnAfterCheckEmptyValue(FieldRef: FieldRef; EmptyFieldRef: FieldRef; var IsHandled: Boolean)(integration)OnLogIfNotEmptyOnAfterCheckEmptyValue(FieldRef: FieldRef; EmptyFieldRef: FieldRef; var IsHandled: Boolean)(integration)OnShowErrorMessagesOnBeforeErrorMessagesRun(var ErrorMessage: Record "Error Message"; var ErrorString: Text; var IsHandled: Boolean)(integration)OnShowErrorsOnBeforeErrorMessagesRun(var ErrorMessage: Record "Error Message"; var IsPageOpen: Boolean; var IsHandled: Boolean)(integration)
Trigger event subscribers
- OnDrillDownSource: Codeunit 481 “Check Dimensions” OnErrorMessageDrillDown, Codeunit 7905 “ErrorMessagesActionHandlerImpl” OnErrorMessageDrillDown
Procedures
LogIfEmpty(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option): IntegerLogIfNotEmpty(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option): IntegerLogIfLengthExceeded(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; MaxLength: Integer): IntegerLogIfInvalidCharacters(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; ValidCharacters: Text): IntegerLogIfOutsideRange(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; LowerBound: Variant; UpperBound: Variant): IntegerLogIfGreaterThan(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; LowerBound: Variant): IntegerLogIfLessThan(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; UpperBound: Variant): IntegerLogIfEqualTo(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; ValueVariant: Variant): IntegerLogIfNotEqualTo(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; ValueVariant: Variant): IntegerLogContextFieldError(ContextFieldNumber: Integer; NewDescription: Text; RecRelatedVariant: Variant; SourceFieldNumber: Integer; SupportURL: Text[250]): IntegerLogSimpleMessage(MessageType: Option; NewDescription: Text): IntegerLogSimpleMessage(MessageType: Option; NewDescription: Text; ErrorCallStack: Text): IntegerLogMessage(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; NewDescription: Text): IntegerLogDetailedMessage(RecRelatedVariant: Variant; FieldNumber: Integer; MessageType: Option; NewDescription: Text; AdditionalInformation: Text[250]; SupportUrl: Text[250]): IntegerLogLastError()LogLastError(ClearError: Boolean)(internal)AddMessageDetails(MessageID: Integer; AdditionalInformation: Text[250]; SupportUrl: Text[250])FindLastID(): IntegerGetContext(var ErrorMessage: Record "Error Message"): BooleanGetLastID(): IntegerGetCachedLastID(): IntegerSetContext(ContextRecordVariant: Variant)ClearLog()ClearLogRec(RecordVariant: Variant)HasErrorMessagesRelatedTo(RecRelatedVariant: Variant): BooleanErrorMessageCount(LowestSeverityMessageType: Option): IntegerHasErrors(ShowMessage: Boolean): BooleanShowErrors(): BooleanShowErrorMessages(RollBackOnError: Boolean): TextToString(): TextThrowError()FindRecord(RecordID: RecordID; FieldNumber: Integer; MessageType: Option; NewDescription: Text): IntegerCopyToTemp(var TempErrorMessage: Record "Error Message" temporary)CopyFromTemp(var TempErrorMessage: Record "Error Message" temporary)CopyFromContext(ContextRecordVariant: Variant)GetErrorCallStack(): TextSetErrorCallStack(NewCallStack: Text)ShowErrorCallStack()
Plus 9 local procedures.
Triggers
OnInsert
Relations
- drill-down page Page 701 “Error Messages Part”
- lookup page Page 701 “Error Messages Part”
- Register ID: TableRelation Table 701 “Error Message Register”
Referenced by
3 fields in 1 objects relate to this table (TableRelation or CalcFormula).
- Table 701 “Error Message Register”: Errors, Information, Warnings
Pages and codeunits on this table
- Page 700 “Error Messages” (source table)
- Page 701 “Error Messages Part” (source table)
- Page 7900 “Error Messages Card Part” (source table)
- Codeunit 7901 “Execute Error Action” (codeunit runs on it)
Extended by
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.
- Codeunit 701 “Data Type Management” (11 calls:
CopyFromContext → GetRecordRef,FieldValueIsWithinFilter → GetRecordRefAndFieldRef,HasErrorMessagesRelatedTo → GetRecordRef, …) - Codeunit 28 “Error Message Management” (2 calls:
AssertRecordTemporaryOrInContext → GetTopContext,GetContext → GetTopContext)
Deprecations
- field Description: Removed 25.0 (#if not CLEANSCHEMA25), “Replaced by “Message” which has an increase in field length.”
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: "table", object_name: "Error Message"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.