Skip to content

Subscription billing app conflicts with IRS Forms app#4704

Merged
AndersLarsenMicrosoft merged 1 commit into
releases/27.xfrom
bugs/SubscriptionBillingConflictsWithIRSFormsApp_27x
Sep 8, 2025
Merged

Subscription billing app conflicts with IRS Forms app#4704
AndersLarsenMicrosoft merged 1 commit into
releases/27.xfrom
bugs/SubscriptionBillingConflictsWithIRSFormsApp_27x

Conversation

@ventselartur

@ventselartur ventselartur commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

When Subscription Billing app creates a new billing document it
validates the vendor number and posting date. Then the IRS forms app,
which is the US specific app, not related to subscription billing, run
an update of certain fields related to this app. This kind of update in
the IRS forms app from the other side triggers the Subscription billing
app code - the CreatePurchaseHeaderForVendorNo procedure. This procedure
throws the following error:
You cannot make this change because the document is linked to a
contract. If you still want to change the field, first delete this
document and then make the change to the contract.

This procedure has a list of fields for exclusion. It would be great to
add IRS forms app fields to the exclusion list, but that is not possible
unless i create a dependency between these two apps, which does not make
any sense.
The other approach which i eventually chose is to skip calling the
CreatePurchaseHeaderForVendorNo when i change the vendor number pr
posting date. To me it sounds much better as we keep the procedure
untouched, so we continue to call it whenever some user changes this
value in the document. But if we validate the posting date through the
code in the CreateBillingDocuments codeunit, we can skip this check.

AB#599229

@ventselartur ventselartur requested a review from a team as a code owner September 5, 2025 19:50
@github-actions github-actions Bot added this to the Version 27.1 milestone Sep 5, 2025

@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.

all good

@AndersLarsenMicrosoft AndersLarsenMicrosoft merged commit c7d9a44 into releases/27.x Sep 8, 2025
11 checks passed
@AndersLarsenMicrosoft AndersLarsenMicrosoft deleted the bugs/SubscriptionBillingConflictsWithIRSFormsApp_27x branch September 8, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants