Codeunit 6125 Prepare Purchase E-Doc. Draft

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

Source AL, 49 lines

src/Apps/W1/EDocument/App/src/Processing/Import/PrepareDraft/PreparePurchaseEDocDraft.Codeunit.allines 12 to 27 of 49, Copyright (c) Microsoft Corporation. MIT

codeunit 6125 "Prepare Purchase E-Doc. Draft" implements IProcessStructuredData{    Access = Internal;    var        PrepareDraftHelper: Codeunit "EDoc Prepare Purch. Draft";    procedure PrepareDraft(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): Enum "E-Document Type"    var        FeatureConfiguration: Codeunit "Feature Configuration";    begin        if FeatureConfiguration.GetConfiguration(AgentDrivenLineMatchingTok) = AgentDrivenTreatmentTok then            exit("E-Document Type"::"Purchase Invoice");        PrepareDraftHelper.PrepareDraft(EDocument, EDocImportParameters);        exit("E-Document Type"::"Purchase Invoice");

All 49 lines

Public procedures 4 in 29

PrepareDraft(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): Enum "E-Document Type"new in 26
OpenDraftPage(var EDocument: Record "E-Document")new in 26
CleanUpDraft(EDocument: Record "E-Document")new in 26
GetVendor(EDocument: Record "E-Document"; Customizations: Enum "E-Doc. Proc. Customizations"): Record Vendornew in 26