Codeunit 6124 E-Doc. Providers

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

Source AL, 232 lines

src/Apps/W1/EDocument/App/src/Processing/Import/PrepareDraft/EDocProviders.Codeunit.allines 20 to 35 of 232, Copyright (c) Microsoft Corporation. MIT

codeunit 6124 "E-Doc. Providers" implements IPurchaseLineProvider, IUnitOfMeasureProvider, IVendorProvider, IPurchaseOrderProvider{    Access = Internal;    var        NoVendorInformationErr: Label 'There is no vendor information in the source document. Verify that the source document is an invoice, and if it''s not, consider deleting this E-Document.';        PurchaseOrderNoTruncatedMsg: Label 'Purchase Order No. was truncated because it exceeded the maximum length of 20 characters.', Locked = true;        ItemDescriptionReasonMsg: Label 'Item was found by an exact description match.';        ItemDescriptionSourceMsg: Label 'Item %1', Comment = '%1 - Item No.';    procedure GetVendor(EDocument: Record "E-Document") Vendor: Record Vendor    var        EDocumentPurchaseHeader: Record "E-Document Purchase Header";        ServiceParticipant: Record "Service Participant";        EDocErrorHelper: Codeunit "E-Document Error Helper";

All 232 lines

Public procedures 4 in 29

GetVendor(EDocument: Record "E-Document"): Record Vendornew in 26
GetUnitOfMeasure(EDocumentHeader: Record "E-Document"; EDocumentLineId: Integer; ExternalUnitOfMeasure: Text): Record "Unit of Measure"new in 26
GetPurchaseLine(var EDocumentPurchaseLine: Record "E-Document Purchase Line")new in 26
GetPurchaseOrder(EDocumentPurchaseHeader: Record "E-Document Purchase Header"): Record "Purchase Header"new in 26