MOO_REVN_TERR

A Territory in which the Revenue falls. Each Revenue may fall into one or more territories. An revenue falls into a territory by comparing its attributes (i.e. Products, Customer, etc.,) with the attributes of the territories. This comparison is performed by the Assignment Manager.

Details

  • Schema: FUSION

  • Object owner: MOO

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

MOO_REVN_TERR_PK

REVN_TERR_ID

Columns

Name Datatype Length Precision Not-null Comments
REVN_TERR_ID NUMBER 18 Yes Primary key
REVN_ID NUMBER 18 Yes Revenue Id
TERRITORY_ID NUMBER 18 Yes Territory Id
TERRITORY_VERSION_ID NUMBER 18 Yes Territory Version Id
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).
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of 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.
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.
USER_LAST_UPDATE_DATE TIMESTAMP Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server).
ASGN_TERR_BASED_FLAG VARCHAR2 1 Flag to indicate that the territory is added to territory team by territory based assignment.
LOCK_ASSIGNMENT_FLAG VARCHAR2 1 Flag to indicate that the territory is added to territory team by manual territory assignment
SUM_REVN_FLAG VARCHAR2 1 Denormalized column for MOO_REVN.PRIMARY_FLAG. Indicates whether the revenue is summary revenue or not.
OPTY_EFFECTIVE_DATE DATE Estimated close date for this opportunity - defaulted from opportunity's close date.
OPTY_STATUS_CD VARCHAR2 30 Status code of this opportunity - defaulted from opportunity's status code.

Foreign Keys

Table Foreign Table Foreign Key Column
MOO_REVN_TERR moo_revn REVN_ID
MOO_REVN_TERR mot_territories TERRITORY_VERSION_ID

Indexes

Index Uniqueness Tablespace Columns
MOO_REVN_TERR_N1 Non Unique Default TERRITORY_VERSION_ID, SUM_REVN_FLAG
MOO_REVN_TERR_N2 Non Unique Default TERRITORY_VERSION_ID, OPTY_EFFECTIVE_DATE, OPTY_STATUS_CD, SUM_REVN_FLAG, REVN_ID
MOO_REVN_TERR_N3 Non Unique Default REVN_ID, SUM_REVN_FLAG, TERRITORY_VERSION_ID
MOO_REVN_TERR_N4 Non Unique Default SUM_REVN_FLAG, REVN_ID, TERRITORY_ID
MOO_REVN_TERR_N5 Non Unique Default TERRITORY_ID, REVN_ID, SUM_REVN_FLAG
MOO_REVN_TERR_PK1 Unique Default REVN_TERR_ID
MOO_REVN_TERR_U1 Unique Default REVN_ID, TERRITORY_VERSION_ID, CONFLICT_ID
MOO_REVN_TERR_U2 Unique Default LAST_UPDATE_DATE, REVN_TERR_ID