Interface "ErrorMessageFix"
ErrorMessagesWithRecommendations · Microsoft.Shared.Error
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 1 connected objects and pages
ErrorMessagesWithRecommendations · Microsoft.Shared.Error · BC29-30 · source at 4e6a307c · facts from BC29
Procedures
OnSetErrorMessageProps(var ErrorMessage: Record "Error Message" temporary)OnFixError(ErrorMessage: Record "Error Message" temporary): Boolean: Execute this procedure to fix the error. Return the execution status. If the error is fixed, the error message status will be set to Fixed and the OnSuccessMessage() will be shown. If the error is not fixed, the error message status will be set to Not Fixed.OnSuccessMessage(): Text: Show a acknowledgement message on successfully fixing the error. OnFixError and OnSuccessMessage are executed with the same instance of the interface. This means that the interface can store information from OnFixError() and use it in the OnSuccessMessage().
Documented on Microsoft Learn
- Extending Error Messages with Recommendations (names this object)
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). 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: "interface", object_name: "ErrorMessageFix"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.