Interface IDocumentAction

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

Source AL, 48 lines

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

interface IDocumentAction{    /// <summary>      /// Invokes an action based on the specified action type for the given E-Document and E-Document Service.      /// </summary>        /// <param name="EDocument">The E-Document record on which the action is performed.</param>      /// <param name="EDocumentService">The E-Document Service record used for the API interaction.</param>      /// <param name="ActionContext">The context for the action to be performed.</param>    /// <returns>Returns true if the action performed should update E-Document status ; otherwise, false.</returns>      /// <remarks>      /// The implementation should send an HTTP request to the API to perform the specified action on the E-Document.      /// </remarks>      /// <example>      /// This example demonstrates how to implement the InvokeAction method to reset the E-Document status by calling the API:      /// <code>  

All 48 lines

Public procedures 1 in 29

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

Implemented by 4

codeunit 6176 "Empty Integration Action"E-Document Corenew in 26
codeunit 6182 "Sent Document Approval"E-Document Corenew in 26
codeunit 6183 "Sent Document Cancellation"E-Document Corenew in 26
enum 6170 "Integration Action Type"E-Document Corenew in 26