codeunitCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Codeunit 7438 "EA Receipt Expense Match"

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 4 connected objects and pages

Codeunit 6988 "Expense API Currency Helper" (calls, 2 links)Expense API Currency HelperPage 7425 "EA Card Expense Matches API" (calls, 2 links)EA Card Expense Matches APICodeunit 7426 "EA Corp Card Enh. Match Mgt" (calls)EA Corp Card Enh. Match MgtCodeunit 7450 "EA Card Receipt Data Apply" (calls)EA Card Receipt Data Apply

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · source at 4e6a307c · facts from BC29

Properties

Property Value
Access Internal

Procedures

  • FindMatchingExpense(ExpenseUserSystemId: Guid; ExpenseDate: Date; Amount: Decimal; CurrencyCode: Code[10]; MerchantName: Text[100]; CardLast4: Text): Guid (internal): Returns the SystemId of the card expense that the receipt belongs to, or an empty GUID when none matches. Candidates must have the same expense user, currency and exact amount, and an expense date within the Corp Card Date Match Window. When CardLast4 is four digits, the expense must also be paid wi…
  • CheckMatchingExpense(ExpenseUserSystemId: Guid; ExpenseSystemId: Guid; ExpenseDate: Date; Amount: Decimal; CurrencyCode: Code[10]; CardLast4: Text): Guid (internal): Returns ExpenseSystemId when that expense is a card expense the receipt belongs to, or an empty GUID otherwise. Uses the same rules as FindMatchingExpense, except the merchant name: the user picked the expense, so it is not checked.
  • IsWaitingForReceipt(Expense: Record Expense): Boolean (internal): Returns true when a receipt can still be applied to the card expense: either the expense is not on an expense report yet and is open or released (for example after it was removed from a report), or it is on an open expense report and its line has no receipt and no lost-receipt declaration.

Plus 9 local procedures.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Recent changes

No source states these links: they share an object, a model read them, or a person found the same subject.

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). The call sections above are our own, per object, from the BC29 call graph. 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: "EA Receipt Expense Match"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources