Codeunit 3318 PA Trial

Payables Agent, Microsoft.Agent.PayablesAgent

Source AL, 157 lines

src/Apps/W1/PayablesAgent/app/Trial/PATrial.Codeunit.allines 12 to 27 of 157, Copyright (c) Microsoft Corporation. MIT

codeunit 3318 "PA Trial"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    // IMPORTANT: This codeunit MUST NOT have any subscribers.    /// <summary>    /// Checks whether the current company is eligible to start a trial.    /// Returns true only when no trial has been started and no agent exists in this company.    /// </summary>    [Scope('OnPrem')]    procedure IsEligibleToStart(): Boolean    var        PayablesAgentSetup: Record "Payables Agent Setup";

All 157 lines

Public procedures 6 in 29

IsEligibleToStart(): Booleannew in 28
StartTrial()new in 28
IsActive(): Booleannew in 28
IncrementTrialInvoiceCount()new in 28
GetTrialInvoiceCount(): Integernew in 28
GetTrialInvoiceLimit(): Integernew in 28

All 8 procedures in 28-29