#8115 Subscription Billing: respect Default Dimension Priorities on Subscription Lines
Subscription Billing now respects Default Dimension Priorities when creating subscription lines from contracts, ensuring Item dimensions override Customer dimensions when configured with higher priority, instead of always letting Customer values win.
- 7files
- 6AL files
- 6objects
Pull request · merged into main (BC30) on 2026-07-14 by Franco111000 (community contribution) · 7 files (+229 -22), 6 AL · fix · tier official · reviewed (checked by Opus)
What changed
- SetDefaultDimensions now passes the correct source code (Sales/Purchases) to enable Default Dimension Priority lookup
- Customer/Vendor is added as a dimension source alongside Item/GL Account for proper priority evaluation
- GetRecDefaultDimID is used with inherited dimension set from contracts, matching the standard SalesLine.CreateDim pattern
- UpdateFromCustomerContract/VendorContract now route through SetDefaultDimensions instead of blind-merging
- Billing-time merge behavior remains unchanged to preserve subscription line dimension authority
- Behaviour changes for users or extensions.
AL objects touched
- Table 8062 “Cust. Sub. Contract Line”, Subscription Billing: modified
- Table 8052 “Customer Subscription Contract”, Subscription Billing: modified
- Codeunit 8007 “Create Sub. Contract Line”, Subscription Billing: modified
- Table 8059 “Subscription Line”, Subscription Billing: modified
- Table 8065 “Vend. Sub. Contract Line”, Subscription Billing: modified
- Table 8063 “Vendor Subscription Contract”, Subscription Billing: modified
Context
- Fixes: #8084 [Bug][SubscriptionBilling]: Default Dimension Priorities not respected when creating Sales Invoice from Customer Subscription Contract (closed)
- Work items: AB#635866
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Finance
- Systems: development
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).