Source AL, 63 lines
src/Apps/W1/EDocument/App/src/Document/Interfaces/EDocument.Interface.allines 9 to 24 of 63, Copyright (c) Microsoft Corporation. MIT
interface "E-Document"{ /// /// The following methods are to create EDocument from Business Central document to send to the endpoint /// /// <summary> /// Use it to run check on release/post action of a document to make sure all necessary fields to submit the document are available. /// </summary> /// <param name="SourceDocumentHeader">The source document header as a recored ref.</param> /// <param name="EDocumentService">The document service used to send the document electronically.</param> /// <param name="EDocumentProcessingPhase">The document processing phase enum, for example it can be create, release, etc.</param> /// <remarks>You should validated all required data to convert a document to a specific format, and throw an error if something missing.</remarks> procedure Check(var SourceDocumentHeader: RecordRef; EDocumentService: Record "E-Document Service"; EDocumentProcessingPhase: Enum "E-Document Processing Phase") /// <summary>
All 63 lines
Public procedures 5 in 29
| Check(var SourceDocumentHeader: RecordRef; EDocumentService: Record "E-Document Service"; EDocumentProcessingPhase: Enum "E-Document Processing Phase") | new in 23 |
| Create(EDocumentService: Record "E-Document Service"; var EDocument: Record "E-Document"; var SourceDocumentHeader: RecordRef; var SourceDocumentLines: RecordRef; var TempBlob: Codeunit "Temp Blob") | new in 23 |
| CreateBatch(EDocumentService: Record "E-Document Service"; var EDocuments: Record "E-Document"; var SourceDocumentHeaders: RecordRef; var SourceDocumentsLines: RecordRef; var TempBlob: Codeunit "Temp Blob") | new in 23 |
| GetBasicInfoFromReceivedDocument(var EDocument: Record "E-Document"; var TempBlob: Codeunit "Temp Blob") | new in 23 |
| GetCompleteInfoFromReceivedDocument(var EDocument: Record "E-Document"; var CreatedDocumentHeader: RecordRef; var CreatedDocumentLines: RecordRef; var TempBlob: Codeunit "Temp Blob") | new in 23 |
Implemented by 3