Codeunit 9500 Sequence No. Mgt.

Base Application, Microsoft.Foundation.NoSeries

Source AL, 350 lines

src/Layers/W1/BaseApp/Foundation/NoSeries/SequenceNoMgt.Codeunit.allines 7 to 22 of 350, Copyright (c) Microsoft Corporation. MIT

codeunit 9500 "Sequence No. Mgt."{    SingleInstance = true;    InherentPermissions = X;    Permissions = tabledata "Sequence No. Preview State" = rid;    var        GlobalPreviewMode: Boolean;        GlobalPreviewModeID: Integer;        LastSeqNoChecked: List of [Integer];        SeqNoBufferFrom: Dictionary of [Integer, Integer];        SeqNoBufferTo: Dictionary of [Integer, Integer];        PendingAllocation: Dictionary of [Integer, Integer];        SeqNameLbl: Label 'TableSeq%1', Comment = '%1 - Table No.', Locked = true;        PreviewSeqNameLbl: Label 'PreviewTableSeq%1', Comment = '%1 - Table No.', Locked = true;

All 350 lines

Events 3 in 29

[IntegrationEvent] OnPreviewableLedgerEntry(TableNo: Integer; var IsPreviewable: Boolean)new in 25
[IntegrationEvent] OnBeforeGetLastEntryNoFromTable(TableNo: Integer)new in 29
[IntegrationEvent] OnAfterGetLastEntryNoFromTable(TableNo: Integer)new in 29

Public procedures 9 in 29

GetNextSeqNo(TableNo: Integer): Integernew in 22
RebaseSeqNo(TableNo: Integer)new in 22
GetTableSequenceName(TableNo: Integer): Textnew in 22
GetTableSequenceName(PreviewMode: Boolean; TableNo: Integer): Textnew in 25
GetCurrentSeqNo(TableNo: Integer): Integernew in 26
ValidateSeqNo(TableNo: Integer)new in 26

All 12 procedures in 22-29

Changes 2 in 29

List17181920212223242526272829
Procedures333
Events12
[IntegrationEvent] OnBeforeGetLastEntryNoFromTable(TableNo: Integer)new in 29
added
[IntegrationEvent] OnAfterGetLastEntryNoFromTable(TableNo: Integer)new in 29
added

All 12 changes in 22-29