Source AL, 55 lines
src/Apps/W1/EDocument/App/src/Integration/Interfaces/IDocumentSender.Interface.allines 13 to 28 of 55, Copyright (c) Microsoft Corporation. MIT
interface IDocumentSender{ /// <summary> /// Sends an E-Document to an external service. /// </summary> /// <param name="EDocument">The record representing the E-Document to be sent.</param> /// <param name="EDocumentService">The record representing the E-Document Service containing service configuration.</param> /// <param name="SendContext">The context for the send operation, providing access to resources and settings.</param> /// <remarks> /// To support async sending, the implementation of this interface must also implement the IDocumentResponseHandler interface. /// When batch sending is supported, the EDocument Record contains multiple E-Documents to be sent set by filters. /// If the HTTP request is populated within <c>SendContext</c>, the request content and headers will be automatically logged to communication logs. /// </remarks> /// <example> /// This example demonstrates how to implement the <c>Send</c> method: /// <code>
All 55 lines
Public procedures 1 in 29
| Send(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; SendContext: Codeunit SendContext) | new in 26 |
Implemented by 2