Interface E-Document Integration

E-Document Core, Microsoft.eServices.EDocument

Source AL, 110 lines

src/Apps/W1/EDocument/App/src/Integration/EDocumentIntegration.Interface.allines 10 to 25 of 110, Copyright (c) Microsoft Corporation. MIT

interface "E-Document Integration"{    ObsoleteTag = '26.0';    ObsoleteState = Pending;    ObsoleteReason = 'This interface is obsolete. Use Send, Receive and "Default Int. Actions" interfaces instead.';    /// <summary>    /// Use it to send an E-Document to external service.    /// </summary>    /// <param name="EDocument">The E-Document record.</param>    /// <param name="TempBlob">The tempblob that was created based on the E-Document format.</param>    /// <param name="IsAsync">Is sending the document is async.</param>    /// <remarks>If the E-Document is sent asynchronously, a background job will automatically get queued to fetch the response using GetResponse procedure.</remarks>    /// <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>    /// <remarks>If http request and response are populated, the response content and headers will be logged automatically to communication logs.</remarks>

All 110 lines

Public procedures 8 in 29

Send(var EDocument: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; var IsAsync: Boolean; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage)new in 23
Pending, tag 26.0, obsolete since 26: Replaced by Send method in IDocumentSender interface.
SendBatch(var EDocuments: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; var IsAsync: Boolean; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage)new in 23
Pending, tag 26.0, obsolete since 26: Replaced by Send method in IDocumentSender interface. EDocument record will contain multiple records when using batch.
GetResponse(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Booleannew in 23
Pending, tag 26.0, obsolete since 26: Replaced by GetResponse method in IDocumentResponseHandler interface. Called if CU implementing IDocSender also implements IDocumentResponseHandler
GetApproval(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Booleannew in 23
Pending, tag 26.0, obsolete since 26: Replaced by GetApprovalStatus method in ISentDocumentActions interface.
Cancel(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Booleannew in 23
Pending, tag 26.0, obsolete since 26: Replaced by GetCancellationStatus method in ISentDocumentActions interface.
ReceiveDocument(var TempBlob: Codeunit "Temp Blob"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage)new in 23
Pending, tag 26.0, obsolete since 26: Replaced by ReceiveDocuments method in IDocumentReceiver interface.

All 8 procedures

Implemented by 2

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

Changes 9 in 26

List17181920212223242526272829
Object1
Procedures8
interface "E-Document Integration"new in 23
marked Pending, tag 26.0: This interface is obsolete. Use Send, Receive and "Default Int. Actions" interfaces instead.
Send(var EDocument: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; var IsAsync: Boolean; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage)new in 23
marked Pending, tag 26.0: Replaced by Send method in IDocumentSender interface.
SendBatch(var EDocuments: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; var IsAsync: Boolean; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage)new in 23
marked Pending, tag 26.0: Replaced by Send method in IDocumentSender interface. EDocument record will contain multiple records when using batch.
GetResponse(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Booleannew in 23
marked Pending, tag 26.0: Replaced by GetResponse method in IDocumentResponseHandler interface. Called if CU implementing IDocSender also implements IDocumentResponseHandler
GetApproval(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Booleannew in 23
marked Pending, tag 26.0: Replaced by GetApprovalStatus method in ISentDocumentActions interface.
Cancel(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Booleannew in 23
marked Pending, tag 26.0: Replaced by GetCancellationStatus method in ISentDocumentActions interface.

All 9 changes in 23-29