MKL_LEAD_TERRITORIES_
This table stores reference to the sales territory which is associated with a lead. When a lead is assigned for followup, it can be assigned to resources associated with different sales territories. For reference,a sales territory is a segment of the market for which one or more salespeople are responsible.
Details
-
Schema: FUSION
-
Object owner: MKL
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MKL_LEAD_TERRITORIES_PK_ |
LAST_UPDATE_DATE, LAST_UPDATED_BY, LEAD_TERRITORY_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
LEAD_TERRITORY_ID | NUMBER | 18 | Yes | Primary Key | |
LEAD_ID | NUMBER | 18 | Lead Id | ||
TERRITORY_ID | NUMBER | 18 | Territory Id | ||
TERRITORY_VERSION_ID | NUMBER | 18 | Territory Version Id | ||
ACCESS_LEVEL_CODE | VARCHAR2 | 30 | Access level code | ||
LEAD_EFFECTIVE_DATE | TIMESTAMP | Lead Effective Date. Denorm column storing the lead header creation date i.e MKL_LM_LEADS.CREATION_DATE | |||
LEAD_STATUS_CD | VARCHAR2 | 30 | Lead Status Code. Denorm column storing the lead header status code i.e MKL_LM_LEADS.STATUS_CD | ||
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_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of 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. | ||
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). | ||
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). | |||
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 | Status |
---|---|---|---|---|
MKL_LEAD_TERRITORIESN1_ | Non Unique | Default | LEAD_TERRITORY_ID | |
MKL_LEAD_TERRITORIES_PK_ | Unique | Default | LAST_UPDATE_DATE, LAST_UPDATED_BY, LEAD_TERRITORY_ID | |
MKL_LEAD_TERRITORIES_U1_ | Unique | Default | LAST_UPDATE_DATE, LAST_UPDATED_BY, LEAD_ID, TERRITORY_VERSION_ID, TERRITORY_ID | |
MKL_LEAD_TERRITORIES_U2_ | Unique | Default | LAST_UPDATE_DATE, LAST_UPDATED_BY, LEAD_ID, TERRITORY_ID, LEAD_STATUS_CD, LEAD_EFFECTIVE_DATE | Obsolete |
MKL_LEAD_TERRITORIES_U3_ | Unique | Default | LAST_UPDATE_DATE, LAST_UPDATED_BY, LEAD_ID, LEAD_EFFECTIVE_DATE, TERRITORY_VERSION_ID, TERRITORY_ID | |
MKL_LEAD_TERRITORIES_U4_ | Unique | Default | LAST_UPDATE_DATE, LAST_UPDATED_BY, LEAD_EFFECTIVE_DATE, LEAD_STATUS_CD, TERRITORY_VERSION_ID, LEAD_ID | |
MKL_LEAD_TERRITORIES__INDEX1 | Non Unique | Default | AUDIT_ACTION_TYPE_ |