Skip to content

Consistent Changing No in Contract Line for Subscription Billing#4766

Merged
djukicmilica merged 2 commits into
microsoft:mainfrom
miljance:ChangingNoInContractLineForSubscriptionBilling
Sep 23, 2025
Merged

Consistent Changing No in Contract Line for Subscription Billing#4766
djukicmilica merged 2 commits into
microsoft:mainfrom
miljance:ChangingNoInContractLineForSubscriptionBilling

Conversation

@miljance

@miljance miljance commented Sep 15, 2025

Copy link
Copy Markdown
Contributor

Summary

If an Item or a GL Account is changed in Customer Subscription Contract Line the Subscription that was previously connected to a Contract Line should either be deleted or disconnected from a contract line automatically.

Work Item(s)

Fixes #4444
Fixes AB#604192

@miljance miljance requested a review from a team as a code owner September 15, 2025 15:39
@github-actions github-actions Bot added the From Fork Pull request is coming from a fork label Sep 15, 2025
@miljance

Copy link
Copy Markdown
Contributor Author

Hi @samra-singhammer, if you can I would really appreciate a code review from your side on this one.

@AndersLarsenMicrosoft AndersLarsenMicrosoft left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@anjajanic anjajanic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the tests, I would use Asset.AreEqual(...) instead of Testfield.

@miljance

Copy link
Copy Markdown
Contributor Author

Asset.AreEqual

done

@djukicmilica djukicmilica enabled auto-merge (squash) September 17, 2025 15:21
@JesperSchulz JesperSchulz added the Finance GitHub request for Finance area label Sep 20, 2025
@github-actions github-actions Bot added the Linked Issue is linked to a Azure Boards work item label Sep 22, 2025
@github-actions github-actions Bot added this to the Version 28.0 milestone Sep 22, 2025
@djukicmilica djukicmilica merged commit 8d2d12d into microsoft:main Sep 23, 2025
28 of 29 checks passed
JesperSchulz pushed a commit that referenced this pull request Oct 16, 2025
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
This is a backport of the PR:
#4766 from main (28.0) to 27.x

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes #4444
Fixes
[AB#608577](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/608577)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Finance GitHub request for Finance area From Fork Pull request is coming from a fork Linked Issue is linked to a Azure Boards work item

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Inconsitent data when changing item in manually changing contract line [SubscriptionBilling]

5 participants