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

Codeunit 7133 "Travel Request Approval"

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

  1. BC23-29not present
  2. BC30present

Neighbourhood 5 connected objects and pages

Codeunit 6926 "Expense Activity Log Mgt." (calls, 6 links)Expense Activity Log Mgt.Page 7134 "Travel Requests API" (calls, 6 links)Travel Requests APICodeunit 8703 "Feature Telemetry" (calls, 4 links)Feature TelemetryCodeunit 6840 "Release Spend Request" (calls)Release Spend RequestCodeunit 6908 "Expense Event Subscriber" (calls)Expense Event Subscriber

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 · BC30 · source at f18567dc · facts from BC30

Properties

Property Value
Access Internal
Permissions 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.
  • 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 BC30 (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

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC30 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