Align Pay-to Name 2 editability with the other pay-to address fields on purchase documents#9182
Open
Franco111000 wants to merge 1 commit into
Open
Conversation
…on purchase documents The Pay-to Name 2 field on Purchase Quote, Purchase Order, and Purchase Invoice was only editable with the Another Vendor pay-to option. Every other field in the pay-to address group is editable when Custom Address is selected or when the pay-to vendor differs from the buy-from vendor. The field was missed when that editability logic was applied to the group. The same correction is propagated to the country layers that carry copies of these pages (APAC, BE, CH, DACH, ES, FI, IT, NA, NL, NO, RU), and the existing pay-to editability tests now cover the field.
4 tasks
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
On the Purchase Quote, Purchase Order, and Purchase Invoice pages, "Pay-to Name 2" is only editable when the Pay-to option is "Another Vendor". Every other field in the pay-to address group (Address, Address 2, City, County, Post Code, Country/Region Code, Contact No., Contact) is editable when "Custom Address" is selected or when the pay-to vendor differs from the buy-from vendor. The field was missed when that editability logic was applied to the group. This is the purchase-side counterpart of #8312, fixed for sales in #9096.
This change gives "Pay-to Name 2" the same Editable and Enabled expression as the rest of the group on those three pages. The country layers that carry copies of these pages (APAC, BE, CH, DACH, ES, FI, IT, NA, NL, NO, RU) receive the identical two-property change, following the established practice of propagating W1 fixes to the localization layers.
Linked work
Fixes #9097
How I validated this
What I tested and the outcome
Risk & compatibility