Codeunit 6244 E-Doc. Hist. Line Data Loader
Source AL, 197 lines
src/Apps/W1/EDocument/App/src/Processing/Import/Purchase/History/EDocHistLineDataLoader.Codeunit.allines 12 to 27 of 197, Copyright (c) Microsoft Corporation. MIT
codeunit 6244 "E-Doc. Hist. Line Data Loader"{ Access = Internal; InherentPermissions = X; InherentEntitlements = X; var TotalLoaded: Integer; HistoricalDataLoadEventTok: Label 'Historical Data Load', Locked = true; /// <summary> /// Loads up to 5000 historical posted purchase invoice lines for the draft line's vendor /// into a temporary table, prioritized by relevance to the selected draft line. /// Priority: vendor matching lines first (product code exact, description exact, and LLM-based /// similar descriptions), then any remaining lines for the same vendor. /// The search is scoped to the draft's vendor; no cross-vendor history is loaded.Public procedures 2 in 29
| Load | new in 29 |
| Max | new in 29 |