Interface IEDocumentFinishDraft

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

Source AL, 29 lines

src/Apps/W1/EDocument/App/src/Processing/Interfaces/IEDocumentFinishDraft.Interface.allines 13 to 28 of 29, Copyright (c) Microsoft Corporation. MIT

interface IEDocumentFinishDraft{    /// <summary>    /// Applies the actions of a draft to Business Central entities.    /// </summary>    /// <param name="EDocument">The E-Document that has a draft ready.</param>    /// <param name="ImportEDocumentProcess"></param>    /// <returns>The record ID of the document created in Business Central.</returns>    procedure ApplyDraftToBC(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): RecordId;    /// <summary>    /// Reverts the actions specified in ApplyDraftToBC.    /// </summary>    /// <param name="EDocument">The E-Document that has a document in Business Central.</param>    procedure RevertDraftActions(EDocument: Record "E-Document");

All 29 lines

Public procedures 2 in 29

ApplyDraftToBC(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): RecordIdnew in 26
RevertDraftActions(EDocument: Record "E-Document")new in 26

Implemented by 5

codeunit 6116 "E-Doc. Unspecified Impl."E-Document Corenew in 26
codeunit 6117 "E-Doc. Create Purchase Invoice"E-Document Corenew in 26
codeunit 6404 "E-Doc. Create Purch. Cr. Memo"E-Document Corenew in 24
codeunit 6405 "E-Doc. Create Sales Order"E-Document Corenew in 24
enum 6121 "E-Document Type"E-Document Corenew in 23