Interface No. Series - Single

Business Foundation, Microsoft.Foundation.NoSeries

Source AL, 44 lines

src/Business Foundation/App/NoSeries/src/Single/NoSeriesSingle.Interface.allines 11 to 26 of 44, Copyright (c) Microsoft Corporation. MIT

interface "No. Series - Single"{    /// <summary>    /// Get the next number in the No. Series, without incrementing the number.    /// </summary>    /// <param name="NoSeriesLine">The No. Series line to use.</param>    /// <param name="UsageDate">The date of retrieval, this will influence which line is used.</param>    /// <returns>The next number in the series.</returns>    procedure PeekNextNo(NoSeriesLine: Record "No. Series Line"; UsageDate: Date): Code[20]    /// <summary>    /// Get the next number in the No. Series.    /// </summary>    /// <param name="NoSeriesLine">The No. Series line to use.</param>    /// <param name="UsageDate">The date of retrieval, this will influence which line is used.</param>    /// <param name="HideErrorsAndWarnings">Whether errors should be ignored.</param>

All 44 lines

Public procedures 4 in 29

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

Implemented by 3

codeunit 306 "No. Series - Stateless Impl."Business Foundationnew in 24
codeunit 307 "No. Series - Sequence Impl."Business Foundationnew in 24
enum 397 "No. Series Implementation"Business Foundationnew in 24