Codeunit 6131 E-Document Log Helper

E-Document Core, Microsoft.eServices.EDocument

Source AL, 47 lines

src/Apps/W1/EDocument/App/src/Helpers/EDocumentLogHelper.Codeunit.allines 8 to 23 of 47, Copyright (c) Microsoft Corporation. MIT

codeunit 6131 "E-Document Log Helper"{    /// <summary>    /// Use it to insert integration log when you need to send more than one request to the service.    /// </summary>    /// <param name="EDocument">The E-Document record.</param>    /// <param name="EDocumentService">The E-Document service record.</param>    /// <param name="HttpRequest">The HTTP request message object that you should use when sending the request.</param>    /// <param name="HttpResponse">The HTTP response object that you should use when sending the request.</param>    procedure InsertIntegrationLog(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage)    begin        EDocumentLog.InsertIntegrationLog(EDocument, EDocumentService, HttpRequest, HttpResponse);    end;    /// <summary>    /// Inserts a log entry for the E-Document.

All 47 lines

Public procedures 3 in 29

InsertIntegrationLog(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage)new in 23
InsertLog(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; EDocumentServiceStatus: Enum "E-Document Service Status")new in 23
InsertLog(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob"; EDocumentServiceStatus: Enum "E-Document Service Status"): Integernew in 23