#12428 Add Copilot feature trial interface
Added a public Copilot feature trial interface to System Application, enabling applications to initiate trials, query remaining quota, and consume trial usage with corresponding implementation codeunits and tests.
- 8files
- 6AL files
- 5objects
Pull request · merged into main (BC30) on 2026-10-07 by encimita · 8 files (+345 -1), 6 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Adds a public Copilot Feature Trial codeunit, backed by an implementation codeunit, to start trials, query remaining quota and consume trial usage
- Moves the Copilot quota objects into the Consumption and Billing folder
- Adds the required DotNet aliases and an AI module dependency
- Adds System Application tests for trial state and quota behavior
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 7755 “Copilot Feature Trial”, System Application: added
- Codeunit 7754 “Copilot Feature Trial Impl.”, System Application: added
- Codeunit 7785 “Copilot Quota”, System Application: renamed
- Codeunit 7786 “Copilot Quota Impl.”, System Application: renamed
- Enum 7785 “Copilot Quota Usage Type”, System Application: renamed
src/System Application/App/DotNet Aliases/src/dotnet.al: modified, not in the BC30 snapshot
Context
- Work items: AB#653140
- Labels: AL: System Application, Team: Integrations
- Systems: copilot
- From the description: “Add a public Copilot feature trial interface so applications can start trials, query remaining quota, and consume trial usage.”
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).