Codeunit 4400 SOA Setup

Sales Order Agent, Microsoft.Agent.SalesOrderAgent

src/Apps/W1/SalesOrderAgent/app/src/Setup/SOASetup.Codeunit.al46 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

CreateDefaultAgentNoEmail line 38

  1. 47callsCodeunit 4324 Agent Setup GetSetupRecord
  2. 50callsCodeunit 4400 SOA Setup GetSOAUsername
  3. 51callsCodeunit 4400 SOA Setup GetSOAUserDisplayName
  4. 52callsCodeunit 4400 SOA Setup GetAgentSummary
  5. 56callsCodeunit 4324 Agent Setup SaveChanges
  6. 57callsGetSOASetup
  7. 60callsUpdateAgent

CreateAgent line 63, local

  1. 67callsEnsureAgentIdentityDefaults
  2. 68callsValidateAgentIdentity
  3. 69callsCheckMailboxUnique
  4. 70callsGetSOAUserDisplayName
  5. 71callsGetSOAUsername
  6. 72callsCodeunit 4324 Agent Setup SaveChanges
  7. 73callsUpdateInstructions
  8. 77callsUpdateSyncDateTime
  9. 78callsUpdateSOASetupActivationDT
  10. 80callsUpdateSOASetup
  11. 83callsEnableItemSearch
  12. 85callsCodeunit 4587 SOA Impl ScheduleSOAgent

GetInitials line 89, internal

  1. 91callsGetDefaultSOAInitials

GetInitials line 94, internal

  1. 99callsTable 4325 SOA Setup GetBasedOnAgentUserSecurityID
  2. 103callsGetDefaultSOAInitials

AllowCreateNewSOAgent line 116, internal

  1. 120callsCodeunit 4317 Agent System Permissions CurrentUserHasCanManageAllAgentsPermission
  2. 124callsActiveSOAgentCount
  3. 124callsMaxSOAInstances

ActiveSOAgentCount line 131, internal

  1. 136callsCountNonArchivedSetups

CountNonArchivedSetups line 165, internal

  1. 171callsIsAgentArchived

FindFirstNonArchivedSetup line 179, internal

  1. 185callsIsAgentArchived

MustTreatAgentAsArchived line 244, internal

  1. 254callsIsAgentArchived

CheckAgentNotArchived line 257, internal

  1. 259callsMustTreatAgentAsArchived

UpdateAgent line 278, internal

  1. 284callsCodeunit 9024 Azure AD Graph User IsUserDelegatedAdmin
  2. 284callsCodeunit 9024 Azure AD Graph User IsUserDelegatedHelpdesk
  3. 293callsCheckAgentNotArchived
  4. 295callsEnsureAgentIdentityDefaults
  5. 298callsCreateAgent
  6. 300callsTable 4325 SOA Setup GetBasedOnAgentUserSecurityID
  7. 305callsValidateAgentIdentity
  8. 306callsCheckMailboxUnique
  9. 307callsGetSOAUserDisplayName
  10. 308callsCodeunit 4324 Agent Setup SaveChanges
  11. 310callsUpdateSOASetupActivationDT
  12. 311callsUpdateInstructions
  13. 313callsUpdateSyncDateTime
  14. 317callsEnableItemSearch
  15. 319callsCodeunit 4587 SOA Impl ScheduleSOAgent
  16. 322callsCodeunit 4587 SOA Impl RemoveScheduledTask
  17. 324callsUpdateSOASetup
  18. 327callsSyncAgentIdentity
  19. 330callsLogTelemetry

SyncAgentIdentity line 333, local

  1. 347callsGetSOAUserDisplayName
  2. 353writesTable 2000000260 Agent Modify

UpdateSOASetup line 357, local

  1. 361callsTable 4325 SOA Setup GetBasedOnAgentUserSecurityID
  2. 388callsCopyMailSignatureField
  3. 394writesTable 4325 SOA Setup Modify
  4. 400writesTable 4325 SOA Setup Insert
  5. 402writesTable 4325 SOA Setup Insert

LogTelemetry line 406, local

  1. 415callsCodeunit 4321 Agent GetUserSettings
  2. 417callsCodeunit 43 Language GetCultureName
  3. 421callsCodeunit 43 Language GetCultureName
  4. 449callsCodeunit 8703 Feature Telemetry LogUptake
  5. 449callsGetFeatureName
  6. 451callsCodeunit 8703 Feature Telemetry LogUptake
  7. 451callsGetFeatureName

SetDefaultEmailSignature line 480, local

  1. 482callsTable 4325 SOA Setup SetEmailSignature
  2. 482callsGetDefaultEmailSignatureAsTxt

UpdateInstructions line 490, internal

  1. 495callsCheckAgentNotArchived
  2. 497callsCodeunit 4002 SOA Prompt Builder PrepareInstructions
  3. 498callsCodeunit 4321 Agent SetInstructions

InstructionsSyncRequired line 502, internal

  1. 513callsGetSOAInstructionsSyncPeriod

UpdateSOASetupInstructionsLastSync line 519, internal

  1. 527writesTable 4325 SOA Setup Modify

EnableItemSearch line 540, local

  1. 544callsCodeunit 4395 Global Item Search EnableItemSearch

GetDefaultAgentAccessControl line 547, internal

  1. 551callsCodeunit 4321 Agent GetUserAccess

GetDefaultProfile line 554, internal

  1. 559callsCodeunit 4321 Agent PopulateDefaultProfile

GetDefaultAccessControls line 562, internal

  1. 572writesTable 2000000291 Access Control Buffer Insert

GetSOASetup line 575, internal

  1. 580callsSetSOASetupDefaults
  2. 589writesTable 4325 SOA Setup Insert
  3. 593callsSetSOASetupDefaults
  4. 597callsTable 4325 SOA Setup GetBasedOnAgentUserSecurityID
  5. 600writesTable 4325 SOA Setup Insert
  6. 603callsSetSOASetupDefaults

ValidateAgentIdentity line 624, internal

  1. 640callsFindFirstNonArchivedSetup
  2. 646callsFindFirstNonArchivedSetup

CheckMailboxUnique line 650, internal

  1. 663callsFindFirstNonArchivedSetup
  2. 669callsFindFirstNonArchivedSetup

GetEmailAccount line 673, internal

  1. 678callsCodeunit 8894 Email Account GetAllAccounts

GetDefaultEmailAccount line 685, internal

  1. 689callsCodeunit 8894 Email Account GetAllAccounts

GetAgentTaskUserInterventionSuggestions line 693, internal

  1. 702callsGetUpdatedQuoteInterventionSuggestionCode
  2. 706writesTable 2000000279 Agent Task User Int Suggestion Insert
  3. 711callsGetUpdatedOrderInterventionSuggestionCode
  4. 715writesTable 2000000279 Agent Task User Int Suggestion Insert
  5. 726writesTable 2000000279 Agent Task User Int Suggestion Insert
  6. 735writesTable 2000000279 Agent Task User Int Suggestion Insert
  7. 742writesTable 2000000279 Agent Task User Int Suggestion Insert
  8. 751writesTable 2000000279 Agent Task User Int Suggestion Insert

GetAgentTaskPageContext line 757, internal

  1. 792callsCodeunit 4305 SOA Filters Impl. GetSecurityFiltersForCustomers
  2. 792callsCodeunit 4305 SOA Filters Impl. GetSecurityFiltersForContacts
  3. 801callsGetCommunicationLanguageCodeAndFormat
  4. 803callsCodeunit 43 Language GetLanguageId
  5. 812callsSetAgentTaskPageContext
  6. 812callsTable 4 Currency GetCurrencySymbol
  7. 815callsSetAgentTaskPageContext
  8. 815callsTable 98 General Ledger Setup GetCurrencySymbol

GetCommunicationLanguageCodeAndFormat line 821, internal

  1. 829callsCodeunit 4305 SOA Filters Impl. GetSecurityFiltersForContacts
  2. 832callsCodeunit 4305 SOA Filters Impl. GetSecurityFiltersForCustomers
  3. 840callsCodeunit 4305 SOA Filters Impl. GetExcludeAllFilter

SetAgentTaskPageContext line 851, local

  1. 858writesTable 2000000285 Agent Task Page Context Insert

SetSOASetupDefaults line 861, local

  1. 868callsSetDefaultSalesDocConfig
  2. 873callsGetDefaultSOAAgentName
  3. 874callsGetDefaultSOAInitials
  4. 875callsSetDefaultEmailSignature
  5. 876writesTable 4325 SOA Setup Insert

GetSOAUserDisplayName line 879, internal

  1. 881callsGetDefaultSOAAgentName

GetSOAUsername line 892, internal

  1. 900callsBuildSOAUserName
  2. 901callsUserNameExists
  3. 904callsMaxAgentIdentitySuffix

EnsureAgentIdentityDefaults line 911, local

  1. 914callsGetDefaultSOAAgentName
  2. 917callsGetDefaultSOAInitials

GetNextAvailableAgentIdentityIndex line 948, local

  1. 954callsGetFirstAvailableAgentNameIndex
  2. 955callsGetFirstAvailableAgentInitialsIndex
  3. 960callsMaxAgentIdentitySuffix
  4. 961callsAgentNameExists
  5. 961callsBuildSOAAgentName
  6. 962callsInitialsExists
  7. 962callsBuildSOAAgentInitials

GetFirstAvailableAgentNameIndex line 973, local

  1. 980callsBuildSOAAgentName
  2. 981callsAgentNameExists
  3. 984callsMaxAgentIdentitySuffix

GetDefaultSOAAgentName line 989, local

  1. 991callsBuildSOAAgentName
  2. 991callsGetNextAvailableAgentIdentityIndex

GetFirstAvailableAgentInitialsIndex line 1022, local

  1. 1029callsBuildSOAAgentInitials
  2. 1030callsInitialsExists
  3. 1033callsMaxAgentIdentitySuffix

GetDefaultSOAInitials line 1038, local

  1. 1040callsBuildSOAAgentInitials
  2. 1040callsGetNextAvailableAgentIdentityIndex

ValidateEmailConnectionStatus line 1056, internal

  1. 1060callsCodeunit 4397 SOA Test Setup SetTestEmailConnection
  2. 1061runsCodeunit 4397 SOA Test Setup

ValidateEmailConnection line 1064, internal

  1. 1073callsUpdateSyncDateTime
  2. 1075callsValidateEmailConnectionStatus
  3. 1080callsCodeunit 457 Environment Information IsSandbox

UpdateSyncDateTime line 1097, local

  1. 1106callsGetEmailsCount
  2. 1114callsCodeunit 4396 SOA Email Setup GetMaxNoOfEmails

GetEmailsCount line 1126, local

  1. 1130callsCodeunit 4397 SOA Test Setup SetTestEmailCount
  2. 1131runsCodeunit 4397 SOA Test Setup
  3. 1132callsCodeunit 4397 SOA Test Setup GetEmailCount

GetInboxEmailCount line 1135, internal

  1. 1140callsGetEmailsCount

DocumentExceedsPageCountThreshold line 1172, internal

  1. 1176callsCodeunit 3110 PDF Document GetPdfPageCount
  2. 1176callsPageCountThreshold