---
title: "Codeunit 3304 PA Setup Configuration"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/3304-pa-setup-configuration/
type: codeunit
id: 3304
name: "PA Setup Configuration"
app: "Payables Agent"
namespace: Microsoft.Agent.PayablesAgent
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/3304-pa-setup-configuration/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 3304 PA Setup Configuration

JOP-AL, https://jonas-paprotka.de/ref/codeunit/3304-pa-setup-configuration/

| | |
| --- | --- |
| App | Payables Agent |
| Namespace | Microsoft.Agent.PayablesAgent |
| Versions | 26-29 |
| Minors | W1 26.2, 27.0-29.0; DE 27.3-29.0; US 26.2-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/3304-pa-setup-configuration/editions.json) |
| Access | Internal |
| Source file | Setup/PASetupConfiguration.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetAgent | () | Record Agent | public | 26-27 | - | - |
| SetAgent | (Agent: Record Agent) | - | public | 26-27 | - | - |
| GetSkipAgentConfiguration | () | Boolean | internal | 26-29 | - | - |
| SetSkipAgentConfiguration | (LocalSkipAgentConfiguration: Boolean) | - | internal | 26-29 | - | - |
| GetSkipEmailVerification | () | Boolean | internal | 26-29 | - | - |
| SetSkipEmailVerification | (LocalSkipEmailVerification: Boolean) | - | internal | 26-29 | - | - |
| GetPayablesAgentSetup | () | Record Payables Agent Setup | public | 26-29 | - | - |
| SetPayablesAgentSetup | (PayablesAgentSetup: Record "Payables Agent Setup") | - | public | 26-29 | - | - |
| GetEDocumentService | () | Record E-Document Service | public | 26-29 | - | - |
| SetEDocumentService | (EDocumentService: Record "E-Document Service") | - | public | 26-29 | - | - |
| GetEmailAccount | () | Record Email Account | public | 26-29 | - | - |
| SetEmailAccount | (EmailAccount: Record "Email Account") | - | public | 26-27 | - | - |
| GetAgentAccessControl | (var AgentAccessControl: Record "Agent Access Control" temporary) | - | public | 26-27 | - | - |
| SetAgentAccessControl | (var AgentAccessControl: Record "Agent Access Control" temporary) | - | public | 26-27 | - | - |
| GetOutlookSetup | () | Record Outlook Setup | public | 28-29 | - | - |
| SetOutlookSetup | (OutlookSetup: Record "Outlook Setup") | - | public | 28-29 | - | - |
| GetAgentSetupBuffer | () | Record Agent Setup Buffer | public | 28-29 | - | - |
| GetAgentSetupBuffer | (var TargetAgentSetupBuffer: Record "Agent Setup Buffer") | - | public | 28-29 | - | - |
| SetAgentSetupBuffer | (var SourceAgentSetupBuffer: Record "Agent Setup Buffer") | - | public | 28-29 | - | - |
| SetTrialUpload | (FileName: Text; InStream: InStream) | - | public | 28-29 | - | - |
| GetTrialUploadPending | () | Boolean | public | 28-29 | - | - |
| GetTrialUploadFileName | () | Text | public | 28-29 | - | - |
| GetTrialUploadBlob | (var TempBlob: Codeunit "Temp Blob") | - | public | 28-29 | - | - |
| ClearTrialUpload | () | - | public | 28-29 | - | - |

## Source

Symbols: Microsoft.PayablesAgent.symbols.14aa1237-2f69-4c25-9a68-fa7d54e08613, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
