Source AL, 154 lines
src/Apps/W1/EDocument/App/src/Helpers/EDocumentErrorHelper.Codeunit.allines 10 to 25 of 154, Copyright (c) Microsoft Corporation. MIT
codeunit 6115 "E-Document Error Helper"{ /// <summary> /// Use it to get the number of errors for E-Document. /// </summary> /// <param name="EDocument">The E-Document record.</param> /// <returns> Count of the errors in an an E-Document.</returns> procedure ErrorMessageCount(var EDocument: Record "E-Document"): Integer var ErrorMessage: Record "Error Message"; begin ErrorMessage.SetContext(EDocument); exit(ErrorMessage.ErrorMessageCount(ErrorMessage."Message Type"::Error)); end; /// <summary>
All 154 lines
Public procedures 8 in 29
| ErrorMessageCount(var EDocument: Record "E-Document"): Integer | new in 23 |
| HasErrors(var EDocument: Record "E-Document"): Boolean | new in 23 |
| ClearErrorMessages(EDocument: Record "E-Document") | new in 23 |
| LogWarningMessage(EDocument: Record "E-Document"; RelatedRec: Variant; FieldNo: Integer; Message: Text) | new in 23 |
| LogErrorMessage(EDocument: Record "E-Document"; RelatedRec: Variant; FieldNo: Integer; Message: Text) | new in 23 |
| LogSimpleErrorMessage(var EDocument: Record "E-Document"; Message: Text) | new in 23 |
All 10 procedures in 23-29
Changes 1 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | 1 | | | | 1 | |
|---|
All 2 changes in 23-29