ZCH_MERGE_DETAILS_B
The ZCH_MERGE_DETAILS table stores deduplication request detail information. This table stores survivor and source records information. It is a self hierarchical table. A mergeable parent entity can have multiple mergeable children entities.
Details
-
Schema: FUSION
-
Object owner: ZCH
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
ZCH_MERGE_DETAILS_B_PK |
MERGE_DETAIL_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
MERGE_DETAIL_ID | NUMBER | 18 | Yes | Primary Key | |
MATCH_SCORE | NUMBER | 18 | To carry over the match score from duplicate set | ||
MATCH_RULE | VARCHAR2 | 250 | MATCH_RULE | ||
DEDUP_HEADER_ID | NUMBER | 18 | Yes | Foreign key to ZCH_DEDUP_HDRS | |
PAR_MERGE_DETAIL_ID | NUMBER | 18 | Foreign key to ZCH_MRGE_DTLS, child mergeable entity | ||
RECORD_ID | NUMBER | 18 | Yes | Candidate record Id | |
SURVIVOR_ID | NUMBER | 18 | Yes | Survivor Id | |
SURVIVOR_FLAG | VARCHAR2 | 1 | Yes | To indicate that the record is survivor | |
OBJ_NAME | VARCHAR2 | 30 | Yes | The merge object name, like party, account, site | |
OBJ_DEF | VARCHAR2 | 100 | Yes | Merge Object definition. The whole package name. | |
TABLE_NAME | VARCHAR2 | 30 | Table name of the object | ||
TOP_ENTITY_FLAG | VARCHAR2 | 1 | Yes | The top level Y or N | |
MERGE_REASON_CODE | VARCHAR2 | 30 | Reason for merge | ||
MERGE_STATUS_CODE | VARCHAR2 | 30 | Status for merge | ||
ACTION_TYPE | VARCHAR2 | 30 | Type of the actions: Transfer, Merge, Remove or Retain | ||
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_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. | ||
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of 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). | |||
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). | |
PARENT_RECORD_ID | NUMBER | 18 | Foreign key to the parent record of this entity | ||
RULE_BASED_ACTION_FLAG | VARCHAR2 | 1 | Indicate that the action to be performed on this entity has been determined by rules |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
ZCH_MERGE_DETAILS_B | zch_dedup_headers_b | DEDUP_HEADER_ID |
ZCH_MERGE_DETAILS_B | zch_merge_details_b | PAR_MERGE_DETAIL_ID |
zch_nmerge_details | zch_merge_details_b | MERGE_DETAIL_ID |
zch_merge_details_tl | zch_merge_details_b | MERGE_DETAIL_ID |
zch_merge_attrs_b | zch_merge_details_b | MERGE_DETAIL_ID |
zch_merge_details_b | zch_merge_details_b | PAR_MERGE_DETAIL_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
ZCH_MERGE_DETAILS_B_N1 | Non Unique | Default | DEDUP_HEADER_ID |
ZCH_MERGE_DETAILS_B_N2 | Non Unique | Default | ACTION_TYPE |
ZCH_MERGE_DETAILS_B_N3 | Non Unique | Default | OBJ_NAME |
ZCH_MERGE_DETAILS_B_N4 | Non Unique | Default | RECORD_ID, OBJ_NAME, DEDUP_HEADER_ID |
ZCH_MERGE_DETAILS_B_N5 | Non Unique | Default | SURVIVOR_ID, OBJ_NAME |
ZCH_MERGE_DETAILS_B_N6 | Non Unique | Default | SURVIVOR_FLAG |
ZCH_MERGE_DETAILS_B_PK | Unique | Default | MERGE_DETAIL_ID |
ZCH_MERGE_DETAILS_B_U1 | Unique | Default | MERGE_DETAIL_ID, CONFLICT_ID |
ZCH_MERGE_DETAILS_B_U2 | Unique | Default | LAST_UPDATE_DATE, MERGE_DETAIL_ID |