Codeunit 6109 E-Document Import Helper

E-Document Core, Microsoft.eServices.EDocument

Source AL, 1,154 lines

src/Apps/W1/EDocument/App/src/Helpers/EDocumentImportHelper.Codeunit.allines 26 to 41 of 1,154, Copyright (c) Microsoft Corporation. MIT

codeunit 6109 "E-Document Import Helper"{    /// <summary>    /// Use it to check, resolve and update unit of measure information for the imported document line.    /// </summary>    /// <param name="EDocument">The E-Document record.</param>    /// <param name="TempDocumentLine">Imported document line.</param>    /// <returns>True if successful.</returns>    procedure ResolveUnitOfMeasureFromDataImport(var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef): Boolean    var        PurchaseLine: Record "Purchase Line";        UnitOfMeasure: Record "Unit of Measure";        UOMCodeFieldRef: FieldRef;    begin        case TempDocumentLine.Number of            Database::"Purchase Line":

All 1,154 lines

Public procedures 29 in 29

ResolveUnitOfMeasureFromDataImport(var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef): Booleannew in 23
FindItemReferenceForLine(var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef): Booleannew in 23
FindItemForLine(var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef): Booleannew in 23
FindGLAccountForLine(var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef): Booleannew in 23
LogErrorIfItemNotFound(var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef): Booleannew in 23
ValidateLineDiscount(var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef)new in 23

All 34 procedures in 23-29

Changes 4 in 28

List17181920212223242526272829
Procedures31514
FindVendor(VendorNoText: Code[20]; GLN: Code[13]; VATRegistrationNo: Text[20]; RegistrationNo: Text[20]): Code[20]new in 28
added
FindVendorByRegistrationNo(RegistrationNo: Text[20]): Code[20]new in 28
added
FindCustomerByNameAndAddress(CustomerName: Text; CustomerAddress: Text): Code[20]new in 28
added
LogErrorIfVendorIsSelfBilling(var EDocument: Record "E-Document"; Vendor: Record Vendor)new in 28
added

All 14 changes in 23-29