Codeunit 304 No. Series - Impl.

Business Foundation, Microsoft.Foundation.NoSeries

Source AL, 336 lines

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

codeunit 304 "No. Series - Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions =        tabledata "No. Series" = r,        tabledata "No. Series Line" = rimd;    var        CannotAssignManuallyErr: Label 'You may not enter numbers manually. If you want to enter numbers manually, please activate %1 in %2 %3.', Comment = '%1=Manual Nos. setting,%2=No. Series table caption,%3=No. Series Code';        CannotAssignNewOnDateErr: Label 'You cannot assign new numbers from the number series %1 on %2.', Comment = '%1=No. Series Code,%2=Date';        CannotAssignNewErr: Label 'You cannot assign new numbers from the number series %1.', Comment = '%1=No. Series Code';        CannotAssignNewBeforeDateErr: Label 'You cannot assign new numbers from the number series %1 on a date before %2.', Comment = '%1=No. Series Code,%2=Date';        CannotAssignAutomaticallyErr: Label 'It is not possible to assign numbers automatically. If you want the program to assign numbers automatically, please activate %1 in %2 %3.', Comment = '%1=Default Nos. setting,%2=No. Series table caption,%3=No. Series Code';        SeriesNotRelatedErr: Label 'The number series %1 is not related to %2.', Comment = '%1=No. Series Code,%2=No. Series Code';

All 336 lines

Public procedures 20 in 29

TestManual(NoSeriesCode: Code[20])new in 24
TestManual(NoSeriesCode: Code[20]; DocumentNo: Code[20])new in 24
IsManual(NoSeriesCode: Code[20]): Booleannew in 24
GetLastNoUsed(var NoSeriesLine: Record "No. Series Line"): Code[20]new in 24
GetLastNoUsed(NoSeriesCode: Code[20]): Code[20]new in 24
GetNextNo(NoSeriesCode: Code[20]; SeriesDate: Date; HideErrorsAndWarnings: Boolean): Code[20]new in 24

All 20 procedures