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 | Record to be linked, merged or transferred to another record or retained as the master record that can be linked from other records. | |
SURVIVOR_ID | NUMBER | 18 | Yes | Master record which this record will be linked, merged or transferred to when processing this request. | |
SURVIVOR_FLAG | VARCHAR2 | 1 | Yes | Indicates if this record is the master record to which other records will be linked, merged or transferred when processing this request. | |
OBJ_NAME | VARCHAR2 | 30 | Yes | Name of the object to be processed by duplicate resolution. | |
OBJ_DEF | VARCHAR2 | 100 | Yes | Definition of the object to be processed by duplicate resolution. | |
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 | Indicates the action to be performed for a record processed by duplicate resolution. | ||
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 | Indicates if the action to be performed for this record has been determined by rules. | ||
ACTION_QUALIFIER | VARCHAR2 | 30 | Qualifies the action to be performed for a record processed by duplicate resolution. | ||
ORIG_SURVIVOR_ID | NUMBER | 18 | Original master record if this record was already linked to another record in the registry before the new master record was chosen. | ||
ORIG_SURVIVOR_FLAG | VARCHAR2 | 1 | Indicates if this record was the original master record linked from other records before the new master record was chosen. | ||
RECORD_TYPE | VARCHAR2 | 30 | Type of the record to be processed by duplicate resolution. | ||
RECORD_SOURCE | VARCHAR2 | 30 | Source of the record to be processed by duplicate resolution. | ||
USER_REQUESTED_FLAG | VARCHAR2 | 1 | Indicates if this record was initially part of the resolution request when it was created by the user. |
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 |