Codeunit 307 No. Series - Sequence Impl.

Business Foundation, Microsoft.Foundation.NoSeries

Source AL, 332 lines

src/Business Foundation/App/NoSeries/src/Single/NoSeriesSequenceImpl.Codeunit.allines 8 to 23 of 332, Copyright (c) Microsoft Corporation. MIT

codeunit 307 "No. Series - Sequence Impl." implements "No. Series - Single"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions =        tabledata "No. Series" = r,        tabledata "No. Series Line" = rimd;    var        NoOverFlowErr: Label 'Number series can only use up to 18 digit numbers. %1 has %2 digits.', Comment = '%1 is a string that also contains digits. %2 is a number.';        NoSeriesSequenceTxt: Label 'No. Series - Sequence', Locked = true;        UpdatingSequenceBasedOnTempValueTxt: Label 'Updating sequence based on temporary value.', Locked = true;    procedure PeekNextNo(NoSeriesLine: Record "No. Series Line"; UsageDate: Date): Code[20]    begin

All 332 lines

Public procedures 5 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
ExtractNoFromCode(NumberCode: Code[20]; NoSeriesCode: Code[20]): BigIntegernew in 24

All 7 procedures in 24-29

Changes 2 in 27

List17181920212223242526272829
Procedures2
internal CreateNewSequence(var NoSeriesLine: Record "No. Series Line")24 to 26
gone
internal GetFormattedNo(NoSeriesLine: Record "No. Series Line"; Number: BigInteger): Code[20]24 to 26
gone

All 2 changes in 24-29