Codeunit 309 No. Series - Batch Impl.

Business Foundation, Microsoft.Foundation.NoSeries

Source AL, 233 lines

src/Business Foundation/App/NoSeries/src/Batch/NoSeriesBatchImpl.Codeunit.allines 8 to 23 of 233, Copyright (c) Microsoft Corporation. MIT

codeunit 309 "No. Series - Batch Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "No. Series Line" = rm;    var        TempGlobalNoSeriesLine: Record "No. Series Line" temporary;        SimulationMode: Boolean;        CannotSaveNonExistingNoSeriesErr: Label 'Cannot save No. Series Line that does not exist: %1, %2', Comment = '%1 = No. Series Code, %2 = Line No.';        CannotSaveWhileSimulatingNumbersErr: Label 'No. Series state cannot be saved while simulating numbers.';        NoSeriesBatchTxt: Label 'No. Series - Batch', Locked = true;        SimulationModeStartedTxt: Label 'No. Series simulation mode started.', Locked = true;        SavingSingleNoSeriesStateTxt: Label 'Saving single No. Series state.', Locked = true;

All 233 lines

Public procedures 14 in 29

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

All 14 procedures