Codeunit 308 No. Series - Batch

Business Foundation, Microsoft.Foundation.NoSeries

Source AL, 209 lines

src/Business Foundation/App/NoSeries/src/Batch/NoSeriesBatch.Codeunit.allines 12 to 27 of 209, Copyright (c) Microsoft Corporation. MIT

codeunit 308 "No. Series - Batch"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        NoSeriesBatchImpl: Codeunit "No. Series - Batch Impl."; // Required to keep state    #region GetNextNo    /// <summary>    /// Get the next number in the No. Series.    /// This function finds the first valid No. Series line based on WorkDate and calls the No. Series Line implementation to get the next number.    /// Defaults UsageDate to WorkDate.    /// </summary>    /// <param name="NoSeriesCode">Code for the No. Series.</param>

All 209 lines

Public procedures 16 in 29

GetNextNo(NoSeriesCode: Code[20]): Code[20]new in 24
GetNextNo(NoSeriesCode: Code[20]; UsageDate: Date): Code[20]new in 24
GetNextNo(var NoSeriesLine: Record "No. Series Line"; UsageDate: Date): Code[20]new in 24
GetNextNo(NoSeriesCode: Code[20]; UsageDate: Date; HideErrorsAndWarnings: Boolean): Code[20]new in 24
GetNextNo(var NoSeriesLine: Record "No. Series Line"; UsageDate: Date; HideErrorsAndWarnings: Boolean): Code[20]new in 24
PeekNextNo(NoSeriesCode: Code[20]): Code[20]new in 24

All 16 procedures