| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NODELOCATIONCODE |
tinyint | Default = 1 | Used to describe the location of the nodes within the branch. | |
NODELOCATION |
nvarchar(17) (Computed) | ![]() |
CASE [NODELOCATIONCODE] WHEN 2 THEN N'Ancestor Node' WHEN 1 THEN N'Default Site Node' WHEN 0 THEN N'Descendant Node' END | Provides a translation for the 'NODELOCATIONCODE' field. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
SITEID |
uniqueidentifier | SITE.ID | FK to SITE | |
APPUSERID |
uniqueidentifier | APPUSER.ID | FK to APPUSER |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_APPUSERSITEBRANCH_APPUSERID |
APPUSERID | |||
IX_APPUSERSITEBRANCH_SITEID |
SITEID | |||
PK_APPUSERSITEBRANCH |
ID | ![]() |
![]() |
![]() |

ID
NODELOCATIONCODE
NODELOCATION
SITEID
IX_APPUSERSITEBRANCH_APPUSERID