#14327 Expose Payables Agent infotip sources through test fixtures
Test fixtures for the Payables Agent now expose infotip sources and business context, allowing offline evaluations to collect explanations without directly depending on E-Document apps. The change provides source descriptors through internal test APIs only.
- 3files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-11-23 by Jose-agg · 3 files (+553 -0), 2 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Expose version-neutral source records and business context through PA Test Fixtures for infotip collection
- Keep V1 discovery in draft-based compatibility code and support native purchase-document outcomes for V2
- Fixtures return only internal source descriptors (table ID, system ID, description); querying and formatting stay in the evaluation harness
- Internal TestSupport API only; no production, schema or public API changes
- New tests cover positive and negative source-discovery cases
AL objects touched
- Codeunit 3347 “PA Draft Based Test Fixtures”, PayablesAgent: modified
- Codeunit 3326 “PA Test Fixtures”, PayablesAgent: modified
Context
- Work items: AB#618671
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Write agent tests — possibly related: Describes writing agent tests with test fixtures to verify agent behavior and interactions. (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).