#9905 [Bug][SubscriptionBilling] Contract lines of type G/L Account never post to the selected G/L account
Contract lines of type G/L Account now post to the G/L account specified on the line instead of the default account from General Posting Setup, both for immediate posting and deferral release scenarios.
- 10files
- 7AL files
- 7objects
Pull request · merged into main (BC30) on 2026-09-04 by miljance (community contribution) · 10 files (+308 -31), 7 AL · fix · tier official · reviewed (checked by Opus)
What changed
- G/L Account contract lines bypass the General Posting Setup account lookup and post to the line’s selected account
- A new G/L Account No. field on deferral tables stores the account reference from sales/purchase lines
- Deferral release logic posts to the stored account, with fallback to General Posting Setup when not specified
- Added comprehensive tests for both immediate-posting and deferral-release paths
- Schema change is additive only; no breaking changes or upgrade code needed
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 8067 “Customer Deferrals Mngmt.”, Subscription Billing: modified
- Codeunit 8068 “Vendor Deferrals Mngmt.”, Subscription Billing: modified
- Page 8079 “Customer Contract Deferrals”, Subscription Billing: modified
- Page 8081 “Vendor Contract Deferrals”, Subscription Billing: modified
- Report 8051 “Contract Deferrals Release”, Subscription Billing: modified
- Table 8066 “Cust. Sub. Contract Deferral”, Subscription Billing: modified
- Table 8072 “Vend. Sub. Contract Deferral”, Subscription Billing: modified
Context
- Fixes: #9885 [Bug][SubscriptionBilling] Contract lines of type G/L Account never post to the selected G/L account (closed)
- Work items: AB#648281
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Finance
- Systems: development
- From the description: “contract lines of type “G/L Account” without deferrals now post to the G/L account selected on the line”
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).