#10477 [Bug Fix] #249: Raise populated ErrorInfo for Subscription Billing failures
Subscription Billing error handlers now raise the fully populated ErrorInfo object instead of plain-text errors, enabling interactive users to navigate to the offending record when document creation fails.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-23 by ventselartur · 2 files (+28 -2), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- DisplayOrLogErrorFromBillingTemplate and DisplayOrLogErrorFromBillingLine now call Error(ErrorTextInfo) instead of Error(ErrorText)
- The ErrorInfo already held the error type, message, RecordId, SystemId and TableId but was previously discarded
- Interactive users now get an error with a navigation link to the offending Billing Template or Billing Line
- Added a regression test in codeunit 139688 checking that an ErrorInfo-based error is raised
- Automated billing still logs errors without raising an interactive error
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 8060 “Create Billing Documents”, Subscription Billing: modified
Context
- Work items: AB#646836
- Labels: AL: Apps (W1), Team: Finance
- Systems: sales
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Actionable errors — possibly related: Implements populated ErrorInfo objects for user-actionable error handling in Subscription Billing. (model-linked)
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).