Codeunit 6403 EDoc Prepare Cr. Memo Draft

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

Source AL, 270 lines

src/Apps/W1/EDocument/App/src/Processing/Import/PrepareDraft/EDocPrepareCrMemoDraft.Codeunit.allines 16 to 31 of 270, Copyright (c) Microsoft Corporation. MIT

codeunit 6403 "EDoc Prepare Cr. Memo 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"    begin        PrepareDraftHelper.PrepareDraft(EDocument, EDocImportParameters);        PrepareInvoiceToApplyTo(EDocument);        exit("E-Document Type"::"Purchase Credit Memo");    end;    /// <summary>    /// Re-derives Applies-to Doc. No. and its warnings after "Applies-to Vendor Inv. No." is changed on the draft, without preparing the rest of the draft again.

All 270 lines

Public procedures 4 in 29

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