[Bug][SubscriptionBilling]: Outdated ship-to address used on invoice when contract sell-to address is updated for 28.x#8087
Open
miljance wants to merge 1 commit into
Conversation
…ted (microsoft#6974) When the sell-to address was changed on a Customer Subscription Contract with Ship-to Code blank (default), the ship-to address fields were not updated, causing invoices to use the outdated ship-to address. - Add UpdateShipToAddressFromSellToAddress to sync ship-to fields from sell-to on Customer Subscription Contract (aligned with Sales Header) - Add ShipToAddressEqualsSellToAddress and IsShipToAddressEqualToSellToAddress helper with integration event - Refactor UpdatePayToAddressFromBuyFromAddress on Vendor Subscription Contract with shared IsPayToAddressEqualToBuyFromAddress helper (aligned with Purchase Header) - Promote notification ID getters to internal for testability - Add tests for both customer and vendor contract address sync
djukicmilica
approved these changes
May 11, 2026
JesperSchulz
approved these changes
May 13, 2026
Contributor
|
We're having some instabilities in our check-in gates. Let's re-run this PR. |
auto-merge was automatically disabled
May 18, 2026 11:08
Pull request was closed
auto-merge was automatically disabled
May 18, 2026 12:16
Pull request was closed
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 is a backport of #7538 to 28.x
When the sell-to address was changed on a Customer Subscription Contract with Ship-to Code blank (default), the ship-to address fields were not updated, causing invoices to use the outdated ship-to address.
Linked work
Fixes #6974
How I validated this
What I tested and the outcome (required ΓÇö be specific: scenarios, commands, screenshots for UI changes)
Backported the changes
Risk & compatibility
None, this is a backport
Fixes AB#634783