Codeunit 3307 Payables Agent Setup

Payables Agent, Microsoft.Agent.PayablesAgent

Source AL, 852 lines

src/Apps/W1/PayablesAgent/app/Setup/PayablesAgentSetup.Codeunit.allines 29 to 44 of 852, Copyright (c) Microsoft Corporation. MIT

codeunit 3307 "Payables Agent Setup"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions =        tabledata "Outlook Setup" = rim,        tabledata "Payables Agent Setup" = rmid,        tabledata "PA Known Sender" = r;    /// <summary>    /// Retrieves all the records containing setup information for the payables agent.    /// </summary>    /// <param name="PASetupConfiguration">State variable where all the setup related information is stored.</param>    procedure LoadSetupConfiguration(var PASetupConfiguration: Codeunit "PA Setup Configuration")

All 852 lines

Public procedures 15 in 29

LoadSetupConfiguration(var PASetupConfiguration: Codeunit "PA Setup Configuration")new in 26
ApplyPayablesAgentSetup(var PASetupConfiguration: Codeunit "PA Setup Configuration")new in 26
WasEDocumentCreatedByAgent(EDocument: Record "E-Document"): Booleannew in 26
GetAgent(var Agent: Record Agent): Booleannew in 26
GetOrCreateAgentEDocumentService(): Record "E-Document Service"new in 27
GetAgent(var Agent: Record Agent; UpdateSetup: Boolean): Booleannew in 28

All 33 procedures in 26-29

Changes 4 in 29

List17181920212223242526272829
Procedures6184
internal IsAgentDrivenLineMatchingEnabled(): Booleannew in 29
added
internal EnsureAgentInstructionsMatchConfiguration(AgentUserSecurityId: Guid)new in 29
added
internal TryEnsureAgentInstructionsMatchConfiguration(AgentUserSecurityId: Guid): Booleannew in 29
added
internal GetInstructionsConfigHash(): Textnew in 29
added

All 28 changes in 26-29