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

  1. BC23-28not present
  2. 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): Boolean
  • CostDifference(POCost: Decimal; PODiscount: Decimal; EdocCost: Decimal; EDocDiscount: Decimal): Decimal
  • Match(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): Boolean
  • Match(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): Integer
  • SumUnitCostForAIMatches(var TempAIProposalBuffer: Record "E-Doc. PO Match Prop. Buffer" temporary): Decimal
  • RegisterAICapability()
  • FeatureName(): Text
  • GetFunction(var Response: Codeunit "E-Doc. PO AOAI Function")
  • SetGrounding(Ground: Boolean)

Plus 12 local procedures.

Recent changes

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.

Evidence 1 sources