Codeunit 4301 Agent Impl.

System Application, System.Agents

47 procedures

ProcedureVersions
internal CreateAgent(AgentMetadataProvider: Enum "Agent Metadata Provider"; AgentUserName: Code[50]; AgentUserDisplayName: Text[80]; var TempAgentAccessControl: Record "Agent Access Control" temporary): Guid25 to 26
Activate(AgentUserSecurityID: Guid)new in 25changed in 27
Deactivate(AgentUserSecurityID: Guid)new in 25changed in 27
internal SetInstructions(AgentUserSecurityID: Guid; Instructions: SecretText)25 to 26
internal GetInstructions(var Agent: Record Agent): Text25 to 25
internal InsertCurrentOwnerIfNoOwnersDefined(var Agent: Record Agent; var AgentAccessControl: Record "Agent Access Control")25 to 26
internal InsertCurrentOwner(AgentUserSecurityID: Guid; var AgentAccessControl: Record "Agent Access Control")25 to 26
internal VerifyOwnerExists(AgentAccessControlModified: Record "Agent Access Control")25 to 26
GetUserAccess(AgentUserSecurityID: Guid; var TempAgentAccessControl: Record "Agent Access Control" temporary)new in 25changed in 27
SetProfile(AgentUserSecurityID: Guid; var AllProfile: Record "All Profile")new in 25changed in 27
internal AssignCompany(AgentUserSecurityID: Guid; CompanyName: Text)25 to 26
GetUserName(AgentUserSecurityID: Guid): Code[50]new in 25changed in 27
GetDisplayName(AgentUserSecurityID: Guid): Text[80]new in 25changed in 27
SetDisplayName(AgentUserSecurityID: Guid; DisplayName: Text[80])new in 25changed in 27
IsActive(AgentUserSecurityID: Guid): Booleannew in 25changed in 27
UpdateAgentAccessControl(AgentUserSecurityID: Guid; var TempAgentAccessControl: Record "Agent Access Control" temporary)new in 25changed in 27
UpdateAgentUserSettings(NewUserSettings: Record "User Settings")new in 25changed in 27
ProfileLookup(var UserSettingsRec: Record "User Settings"): Booleannew in 25
internal UpdateProfile(var TempAllProfile: Record "All Profile" temporary; var UserSettingsRec: Record "User Settings")25 to 26
PopulateProfiles(var TempAllProfile: Record "All Profile" temporary)25 to 26
GetProfileName(Scope: Option System,Tenant; AppID: Guid; ProfileID: Code[30]): Text25 to 26
internal AssignPermissionSets(var UserSID: Guid; PermissionCompanyName: Text; var AggregatePermissionSet: Record "Aggregate Permission Set")25 to 26
SelectAgent(var Agent: Record Agent)new in 25
internal GetInstructions(AgentUserSecurityID: Guid): SecretText26 to 26
ShowNoAgentsAvailableNotification()new in 26
OpenNoAgentsLearnMore(Notification: Notification)new in 26
CreateAgent(AgentMetadataProvider: Enum "Agent Metadata Provider"; var UserName: Code[50]; AgentUserDisplayName: Text[80]; var TempAgentAccessControl: Record "Agent Access Control" temporary): Guidnew in 27
PopulateProfileTempRecord(ProfileID: Text[30]; ProfileAppID: Guid; var TempAllProfile: Record "All Profile" temporary)new in 27
SetProfile(AgentUserSecurityID: Guid; ProfileID: Text; ProfileAppID: Guid)new in 27
UpdateLocalizationSettings(AgentUserSecurityID: Guid; LanguageID: Integer; LocaleID: Integer; TimeZone: Text[180])new in 27
UpdateLocalizationSettings(AgentUserSecurityID: Guid; var NewUserSettingsRec: Record "User Settings")new in 27
GetUserSettings(AgentUserSecurityID: Guid; var UserSettingsRec: Record "User Settings")new in 27
CanShowMonetizationData(): Boolean27 to 27
AssignPermissionSets(var UserSecurityID: Guid; var TempAccessControlBuffer: Record "Access Control Buffer" temporary)new in 27
GetPermissionSets(AgentUserSecurityID: Guid; var TempAccessControlBuffer: Record "Access Control Buffer" temporary)new in 27
GetAgent(var Agent: Record Agent; UserSecurityID: Guid)new in 27
OpenSetupPageId(AgentMetadataProvider: Enum "Agent Metadata Provider"; AgentUserSecurityID: Guid)new in 27
GetAccessControlForSingleCompany(AgentUserSecurityID: Guid; var SingleCompanyName: Text[30]): Booleannew in 27
GetCopilotAvailabilityDisplayText(Agent: Record Agent): Textnew in 27
GetModelId(AgentUserSecurityID: Guid): Code[30]new in 28
GetModelName(AgentUserSecurityID: Guid): Text[70]new in 28
SetModelId(AgentUserSecurityID: Guid; ModelId: Code[30])new in 28
SetModelIdToAuto(AgentUserSecurityID: Guid)new in 28
SelectAgent(var Agent: Record Agent; AlwaysShowUI: Boolean)new in 28
Archive(AgentUserSecurityID: Guid)new in 29
IsArchived(AgentUserSecurityID: Guid): Booleannew in 29
ShowAgent(AgentUserSecurityID: Guid)new in 29