Table Name: | ter_rol_itm |
Table Number: | 5239 |
Group: | Info Retrieval |
Description: | Contains rollup detail for fast summary according to a territory rollup |
Flags: | CACHEOBJIDS |
Baseline/Custom: | Baseline |
Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
---|---|---|---|---|---|---|---|---|
depth | LONG | int | -1 | DIRECT | The depth of the child item (rol_child2territory) from the top-level item; e.g., 0=top-level item, 1=item that reports directly to top level item, etc., default=-1 (unknown) | |||
dev | LONG | int | 151 | 1 | DIRECT, ALLOW_NULL | Row version number for mobile distribution purposes | ||
objid | LONG | int | 3 | DIRECT | Internal record number | Search (1) | ||
path_type | LONG | tinyint | 0 | DIRECT | Identifies the type of connection between the parent and child territories; i.e., 0=direct line from the parent to the child; 1=indirect line (from parent to child via intermediate parents) | Search (1) |
Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views |
---|---|---|---|---|---|---|---|
ter_itm2rollup | MTO | rollup | rollup2ter_rol_itm | The related rollup | Search (1) | ||
rol_parent2territory | MTO | territory | parent2ter_rol_itm | The parent territory in the rollup. Parent and child are the same for a top level item | Search (1) | ||
rol_child2territory | MTO | territory | child2ter_rol_itm | The child territory in the rollup. Child and parent are the same for a top level item | Search (1) |
Index Name | Fields | Flags |
---|
Index Name | Fields | Additional Information |
---|---|---|
ind_rol_child2territory | rol_child2territory, rol_parent2territory | nonclustered located on PRIMARY |
ind_rol_parent2territory | rol_parent2territory, rol_child2territory | nonclustered located on PRIMARY |
ind_ter_itm2rollup | ter_itm2rollup | nonclustered located on PRIMARY |
objindex | objid | clustered, unique located on PRIMARY |
View ID | View Name | Tables |
---|---|---|
5353 | sfa_ter_rol | rollup, ter_rol_itm, territory |
ter_rol_itm | |||