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

Table extension 6908 "Expense Spend Request"

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

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

Neighbourhood 7 connected objects and pages

Table 6923 "Expense User" (relates to, 8 links)Expense UserTable 9 "Country/Region" (relates to, 2 links)Country/RegionTable 6840 "Spend Request" (relates to)Spend RequestTable 6925 "Expense Location" (relates to)Expense LocationCodeunit 27 "Confirm Management" (calls)Confirm ManagementCodeunit 6926 "Expense Activity Log Mgt." (calls)Expense Activity Log Mgt.Codeunit 9500 "Sequence No. Mgt." (calls)Sequence No. Mgt.

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

Extends Spend Request.

Fields

Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

No. Name Type Explanation Notes
6900 Requested For Code[20] Specifies the expense user for whom the travel request is being created. TableRelation Table 6923 “Expense User” (Expense User); DataClassification EndUserIdentifiableInformation
6901 Business Justification Text[2048] Specifies the business justification for the travel. DataClassification CustomerContent
6902 Travel Policy Acknowledgment Boolean Specifies whether the travel policy has been acknowledged. DataClassification CustomerContent
6903 International Travel Boolean Specifies whether the travel is international. obsolete Pending 30.0; DataClassification CustomerContent
6904 Origin Country/Region Code Code[10] Specifies the origin country for the travel. obsolete Pending 30.0; TableRelation Table 9 “Country/Region” (“Country/Region”.Code); DataClassification CustomerContent
6905 Dest. Country/Region Code Code[10] Specifies the destination country for the travel. obsolete Pending 30.0; TableRelation Table 9 “Country/Region” (“Country/Region”.Code); DataClassification CustomerContent
6906 Restrictions Text[250] Specifies any travel restrictions that apply. DataClassification CustomerContent
6907 Per Diem Included Boolean Specifies whether per diem is included in the travel request. DataClassification CustomerContent
6908 Expense Location Code[20] 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. TableRelation Table 6925 “Expense Location” (“Expense Location”.“No.”); DataClassification CustomerContent
6910 Requested For Name Text[100] Specifies the name of the expense user for whom the travel request is being created. FlowField: lookup(“Expense User”.Name where(“No.” = field(“Requested For”)))
6911 Actual Start Date and Time DateTime Specifies the actual start date and time of the travel. Required when per diem is included. DataClassification CustomerContent
6912 Actual End Date and Time DateTime Specifies the actual end date and time of the travel. Required when per diem is included. DataClassification CustomerContent
6913 Approver Expense User Filter Code[20] — TableRelation Table 6923 “Expense User” (“Expense User”.“No.”); FlowFilter
6914 Submitted By Expense User No. Code[20] Specifies the expense user who submitted the travel request. TableRelation Table 6923 “Expense User” (“Expense User”.“No.”); not editable; DataClassification EndUserIdentifiableInformation
6915 Submitted At DateTime Specifies the date and time when the travel request was submitted. not editable; DataClassification SystemMetadata
6916 Approval Expense User No. Code[20] Specifies the expense user who approved or rejected the travel request. TableRelation Table 6923 “Expense User” (“Expense User”.“No.”); not editable; DataClassification EndUserIdentifiableInformation
6917 Rejection Reason Text[2048] Specifies the reason the travel request was rejected. not editable; DataClassification CustomerContent
6918 Requested By User Id Filter Guid — TableRelation Table 6923 “Expense User” (“Expense User”.SystemId); FlowFilter
6919 Approver User Id Filter Guid — TableRelation Table 6923 “Expense User” (“Expense User”.SystemId); FlowFilter
6920 Approval Expense User Name Text[100] Specifies the display name of the expense user who approved or rejected the travel request. FlowField: lookup(“Expense User”.Name where(“No.” = field(“Approval Expense User No.”))); not editable
6921 Submitter Comment Text[2048] Specifies the latest comment from the submitter when submitting a travel request or resubmitting a rejected travel request. not editable; DataClassification CustomerContent

Procedures

  • CheckExpenseLocation() (internal)
  • CheckPerDiemRuleOnTripStart() (internal): Checks that a per diem rule for the expense location is in effect on the trip start date, so that approval can create the per diem line.
  • CheckActualDateTimes() (internal)
  • InsertRequestedForTraveler() (internal)

Plus 9 local procedures.

Triggers

OnAfterInsert, OnBeforeDelete, OnDelete

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.

Deprecations

  • field Dest. Country/Region Code: Pending 30.0, “Replaced by the Expense Location field.”
  • field International Travel: Pending 30.0, “Replaced by the Expense Location field.”
  • field Origin Country/Region Code: Pending 30.0, “Replaced by the Expense Location field.”

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: "tableextension", object_name: "Expense Spend Request"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources