codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model textobsolete - pending
Codeunit 6163 "E-Doc. PO Copilot Matching"
EDocument · Microsoft.eServices.EDocument.OrderMatch.Copilot
Across versionsobsolete pending since 29.0
- BC23-28not present
- BC29-30present
EDocument · Microsoft.eServices.EDocument.OrderMatch.Copilot · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| ObsoleteState | Pending |
| ObsoleteTag | 29.0 |
| ObsoleteReason | The E-Document Purchase Order Matching Copilot has been deprecated. AI-assisted line matching is now handled at import time in the E-Document Purchase Draft experience by codeunit “E-Doc. AI Tool Processor”. |
Event subscriptions
- HandleOnRegisterCopilotCapability subscribes to Page “Copilot AI Capabilities” OnRegisterCopilotCapability
Procedures
MatchWithCopilot(var TempEDocumentImportedLine: Record "E-Doc. Imported Line" temporary; var TempPurchaseLine: Record "Purchase Line" temporary; var TempAIProposalBuffer: Record "E-Doc. PO Match Prop. Buffer" temporary): BooleanCostDifference(POCost: Decimal; PODiscount: Decimal; EdocCost: Decimal; EDocDiscount: Decimal): DecimalMatch(var TempAIProposalBuffer: Record "E-Doc. PO Match Prop. Buffer" temporary; var TempEDocumentImportedLine: Record "E-Doc. Imported Line" temporary; var TempPurchaseLine: Record "Purchase Line" temporary; CompletionPromptTxt: SecretText; UserInputTxt: Text): BooleanMatch(CompletionPromptTxt: SecretText; UserInputTxt: Text; var TempAIProposalBuffer: Record "E-Doc. PO Match Prop. Buffer" temporary; var TempEDocumentImportedLine: Record "E-Doc. Imported Line" temporary; var TempPurchaseLine: Record "Purchase Line" temporary): IntegerSumUnitCostForAIMatches(var TempAIProposalBuffer: Record "E-Doc. PO Match Prop. Buffer" temporary): DecimalRegisterAICapability()FeatureName(): TextGetFunction(var Response: Codeunit "E-Doc. PO AOAI Function")SetGrounding(Ground: Boolean)
Plus 12 local procedures.
Recent changes
- 2026-07-22 #9572 Obsolete E-Document Purchase Order Matching Copilot (main, BC30, obsoletion)
Deprecations
- object: Pending 29.0 (#if not CLEAN29), “The E-Document Purchase Order Matching Copilot has been deprecated. AI-assisted line matching is now handled at import time in the E-Document Purchase Draft experience by codeunit “E-Doc. AI Tool Processor”.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "E-Doc. PO Copilot Matching"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.