Codeunit 3307 Payables Agent Setup
src/Apps/W1/PayablesAgent/app/Setup/PayablesAgentSetup.Codeunit.al30 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
LoadSetupConfiguration line 44
- 54callsCodeunit 3304 PA Setup Configuration GetSkipAgentConfiguration
- 55callsGetAgent
- 56callsCodeunit 4324 Agent Setup GetSetupRecord
- 60callsAgentUserName
- 61callsAgentDisplayName
- 64callsCodeunit 3304 PA Setup Configuration SetAgentSetupBuffer
- 67callsTable 3303 Payables Agent Setup GetSetup
- 71callsCodeunit 3304 PA Setup Configuration SetPayablesAgentSetup
- 72callsCodeunit 3304 PA Setup Configuration SetEDocumentService
- 73callsCodeunit 3304 PA Setup Configuration SetOutlookSetup
ApplyPayablesAgentSetup line 81
- 102callsCodeunit 9024 Azure AD Graph User IsUserDelegatedAdmin
- 102callsCodeunit 9024 Azure AD Graph User IsUserDelegatedHelpdesk
- 108callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 108callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 109callsCodeunit 3304 PA Setup Configuration GetPayablesAgentSetup
- 110callsCodeunit 3304 PA Setup Configuration GetPayablesAgentSetup
- 117callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 117callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 118callsCodeunit 3304 PA Setup Configuration GetPayablesAgentSetup
- 125callsCodeunit 3304 PA Setup Configuration GetOutlookSetup
- 126callsCodeunit 3304 PA Setup Configuration GetOutlookSetup
- 127callsCodeunit 3304 PA Setup Configuration GetOutlookSetup
- 128callsCodeunit 3304 PA Setup Configuration GetOutlookSetup
- 129callsCodeunit 3304 PA Setup Configuration GetOutlookSetup
- 133callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 133callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 134callsCodeunit 3304 PA Setup Configuration GetSkipEmailVerification
- 136callsCodeunit 3304 PA Setup Configuration GetPayablesAgentSetup
- 137callsCodeunit 3304 PA Setup Configuration GetOutlookSetup
- 141callsCodeunit 3304 PA Setup Configuration GetPayablesAgentSetup
- 143callsCodeunit 3304 PA Setup Configuration SetPayablesAgentSetup
- 146callsCodeunit 457 Environment Information IsSaaS
- 146callsCodeunit 3304 PA Setup Configuration GetPayablesAgentSetup
- 147callsCodeunit 3310 PA Validate Setup SetOutlookSetup
- 148runsCodeunit 3310 PA Validate Setup
- 150callsCodeunit 3304 PA Setup Configuration GetEmailAccount
- 164callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 164callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 165callsInitializeTrialIfEligible
- 168callsTable 3303 Payables Agent Setup GetSetup
- 169callsCodeunit 3304 PA Setup Configuration GetPayablesAgentSetup
- 172callsCodeunit 3304 PA Setup Configuration GetSkipAgentConfiguration
- 173callsApplyAgentSetup
- 176callsApplyEDocumentServiceSetup
- 177writesTable 3303 Payables Agent Setup Modify
- 179callsCodeunit 6196 E-Doc. PO Matching ConfigureDefaultPOMatchingSettings
- 180callsCodeunit 3309 PA Demo Guide SendDemoEmail
- 182callsInsertAccessControlForEligibleUsers
GetOrCreateAgentEDocumentService line 185
- 191writesTable 6103 E-Document Service Insert(true)
- 193callsTable 6122 E-Doc. Service Supported Type InsertDefaultIfMissing
- 194callsTable 6122 E-Doc. Service Supported Type InsertDefaultIfMissing
AllowCreditMemosOnAgentEDocumentService line 198, internal
- 204callsTable 6122 E-Doc. Service Supported Type InsertDefaultIfMissing
WasEDocumentCreatedByAgent line 207
- 209callsTable 6121 E-Document GetEDocumentService
GetAgent line 228
- 233callsTable 3303 Payables Agent Setup GetSetup
- 241callsAgentUserName
- 245writesTable 3303 Payables Agent Setup Modify
SetAgentInstructions line 249, internal
- 257callsApplyAgentInstructions
- 259callsTable 3303 Payables Agent Setup GetSetup
- 262writesTable 3303 Payables Agent Setup Modify
ApplyAgentInstructions line 271, local
- 279callsIsAgentDrivenLineMatchingEnabled
- 284callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
- 287callsFeatureName
- 290callsCodeunit 4321 Agent SetInstructions
- 292callsGetInstructionsConfigHash
IsAgentDrivenLineMatchingEnabled line 298, internal
- 302callsCodeunit 8347 Feature Configuration GetConfiguration
EnsureAgentInstructionsMatchConfiguration line 311, internal
- 317callsTable 3303 Payables Agent Setup GetSetup
- 318callsGetInstructionsConfigHash
- 320callsFeatureName
- 321callsSetAgentInstructions
TryEnsureAgentInstructionsMatchConfiguration line 330, internal
GetInstructionsConfigHash line 340, internal
- 348callsGetInstructionsExperimentKeys
- 351callsCodeunit 8347 Feature Configuration GetConfiguration
- 354callsCodeunit 1266 Cryptography Management GenerateHash
CanShowAgentActions line 364, internal
- 371callsCodeunit 2000000022 Agent Utilities IsAgentsFeatureEnabled
- 374callsCodeunit 7773 Copilot Capability IsCapabilityActive
- 377callsCodeunit 3307 Payables Agent Setup GetAgent
- 378callsAllowCreateNewAgent
InsertAccessControlForEligibleUsers line 387, internal
- 393callsGetUsersThatHaveCreatedPostedPurchInvoice
- 407writesTable 2000000261 Agent Access Control Insert
AllowCreateNewAgent line 416, internal
- 424callsCodeunit 2000000022 Agent Utilities IsAgentsFeatureEnabled
- 427callsCodeunit 7773 Copilot Capability IsCapabilityActive
- 430callsCodeunit 3307 Payables Agent Setup GetAgent
- 434callsCodeunit 4317 Agent System Permissions CurrentUserHasCanManageAllAgentsPermission
- 437callsCodeunit 2000000022 Agent Utilities CanCurrentUserCreateAgent
- 440callsHasUserCreatedPostedPurchInvoice
ApplyAgentSetup line 458, local
- 470callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 471callsCodeunit 4324 Agent Setup SaveChanges
- 482callsCodeunit 152 User Permissions IsSuper
- 482callsCodeunit 152 User Permissions HasUserPermissionSetAssigned
- 484callsCodeunit 152 User Permissions AssignPermissionSets
- 490callsApplyAgentInstructions
ApplyEDocumentServiceSetup line 494, local
- 500callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 500callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 502validatesTable 6103 E-Document Service Auto Import
- 503writesTable 6103 E-Document Service Modify
- 507callsGetOrCreateAgentEDocumentService
- 509validatesTable 6103 E-Document Service Automatic Import Processing
- 510validatesTable 6103 E-Document Service Import Process
- 514writesTable 6103 E-Document Service Modify
- 516validatesTable 6103 E-Document Service Auto Import
- 518callsCodeunit 3304 PA Setup Configuration GetPayablesAgentSetup
- 519validatesTable 6103 E-Document Service Service Integration V2
- 520validatesTable 6103 E-Document Service Auto Import
- 526validatesTable 6103 E-Document Service Auto Import
- 527writesTable 6103 E-Document Service Modify
InitializeTrialIfEligible line 531, local
- 535callsCodeunit 3318 PA Trial IsEligibleToStart
- 536callsCodeunit 3318 PA Trial StartTrial
EnsureAgentActivated line 546, internal
- 553callsTable 3303 Payables Agent Setup GetSetup
- 560callsLoadSetupConfiguration
- 561callsCodeunit 3304 PA Setup Configuration GetPayablesAgentSetup
- 564callsCodeunit 3304 PA Setup Configuration SetPayablesAgentSetup
- 565callsCodeunit 3304 PA Setup Configuration GetAgentSetupBuffer
- 566validatesTable 4310 Agent Setup Buffer State
- 567callsCodeunit 3304 PA Setup Configuration SetAgentSetupBuffer
- 568callsCodeunit 3304 PA Setup Configuration SetSkipEmailVerification
- 569callsApplyPayablesAgentSetup
GetDefaultProfile line 573, internal
- 579callsCodeunit 4321 Agent PopulateDefaultProfile
GetDefaultAccessControls line 582, internal
- 592writesTable 2000000291 Access Control Buffer Insert
HandleOnAfterCreatedNewCompanyByCopyCompany line 596, local
- 602writesTable 3303 Payables Agent Setup DeleteAll
- 605writesTable 3304 Payables Agent KPI DeleteAll
ImportInvoiceFile line 657
- 663callsCodeunit 6140 E-Doc. Import CreateFromType
- 663callsCodeunit 3307 Payables Agent Setup GetOrCreateAgentEDocumentService
- 665writesTable 6121 E-Document Modify
- 666callsCodeunit 6140 E-Doc. Import ProcessAutomaticallyIncomingEDocument
ShouldRequestReview line 674
- 684callsTable 3303 Payables Agent Setup GetSetup
- 694callsMonitoredFolderConfigured
- 698callsIsSenderAuthenticated
- 702callsTable 3308 PA Known Sender GetForEDocument
- 706callsIsSenderInternal
IsSenderRejected line 717
- 721callsTable 3308 PA Known Sender GetForEDocument
IsSenderAuthenticated line 740
- 744callsTryGetSourceEmailHeader
- 745callsCompAuthPassed
- 747callsIsSenderInternal
IsSenderInternal line 756
TryGetSourceEmailHeader line 765, local
- 771callsCodeunit 8904 Email Message Get
- 773callsCodeunit 8904 Email Message GetHeader