Table
NumberSequenceTable
Number sequence code
Holds the number sequence codes and their settings. These include the format, the lowest and highest numbers, the next number, and options such as continuous, cyclical and manual. The key is the code plus the scope. Many entities use it to number records such as journals, groups and documents.
- Table name
NumberSequenceTable- Module
System administration- Table group
Framework- Table type
Regular- Data per company
No- Configuration key
None- Primary index
RecId- Replacement key
SeriesIdx- Key fields
NumberSequence, NumberSequenceScope- Model
ApplicationFoundation
Fields (35)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NumberSequenceCode that identifies the number sequence. | StringNumberSequenceCode | Yes | NumberSequenceTableV2EntityNumberSequenceTableEntityLedgerVoucherTypeAccountRestrictionV2Entityand 35 more | |
NumberSequenceScopeScope that the sequence belongs to. | Int64RefRecId | No | NumberSequenceScope.RecId | NumberSequenceTableV2EntityNumberSequenceTableEntityLedgerVoucherTypeAccountRestrictionV2Entityand 9 more |
AllowChangeDownYes/No value showing whether the number may be changed to a lower one. | EnumNumberSequenceAllowChangeDownNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
AllowChangeUpYes/No value showing whether the number may be changed to a higher one. | EnumNumberSequenceAllowChangeUpNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
AnnotatedFormatName shown for the sequence with its format.low confidence | String (60)Name | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
BlockedYes/No value showing whether the sequence is stopped. | EnumBlockedNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
CleanAtAccessYes/No value for clean-up of the sequence when it is accessed. | EnumNumberSequenceCleanAccessNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
CleanIntervalInterval used for clean-up of the sequence. | RealNumberSequenceCleanInterval | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
ContinuousYes/No value showing whether the sequence is continuous. | EnumNumberSequenceContinuousNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
CyclicYes/No value showing whether the sequence is cyclical. | EnumCyclicNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
DefaultRangeSizePerDeploymentDefault size of the number range for each deployment. | IntegerNumberSequenceDefaultRangeSizePerDeployment | No | None | |
ExtendedYes/No value showing whether the sequence is extended. | EnumNumberSequenceExtendedNoYes (enum) | No | None | |
FetchAheadYes/No value showing whether numbers are preallocated. | EnumNumberSequenceFetchAheadNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
FetchAheadQtyHow many numbers are preallocated. | IntegerNumberSequenceFetchAheadQty | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
FormatFormat pattern of the numbers. | String (20)NumberSequenceFormat | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
HighestLargest number in the range. | IntegerNumberSequenceRange | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
Highest64Largest number in the range, held as a 64-bit value. | Int64NumberSequence64Range | No | None | |
InUseYes/No value showing whether the sequence is in use. | EnumInUseNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
LatestCleanDateTimeDate and time of the latest clean-up. | UtcDateTimeNumberSequenceCleanDateTime | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
LowestSmallest number in the range. | IntegerNumberSequenceRange | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
Lowest64Smallest number in the range, held as a 64-bit value. | Int64NumberSequence64Range | No | None | |
ManualYes/No value showing whether numbers are entered by hand. | EnumNumberSequenceManualNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntityVRMVendorGroupEntity | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
NextRecNext number in the range. | IntegerNumberSequenceRange | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
NextRec64Next number in the range, held as a 64-bit value. | Int64NumberSequence64Range | No | None | |
NoIncrementYes/No value for skipping the counting of numbers. | EnumNumberSequenceNoIncrNoYes (enum) | No | NumberSequenceTableV2EntityNumberSequenceTableEntity | |
PackedExtensionsContainer that holds packed extension data.low confidence | ContainerSysExtensionSerializerPackedContainer | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SkipReferenceCheckOnDeletePurpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
SkipUpdateOnDeploymentPurpose not clear from the metadata.low confidence | EnumUnknownNoYes (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TxtName of the number sequence. | String (60)Name | No | NumberSequenceTableV2EntityNumberSequenceTableEntity |
Indexes (1)
SeriesIdxReplacement keyNumberSequence,NumberSequenceScopeUnique, alternate key.
Relations (1)
Each relation joins NumberSequenceTable to another table on the fields shown.
NumberSequenceScope→NumberSequenceScopeJoin on
NumberSequenceScope = NumberSequenceScope.RecIdMany NumberSequenceTable records → zero or one NumberSequenceScope record
Get this data out
Tables are not exposed directly. These public entities read from NumberSequenceTable; use one of them in Power BI, Power Platform or a data management project.
NumberSequenceTableV2Entity· 21 fields from this tableNumberSequenceTableEntity· 21 fields from this tableLedgerVoucherTypeAccountRestrictionV2Entity· 2 fields from this tableNumberSequencesReferenceV2Entity· 1 field from this tableACOJournalNameEntity· 1 field from this tableAssetGroupEntity· 2 fields from this tableAssetInventoryFixedAssetTransferJournalNameEntity· 2 fields from this tableBudgetReservationTypeEntity_PSN· 1 field from this tableCustCustomerGroupEntity· 1 field from this tableFiscalDocumentTypeEntity· 1 field from this tableInventInventoryAdjustmentJournalHeaderEntity· 1 field from this tableInventInventoryCountingJournalHeaderEntity· 1 field from this tableInventInventoryMovementJournalHeaderEntity· 1 field from this tableInventInventoryTagCountingJournalHeaderEntity· 1 field from this tableInventInventoryTransferJournalHeaderEntity· 1 field from this tableInventoryServiceAdjustmentJournalHeaderEntity· 1 field from this tableLedgerAccrualSchemesEntity· 2 fields from this tableLedgerJournalNameEntity· 1 field from this tableLedgerVoucherTypeAccountRestrictionEntity· 2 fields from this tableLedgerVoucherTypeEntity· 2 fields from this tableMCRReqPlanContinuityEntity· 4 fields from this tableNumberSequencesReferenceEntity· 1 field from this tableProjInventoryProjectConsumptionJournalNameEntity· 2 fields from this tableProjJournalNameEntity· 2 fields from this tableProjJournalTableEntity· 1 field from this tableRAssetMainGroupEntity· 2 fields from this tableRentalTemplateEntity· 2 fields from this tableSMAServiceSubscriptionGroupEntity· 1 field from this tableTaxItalianSalesTaxBookSectionEntity· 1 field from this tableTaxSpanishVATBookEntity· 2 fields from this tableVendVendorGroupEntity· 1 field from this tableWHSSourceSystemEntity· 2 fields from this tableVRMVendorGroupEntity· 2 fields from this table
Need help with NumberSequenceTable in a report, an integration or a migration? Talk to Dr Dynamics.