MOT_TERR_RULE_BOUNDARIES

This entity along with territory rule boundary value stores the dimensions of the territory in an expression form. Dimension members are evaluated additively and the values within a dimension member are evaluated as choices.

Details

  • Schema: FUSION

  • Object owner: MOT

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

MOT_TERR_RULE_BOUNDARIES_PK

TERR_RULE_BOUNDARY_ID

Columns

Name Datatype Length Precision Not-null Comments
TERR_RULE_BOUNDARY_ID NUMBER 18 Yes Territory Rule Boundary Identifier
TERR_RULE_ID NUMBER 18 Yes Territory Rule Identifier
TERR_DIMENSION_CODE VARCHAR2 5 Yes Foreign key to MOT_TERR_DIMENSIONS_B.
INHERITED_FLAG VARCHAR2 1 Used to select dimensions that will be inherited from Source Territory
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
CONFLICT_ID NUMBER 18 Yes Disconnected Mobile: this value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server).
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.

Foreign Keys

Table Foreign Table Foreign Key Column
MOT_TERR_RULE_BOUNDARIES mot_terr_rules TERR_RULE_ID
mot_terr_rule_bndry_vals mot_terr_rule_boundaries TERR_RULE_BOUNDARY_ID

Indexes

Index Uniqueness Tablespace Columns
MOT_TERR_RULE_BOUNDARIES_PK Unique Default TERR_RULE_BOUNDARY_ID
MOT_TERR_RULE_BOUNDARIES_U1 Unique Default TERR_RULE_ID, TERR_DIMENSION_CODE