The running counter behind automatic document numbering. There is one row per counter key, which is the series text plus the separator and the formatted date part (for example INV-25102026 or SO-2026), so every distinct date part restarts at 1. Rows are created the first time a key is used and are shared by every document setting and entity whose series and date part produce the same text. Administrators see the counters on the Document Numbers tab of a document setting (Setup, Feature Hub, Platform, Document settings) and can change Last Number Used there. The entity has no app or list of its own.
Fields
| Field | Label | Type | Required | What it does |
|---|---|---|---|---|
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created Date | DateAndTime | Yes | |
DateFormat | Date Format | Text | Not stored. The date format lives on the document setting, and the formatted date part is already part of Document Series. | |
DocumentSeries | DocumentSeries | Text, unique | The counter key: the resolved series (Series field value or Default Series), the separator and the formatted date part, for example INV-25102026. Unique within the organization. A different date part means a different counter. | |
EntityName | Entity Name | Text | The entity that most recently took a number from this counter. It is overwritten on every allocation, so a counter shared by several entities is listed on the Document Numbers tab of the entity that used it last. | |
Id | Id | Guid | Yes | |
LastNumberUsed | Last Number Used | Number | The highest running number handed out for this key. The next record in the series gets this value plus one. An administrator can change it with Edit last number used (0 or more). Raising it continues numbering from another system. Lowering it below numbers still in use makes built-in entities skip taken numbers and can give custom entities duplicate numbers. | |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Name | Text | The counter key, identical to Document Series. Set when the counter is created. | |
OwnerId | Owner | Lookup → UserAccount | Yes | |
RecordTypeId | Record Type | Guid, hidden | ||
UIProps | UI Props | Text | ||
UpdatedDateTime | Modified Date | DateAndTime | Yes |
Related entities
- UserAccount — looks up via
ModifiedById - UserAccount — looks up via
OwnerId - UserAccount — looks up via
CreatedById
