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

Codeunit 7133 "Travel Request Approval"

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

  1. BC23-28not present
  2. BC29present
  3. BC30changed

Neighbourhood 7 connected objects and pages

Codeunit 6926 "Expense Activity Log Mgt." (calls, 7 links)Expense Activity Log Mgt.Page 7134 "Travel Requests API" (calls, 6 links)Travel Requests APICodeunit 8703 "Feature Telemetry" (calls, 4 links)Feature TelemetryCodeunit 46 "SelectionFilterManagement" (calls, 2 links)SelectionFilterManagementCodeunit 6908 "Expense Event Subscriber" (calls, 2 links)Expense Event SubscriberCodeunit 6840 "Release Spend Request" (calls)Release Spend RequestCodeunit 6987 "Expense Report-Post" (calls)Expense Report-Post

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 User = r, tabledata “Spend Request” = rm, tabledata Traveler = r, tabledata “Expense Report Header” = ri, tabledata “Posted Expense Report Header” = r, tabledata “Posted Expense Report Line” = r

Procedures

  • Submit(var SpendRequest: Record "Spend Request"; SubmitterExpenseUserNo: Code[20]) (internal)
  • Submit(var SpendRequest: Record "Spend Request"; SubmitterExpenseUserNo: Code[20]; SubmissionComment: Text) (internal): Submits a travel request on behalf of an expense user with an optional submitter comment, for example a justification when resubmitting a rejected travel request.
  • PrepareManualRelease(var SpendRequest: Record "Spend Request") (internal): Starts a new approval for an open travel request released from the Business Central client, like a submission without a comment. The decision and the submitter comment of an earlier approval, for example a rejection, are cleared.
  • Approve(var SpendRequest: Record "Spend Request"; ApproverExpenseUserNo: Code[20]) (internal)
  • ApproveAutomatically(var SpendRequest: Record "Spend Request") (internal)
  • Reject(var SpendRequest: Record "Spend Request"; ApproverExpenseUserNo: Code[20]; RejectReason: Text) (internal): Rejects a travel request and reopens it, so that the submitter can change and resubmit it, like a rejected expense report. The rejection reason and the approver are kept until the travel request is resubmitted.
  • LogTravelRequestClosed(SpendRequest: Record "Spend Request"; EventComment: Text) (internal): Records the closure of a travel request as its final state in the activity history. The current Business Central user is logged as the actor.
  • ApplyOwnerFilter(var SpendRequest: Record "Spend Request"; OwnerSystemId: Guid): Code[20] (internal)
  • ApplyApproverFilter(var SpendRequest: Record "Spend Request"; ApproverSystemId: Guid) (internal)
  • ApplyApproverFilter(var SpendRequest: Record "Spend Request"; ApproverExpenseUserNo: Code[20]) (internal)

Plus 16 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: "Travel Request Approval"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources