Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 2.14 KB

userpreference.md

File metadata and controls

65 lines (48 loc) · 2.14 KB
uid title description so.generated keywords so.topic so.envir
table-UserPreference
UserPreference table
Preference system. If deflevel is set to 5; the user may change the preferences
true
database table UserPreference
reference
onsite, online

UserPreference Table (56)

Preference system. If deflevel is set to 5; the user may change the preferences

Fields

Name Description Type Null
userpreference_id Primary key PK
deflevel The level: 0=hard default, 1=systemwide, 2=database, 3=group, 4=individual Enum PreferenceLevel
maxlevel Highest override level allowed Enum PreferenceLevel
owner_id level=3: group; level=4: associate Id
prefsection Preference section name String(199)
prefkey Preference key name String(199)
prefvalue Preference value String(2046)
registered Registered when UtcDateTime
registered_associate_id Registered by whom FK associate
updated Last updated when UtcDateTime
updated_associate_id Last updated by whom FK associate
updatedCount Number of updates made to this record UShort

UserPreference table relationship diagram

[!includedetails]

Indexes

Fields Types Description
userpreference_id PK Clustered, Unique
deflevel Enum Index
owner_id Id Index
prefsection String(199) Index
prefkey String(199) Index
prefsection, prefkey, deflevel, owner_id String(199), String(199), Enum, Id Index

Relationships

Table Description
associate Employees, resources and other users - except for External persons
text Long text fields from all over the system

Replication Flags

  • Area Management controlled table. Contents replicated to satellites and traveller databases.
  • Replicate changes UP from satellites and travellers back to central.
  • Copy to satellite and travel prototypes.

Security Flags

  • No access control via user's Role.