Codeunit 4397 SOA Test Setup

Sales Order Agent, Microsoft.Agent.SalesOrderAgent

Source AL, 90 lines

src/Apps/W1/SalesOrderAgent/app/src/Setup/SOATestSetup.Codeunit.allines 14 to 29 of 90, Copyright (c) Microsoft Corporation. MIT

codeunit 4397 "SOA Test Setup"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "Email Inbox" = rd;    TableNo = "SOA Setup";    trigger OnRun()    begin        if TestEmailConnection then            EmailConnectionTest(Rec);        if TestEmailCount then            EmailCountTest(Rec);    end;

All 90 lines

Public procedures 5 in 29

SetTestEmailConnection(TestConnection: Boolean)new in 25
SetTestEmailCount(TestCount: Boolean)new in 25
EmailConnectionTest(var TempSOASetup: Record "SOA Setup" temporary)new in 25
EmailCountTest(var TempSOASetup: Record "SOA Setup" temporary)new in 25
GetEmailCount(): Integernew in 25