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_ |
LAST_UPDATE_DATE, LAST_UPDATED_BY, REVN_TERR_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
REVN_TERR_ID | NUMBER | 18 | Yes | Primary key | |
REVN_ID | NUMBER | 18 | Revenue Id | ||
TERRITORY_ID | NUMBER | 18 | Territory Id | ||
TERRITORY_VERSION_ID | NUMBER | 18 | Territory Version Id | ||
CONFLICT_ID | NUMBER | 18 | 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 | Who column: indicates the user who created the row. | ||
CREATION_DATE | TIMESTAMP | 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 | 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. | ||
AUDIT_ACTION_TYPE_ | VARCHAR2 | 10 | Action Type - have values like INSERT, UPDATE and DELETE. | ||
AUDIT_CHANGE_BIT_MAP_ | VARCHAR2 | 1000 | Used to store a bit map of 1s and 0s for each column in the table. | ||
AUDIT_IMPERSONATOR_ | VARCHAR2 | 64 | Original Impersonator User. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MOO_REVN_TERRN1_ | Non Unique | Default | REVN_TERR_ID |
MOO_REVN_TERR_PK1_ | Unique | Default | LAST_UPDATE_DATE, LAST_UPDATED_BY, REVN_TERR_ID |
MOO_REVN_TERR_U1_ | Unique | Default | LAST_UPDATE_DATE, LAST_UPDATED_BY, REVN_ID, TERRITORY_VERSION_ID, CONFLICT_ID |
MOO_REVN_TERR_U2_ | Unique | Default | LAST_UPDATED_BY, LAST_UPDATE_DATE, REVN_TERR_ID |