Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.22 KB

refcountflags.md

File metadata and controls

25 lines (20 loc) · 1.22 KB
uid title description so.generated keywords so.topic so.envir
enum-refcountflags
Enum values for RefcountFlags
Lists the enum values for RefcountFlags.
true
database enum
reference
onsite, online

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.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.