[28.x][Payables Agent] Users can personalize-in the Name column on the draft page#9215
Merged
Merged
Conversation
Adds a hidden-by-default, read-only 'Name' column to the E-Document purchase draft lines subform (page 6183 'E-Doc. Purchase Draft Subform') showing the name of the matched entity (Item, G/L Account, Resource, etc.). Users can personalize it into view. The value reflects the matched record, not the extracted invoice description, and is read-only. - Extract the polymorphic Type+No. -> entity-name lookup from SetDescriptionFromLineTypeNo into a reusable GetMatchedEntityName() on table 6101 'E-Document Purchase Line' (non-redundant; description defaulting and the column now share one code path). - Add OnAfterGetMatchedEntityName integration event so connector apps can resolve names for custom purchase line types. - Bind the new column to a page variable computed in OnAfterGetRecord; no table schema change.
Addresses PR review: load only the name/description field for each matched entity Get (Item, G/L Account, Allocation Account, Fixed Asset, Resource, Item Charge).
ventselartur
approved these changes
Jul 8, 2026
Groenbech96
approved these changes
Jul 8, 2026
AndersLarsenMicrosoft
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
This change adds a read-only Name column to the E-Document purchase draft lines subform (page 6183 E-Doc. Purchase Draft Subform). The column shows the name of the matched entity such as Item, G/L Account, or Resource, so reviewers can confirm a line was matched to the right record. It stays hidden by default and users personalize it into view. The value reflects the matched record rather than the extracted invoice description and cannot be edited.
Linked work
Fixes AB#641589
How I validated this
What I tested and the outcome
Risk & compatibility