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

Codeunit 6980 "Release Expense Document"

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

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

Neighbourhood 8 connected objects and pages

Table 6900 "Expense" (relates to)ExpenseCodeunit 6925 "No Receipt Declaration Mgt." (calls, 2 links)No Receipt Declaration Mgt.Codeunit 6981 "Expense Manual Reopen" (calls)Expense Manual ReopenCodeunit 6982 "Expense Manual Release" (calls)Expense Manual ReleaseCodeunit 6983 "Create Expense Report" (calls)Create Expense ReportCodeunit 7447 "EA Corp Card Selection Mgt" (calls)EA Corp Card Selection MgtCodeunit 7450 "EA Card Receipt Data Apply" (calls)EA Card Receipt Data ApplyTable 6900 "Expense" (calls)Expense

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
TableNo Expense
Permissions TableData Expense = rm

Events published

  • OnAfterReleaseExpense(var Expense: Record Expense) (integration)

Procedures

  • ReleaseCardExpenseWithoutCategory(var ExpenseRecord: Record Expense) (internal): Releases an expense created from a corporate card transaction without requiring an expense category, so that the Expense Agent can add it to a report before the user picks a category. All other release checks apply, and the report line still needs a category before the report can be released.
  • Reopen(var ExpenseRecord: Record Expense) (internal)
  • PerformManualRelease(var ExpenseRecord: Record Expense): Releases the expense as the current user after checking that the required fields are filled in. The expense rules are re-evaluated and any violations are recorded, but violations do not block the release.
  • PerformManualCheckAndRelease(var ExpenseRecord: Record Expense): Checks and releases the expense as the current user. An error is raised if the expense does not meet the release requirements.
  • PerformManualReopen(var ExpenseRecord: Record Expense): Reopens the released expense as the current user so that it can be edited again. The expense must not be included in an expense report.

Plus 2 local procedures.

Triggers

OnRun

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.

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

Evidence 1 sources