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

Page 7134 "Travel Requests API"

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

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

Neighbourhood 5 connected objects and pages

Table 6840 "Spend Request" (relates to)Spend RequestCodeunit 7133 "Travel Request Approval" (calls, 6 links)Travel Request ApprovalCodeunit 6988 "Expense API Currency Helper" (calls)Expense API Currency HelperCodeunit 6993 "Expense Agent API Validation" (calls)Expense Agent API ValidationCodeunit 8703 "Feature Telemetry" (calls)Feature Telemetry

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
SourceTable Spend Request
PageType API
Permissions tabledata “Spend Request” = rimd, tabledata “Spend Request Detail” = rmd, tabledata “Spend Request To G/L Link” = rd, tabledata “Expense Report Header” = ri, tabledata “Posted Expense Report Header” = r, tabledata “Posted Expense Report Line” = r

Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).

Group Control Shows ToolTip
General Id Rec.SystemId —
No. No. Specifies the unique identifier of the spend request. from the table field
Requested By Requested By Specifies the employee who created the request. This value can be set only when creating the request.
Status Status Specifies the approval status of the spend request. from the table field
G/L Account No. G/L Account No. The G/L Account that the expenses will primarily be posted to. from the table field
Purpose Purpose Specifies the purpose of the spend request. from the table field
Currency Code CurrencyCodeDisplay Specifies the currency used for estimation. The local currency is represented by its currency code in the API.
Total Expected Amount Total Expected Amount Specifies the total expected amount of the spend request in the currency specified. from the table field
Total Expected Amount (LCY) Total Expected Amount (LCY) Specifies the total expected amount of the spend request. from the table field
Total Spent Amount (LCY) Total Spent Amount (LCY) Specifies the total spent amount of the spend request. from the table field
Total Line Amount (LCY) Total Line Amount (LCY) Specifies the total amount in local currency for all the detail lines. from the table field
Expected Start Date ExpectedStartDate Specifies the expected start date of the travel request.
Expected End Date ExpectedEndDate Specifies the expected end date of the travel request.
Closed At Closed At Specifies the time when the spend request was closed. from the table field
Closed By Document No. Closed By Document No. Specifies the document no. of the transaction that closed the spend request. from the table field
Shortcut Dimension 1 Code Shortcut Dimension 1 Code Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup page. from the table field
Shortcut Dimension 2 Code Shortcut Dimension 2 Code Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup page. from the table field
Requested For Requested For Specifies the expense user for whom the travel request is being created. from the table field
Business Justification Business Justification Specifies the business justification for the travel. from the table field
Travel Policy Acknowledgment Travel Policy Acknowledgment Specifies whether the travel policy has been acknowledged. from the table field
International Travel obsolete Pending 30.0; #if not CLEAN29 International Travel Specifies whether the travel is international. from the table field
Origin Country obsolete Pending 30.0; #if not CLEAN29 Origin Country/Region Code Specifies the origin country for the travel. from the table field
Destination Country obsolete Pending 30.0; #if not CLEAN29 Dest. Country/Region Code Specifies the destination country for the travel. from the table field
Restrictions Restrictions Specifies any travel restrictions that apply. from the table field
Per Diem Included Per Diem Included Specifies whether per diem is included in the travel request. from the table field
Expense Location Expense Location Specifies the expense location of the travel. The expense location can only be used, and is required, when per diem is included. It must have a per diem rule. from the table field
Actual Start Date and Time Actual Start Date and Time Specifies the actual start date and time of the travel. Required when per diem is included. from the table field
Actual End Date and Time Actual End Date and Time Specifies the actual end date and time of the travel. Required when per diem is included. from the table field
Submitted By Expense User No. Submitted By Expense User No. Specifies the expense user who submitted the travel request. from the table field
Submitted At Submitted At Specifies the date and time when the travel request was submitted. from the table field
Submitter Comment Submitter Comment Specifies the latest comment from the submitter when submitting a travel request or resubmitting a rejected travel request. from the table field
Approval Expense User No. Approval Expense User No. Specifies the expense user who approved or rejected the travel request. from the table field
Approved/Rejected Date and Time Approved/Rejected At Specifies the date and time when the travel request was approved or rejected.
Approved/Rejected By Expense User Display Name Approval Expense User Name Specifies the display name of the expense user who approved or rejected the travel request. from the table field
Approved/Rejected By Expense User Number Approval Expense User No. Specifies the expense user who approved or rejected the travel request.
Rejection Reason Rejection Reason Specifies the reason the travel request was rejected. from the table field
Travel Request Details part Page 7135 “Travel Request Details API” —
Travelers part Page 7103 “Travelers API” —
Employees part Page 6917 “Employees API” —
Activity Log Entries part Page 7122 “Expense Activity Log API” —

Procedures

  • SubmitTravelRequest(var ActionContext: WebServiceActionContext; SubmitterExpenseUserNo: Code[20])
  • SubmitTravelRequestWithComment(var ActionContext: WebServiceActionContext; SubmitterExpenseUserNo: Code[20]; SubmissionComment: Text)
  • ApproveTravelRequest(var ActionContext: WebServiceActionContext; ApproverExpenseUserNo: Code[20])
  • RejectTravelRequest(var ActionContext: WebServiceActionContext; ApproverExpenseUserNo: Code[20]; RejectReason: Text)
  • CreateExpenseReport(var ActionContext: WebServiceActionContext)

Plus 9 local procedures.

Triggers

OnInit, OnOpenPage, OnAfterGetRecord, OnNewRecord, OnFindRecord, OnInsertRecord, OnModifyRecord

Relations

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.

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: "page", object_name: "Travel Requests API"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources