> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enum values for RefcountFlags

> Lists the enum values for RefcountFlags.

## RefcountFlags Enum

Unique, active, read-only, allow blank, …

| Name       | Value | Description                             |
| ---------- | ----- | --------------------------------------- |
| Unknown    | 0     | Unknown - used when initializing        |
| Allocate   | 1     | Perform number allocation automatically |
| Unique     | 2     | Check that entered values are unique    |
| ReadOnly   | 4     | Target field is read-only in GUI        |
| AllowBlank | 8     | Blank is a legal value                  |

## Usage

* [RefCounts](../refcounts).flags - Number counter for all tables that generate numbers, e.g. templates, contacts...   This table is used for the number allocation system and should not be confused with sequence, used for allocating internal ID's. This table is replicated during generation of satellites and during local update for travellers, using special logic. By default it contains rows for the SuperOffice standard counters, including one row for each DocTemplate record.  It is permissible to add new rows to this table, and such records are maintainable through the Maintenance client.  Changing the contents of the standard records is not recommended.


## Related topics

- [Enum RefcountFlags](/en/automation/crmscript/reference/CRMScript.NetServer.RefcountFlags.md)
- [Enum values for LoginFlags](/en/database/tables/enums/loginflags.md)
- [Enum values for EMailFlags](/en/database/tables/enums/emailflags.md)
- [Enum values for TtlFlags](/en/database/tables/enums/ttlflags.md)
- [Enum values for TicketCategoryFlags](/en/database/tables/enums/ticketcategoryflags.md)
- [Enum values for TicketPriorityFlags](/en/database/tables/enums/ticketpriorityflags.md)
