Codeunit 6120 E-Doc. Purchase Hist. Mapping

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

Source AL, 343 lines

src/Apps/W1/EDocument/App/src/Processing/Import/Purchase/History/EDocPurchaseHistMapping.Codeunit.allines 18 to 33 of 343, Copyright (c) Microsoft Corporation. MIT

codeunit 6120 "E-Doc. Purchase Hist. Mapping"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        EDocImpSessionTelemetry: Codeunit "E-Doc. Imp. Session Telemetry";    procedure FindRelatedPurchaseHeaderInHistory(EDocument: Record "E-Document"; var EDocVendorAssignmentHistory: Record "E-Doc. Vendor Assign. History"): Boolean    var        EDocumentPurchaseHeader: Record "E-Document Purchase Header";    begin        EDocumentPurchaseHeader.GetFromEDocument(EDocument);        EDocVendorAssignmentHistory.SetCurrentKey(SystemCreatedAt);

All 343 lines

Public procedures 6 in 29

FindRelatedPurchaseHeaderInHistory(EDocument: Record "E-Document"; var EDocVendorAssignmentHistory: Record "E-Doc. Vendor Assign. History"): Booleannew in 26
UpdateMissingHeaderValuesFromHistory(EDocVendorAssignmentHistory: Record "E-Doc. Vendor Assign. History"; var EDocPurchaseHeader: Record "E-Document Purchase Header")new in 26
FindRelatedPurchaseLineInHistory(VendorNo: Code[20]; EDocumentPurchaseLine: Record "E-Document Purchase Line"; var EDocPurchaseLineHistory: Record "E-Doc. Purchase Line History"): Booleannew in 26
OpenPageWithHistoricMatch(EDocumentPurchaseLine: Record "E-Document Purchase Line"): Booleannew in 26
UpdateMissingLineValuesFromHistory(PurchInvLine: Record "Purch. Inv. Line"; var EDocumentPurchaseLine: Record "E-Document Purchase Line"; CustomExplanationTxt: Text[250]; MatchConfidence: Text)new in 27
ApplyAdditionalFieldsFromHistoryToPurchaseLine(EDocumentPurchaseLine: Record "E-Document Purchase Line"; var PurchaseLine: Record "Purchase Line")new in 27

All 9 procedures in 26-29

Changes 5 in 27

List17181920212223242526272829
Procedures5
UpdateMissingLineValuesFromHistory(EDocPurchaseLineHistory: Record "E-Doc. Purchase Line History"; var EDocumentPurchaseLine: Record "E-Document Purchase Line")26 to 26
gone
TrackRecord(EDocument: Record "E-Document"; SourceRecord: Variant; TargetRecord: Variant)26 to 26
gone
ApplyHistoryValuesToPurchaseLine(EDocumentPurchaseLine: Record "E-Document Purchase Line"; var PurchaseLine: Record "Purchase Line")26 to 26
gone
UpdateMissingLineValuesFromHistory(PurchInvLine: Record "Purch. Inv. Line"; var EDocumentPurchaseLine: Record "E-Document Purchase Line"; CustomExplanationTxt: Text[250]; MatchConfidence: Text)new in 27
added
ApplyAdditionalFieldsFromHistoryToPurchaseLine(EDocumentPurchaseLine: Record "E-Document Purchase Line"; var PurchaseLine: Record "Purchase Line")new in 27
added

All 5 changes in 26-29