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

Codeunit 4324 "Agent Setup"

System Application · System.Agents

Across versions

  1. BC23-26not present
  2. BC27added
  3. BC282 procedures added
  4. BC29-30unchanged

Neighbourhood 12 connected objects and pages

Codeunit 4325 "Agent Setup Impl." (calls, 12 links)Agent Setup Impl.Codeunit 4400 "SOA Setup" (calls, 4 links)SOA SetupCodeunit 3307 "Payables Agent Setup" (calls, 2 links)Payables Agent SetupPage 3304 "Payables Agent Setup" (calls, 2 links)Payables Agent SetupPage 4310 "Agent Setup Part" (calls, 2 links)Agent Setup PartPage 6991 "Expense Agent Setup Wizard" (calls, 2 links)Codeunit 3304 "PA Setup Configuration" (calls)PA Setup ConfigurationCodeunit 4350 "Custom Agent Setup" (calls)Custom Agent SetupPage 4350 "Custom Agent Setup" (calls)Custom Agent SetupPage 4400 "SOA Setup" (calls)SOA SetupPage extension 4351 "Agent Task List" (calls)Agent Task ListTable 6930 "Expense Agent Setup" (calls)

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.

System Application · System.Agents · BC27-30 · source at ea08af5e · facts from BC29

Procedures

  • GetSetupRecord(var AgentSetupBuffer: Record "Agent Setup Buffer"; UserSecurityID: Guid; AgentMetadataProvider: Enum "Agent Metadata Provider"; DefaultUserName: Code[50]; DefaultDisplayName: Text[80]; AgentSummary: Text): Gets the setup record for existing agents or initializes a new setup record for new agents.
  • CopySetupRecord(var Target: Record "Agent Setup Buffer"; var Source: Record "Agent Setup Buffer") + BC28: Copies the setup record from the source buffer to the target buffer.
  • SaveChanges(var AgentSetupBuffer: Record "Agent Setup Buffer"): Guid: Saves changes done. If the agent does not exist we will create a new agent otherwise we will update the agent.
  • GetChangesMade(var AgentSetupBuffer: Record "Agent Setup Buffer"): Boolean: Checks if there are any changes made in the setup buffer that need to be saved.
  • OpenLanguageAndRegionPage(var AgentSetupBuffer: Record "Agent Setup Buffer"): Boolean: Opens a page where the language and region settings for the agent can be updated.
  • GetAgentSummary(var AgentSetupBuffer: Record "Agent Setup Buffer"): Text: Retrieves the summary information about the agent.
  • OpenAgentAccessControlPage(var AgentSetupBuffer: Record "Agent Setup Buffer"): Boolean: Opens a page where the user access control settings for the agent can be updated.
  • OpenProfileLookup(var UserSettingsRec: Record "User Settings"): Boolean: Allows the user to select a profile out of the list of available profiles. The user settings record will be updated with the selected profile.
  • OpenAgentLookup(var AgentUserSecurityId: Guid): Boolean: Allows the user to select an agent out of the list of enabled agents.
  • FindAgentByUserName(AgentUserName: Text; var AgentUserSecurityId: Guid): Boolean + BC28: Finds the agent user security ID based on the provided user name.
  • OpenAgentLookup(AgentType: Enum "Agent Metadata Provider"; var AgentUserSecurityId: Guid): Boolean: Allows the user to select an agent out of the list of enabled agents.
  • OpenSetupPage(var AgentSetupBuffer: Record "Agent Setup Buffer"): Opens the setup page for the agent.
  • OpenSetupPage(AgentUserSecurityId: Guid): Opens the setup page for the agent.
  • UpdateUserAccessControl(var AgentSetupBuffer: Record "Agent Setup Buffer"): Boolean: Opens the page where the user access control settings for the agent can be updated.

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

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

Evidence 1 sources