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

Codeunit 6926 "Expense Activity Log Mgt."

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

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

Neighbourhood 7 connected objects and pages

Codeunit 6901 "Expense Report Approval Mgmt" (calls, 9 links)Expense Report Approval MgmtCodeunit 7133 "Travel Request Approval" (calls, 7 links)Travel Request ApprovalCodeunit 6987 "Expense Report-Post" (calls, 3 links)Expense Report-PostTable 6906 "Expense Report Header" (calls)Expense Report HeaderTable 6907 "Expense Report Line" (calls)Expense Report LineTable 6915 "Posted Expense Report Header" (calls)Posted Expense Report HeaderTable extension 6908 "Expense Spend Request" (calls)Expense Spend Request

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
Permissions tabledata “Expense Activity Log Entry” = rimd, tabledata “Expense Agent Setup” = r, tabledata User = r

Procedures

  • LogExpenseReportEvent(ExpenseReportHeader: Record "Expense Report Header"; EventType: Enum "Expense Activity Event Type"; InitiatedBy: Enum "Expense Activity Initiator"; ActorRole: Enum "Expense Activity Actor Role"; ActorExpenseUserNo: Code[20]; EventComment: Text): BigInteger (internal): Appends an activity entry for an in-flight expense report.
  • LogExpenseReportEventByBCUser(ExpenseReportHeader: Record "Expense Report Header"; EventType: Enum "Expense Activity Event Type"; ActorRole: Enum "Expense Activity Actor Role"; EventComment: Text): BigInteger (internal): Appends an activity entry performed directly by a Business Central user.
  • LogExpenseReportCreatedEvent(ExpenseReportHeader: Record "Expense Report Header"): BigInteger (internal): Appends the retrospective creation entry when activity tracking starts at first submission.
  • LogTravelRequestEvent(SpendRequest: Record "Spend Request"; EventType: Enum "Expense Activity Event Type"; ActorRole: Enum "Expense Activity Actor Role"; ActorExpenseUserNo: Code[20]; EventComment: Text): BigInteger (internal): Appends an activity entry for a travel request. The actor is the given expense user or, when no expense user is given, the current Business Central user.
  • LogTravelRequestCreatedEvent(SpendRequest: Record "Spend Request"): BigInteger (internal): Appends the retrospective creation entry when travel request activity tracking starts at first submission.
  • LogExpenseReportCreatedFromTravelRequest(ExpenseReportHeader: Record "Expense Report Header"): BigInteger (internal): Logs the creation of an expense report created automatically by the Expense Agent from an approved travel request.
  • LogTravelRequestExpenseReportCreated(SpendRequest: Record "Spend Request"; ExpenseReportHeader: Record "Expense Report Header"): BigInteger (internal): Logs on an approved travel request that an expense report was created for one of its travelers. The entry is a Created entry of the travel request; its document number and description identify the expense report.
  • ReassignExpenseReportEntriesToPosted(ExpenseReportHeader: Record "Expense Report Header"; PostedExpenseReportHeader: Record "Posted Expense Report Header") (internal): Reassigns a report’s entries to the posted report while preserving event and subject identity.
  • DeleteEntriesForSource(SourceTableID: Integer; SourceRecordSystemID: Guid) (internal): Deletes activity entries sourced from the specified record.
  • HasEntriesForSource(SourceTableID: Integer; SourceRecordSystemID: Guid): Boolean (internal)
  • HasSubmissionForSource(SourceTableID: Integer; SourceRecordSystemID: Guid): Boolean (internal)
  • LogPolicyEvaluationIfReady(ExpenseReportHeader: Record "Expense Report Header") (internal)

Plus 12 local procedures.

Called by

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.

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: "Expense Activity Log Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources