MKT_CAMP_ACCOUNTS
It is an intersection object to hold the association of Campaign and its Accounts. One Campaign can have None/One/Many accounts attached.
Details
-
Schema: FUSION
-
Object owner: MKT
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MKT_CAMP_ACCOUNTS_PK |
CAMP_ACCOUNTS_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
CAMP_ACCOUNTS_ID | NUMBER | 18 | Yes | Campaign Accounts Id. Primary Key of the table. | |
CAMP_ACCOUNTS_NUMBER | VARCHAR2 | 30 | Yes | Campaign Accounts Number. Public surrogate key for this table. | |
CAMPAIGN_ID | NUMBER | 18 | Yes | Reference Key to Campaign Header | |
ACCOUNT_ID | NUMBER | 18 | Yes | Person Party Id of usage type Account | |
LEAD_ID | NUMBER | 18 | Lead Identifier. Reference Key to mkl_lm_leads table | ||
QUERY_CRITERIA_TYPE | VARCHAR2 | 10 | Yes | Indicates whether the Account is added by the Query Builder or Manually | |
ERROR_DESCRIPTION | VARCHAR2 | 2000 | Contains the error message occurred during lead generation for this account | ||
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. | |
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. | |
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). | |
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). |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MKT_CAMP_ACCOUNTS_N1 | Non Unique | Default | LEAD_ID |
MKT_CAMP_ACCOUNTS_PK | Unique | Default | CAMP_ACCOUNTS_ID |
MKT_CAMP_ACCOUNTS_U1 | Unique | Default | CAMP_ACCOUNTS_NUMBER |
MKT_CAMP_ACCOUNTS_U2 | Unique | Default | CAMPAIGN_ID, ACCOUNT_ID |