Interface ISentDocumentActions

E-Document Core, Microsoft.eServices.EDocument.Integration.Interfaces

Source AL, 90 lines

src/Apps/W1/EDocument/App/src/Integration/Interfaces/ISentDocumentActions.Interface.allines 13 to 28 of 90, Copyright (c) Microsoft Corporation. MIT

interface ISentDocumentActions{    /// <summary>    /// Sends an outgoing E-Document approval request to the API to check if the sent document is approved.    /// </summary>    /// <param name="EDocument">The record representing the E-Document to be approved.</param>    /// <param name="EDocumentService">The record representing the E-Document Service used for the API interaction.</param>    /// <param name="ActionContext">The action context interface used for managing HTTP requests and responses.</param>    /// <returns>Returns true if the document approval request should update the E-Document status; otherwise, false.</returns>    /// <remarks>    /// Sends an HTTP request to the API to check if the document was approved by the service. The response is processed to determine whether the status should be updated.    /// </remarks>    /// <example>    /// This example demonstrates how to implement the <c>GetApprovalStatus</c> method:    /// <code>

All 90 lines

Public procedures 2 in 29

GetApprovalStatus(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; ActionContext: Codeunit ActionContext): Booleannew in 26
GetCancellationStatus(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; ActionContext: Codeunit ActionContext): Booleannew in 26

Implemented by 1

codeunit 6128 "E-Document No Integration"E-Document Corenew in 23