Codeunit 6409 E-Doc. Sales Providers

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

Source AL, 216 lines

src/Apps/W1/EDocument/App/src/Processing/Import/Sales/EDocSalesProviders.Codeunit.allines 16 to 31 of 216, Copyright (c) Microsoft Corporation. MIT

codeunit 6409 "E-Doc. Sales Providers" implements ICustomerProvider, ISalesLineProvider{    Access = Internal;    var        NoBuyerInformationErr: Label 'There is no buyer information in the source document. Verify that the source document is a sales order, and if it''s not, consider deleting this E-Document.';        ItemRefBySellerIdReasonMsg: Label 'Item was matched by seller item no. %1.', Comment = '%1 - Seller Item Id';        ItemRefByGtinReasonMsg: Label 'Item was matched by GTIN %1.', Comment = '%1 - GTIN';        ItemRefByStdIdReasonMsg: Label 'Item was matched by standard item id (bar code) %1.', Comment = '%1 - Standard Item Id';        ItemRefByBuyerIdReasonMsg: Label 'Item was matched by buyer item reference for customer %1.', Comment = '%1 - Customer No.';        ItemRefSourceMsg: Label 'Item Reference %1', Comment = '%1 - Item Reference No.';        ItemSourceMsg: Label 'Item %1', Comment = '%1 - Item No.';    /// <summary>    /// Resolves the customer for an inbound sales order. Tries, in order: Customer.GLN matched    /// directly, Service Participant matched by buyer GLN, Customer."VAT Registration No." matched

All 216 lines

Public procedures 2 in 29

GetCustomer(EDocument: Record "E-Document"): Record Customernew in 28
GetSalesLine(var EDocumentSalesLine: Record "E-Document Sales Line")new in 28