Search Results ra_customer_merge_headers
Overview
RA_CUSTOMER_MERGE_HEADERS is the master control table for Oracle Receivables' customer account merge functionality. It stores the high-level information pertaining to each account merge request submitted through the Customer Merge program, serving as the parent record for the individual customer records that participate in a merge operation. Every merge request creates one row in this table, which then drives downstream processing across Receivables, Order Management, and other modules that reference the customer.
From a Data Vault modeling perspective, this object is best characterized as a link entity. It sits at the intersection of two customer references — the surviving account and the duplicate account — capturing the relationship and the merge event between them rather than describing a single business entity. The presence of foreign keys pointing outward to HZ_CUST_ACCOUNTS and RA_CUSTOMERS, combined with legacy descriptive attributes and audit columns, reinforces this link classification. In EBS 12.1.1 and 12.2.2 the table resides in the AR schema and is documented with 46 columns.
Key Information Stored
The table's structure separates identity, business references, merge metadata, and audit trail:
- CUSTOMER_MERGE_HEADER_ID — the surrogate primary key, enforced by unique index RA_CUSTOMER_MERGE_HEADERS_U1 and constraint RA_CUSTOMER_MERGE_HEADERS_PK. This is the only documented unique-index candidate; all other columns are descriptive or foreign keys rather than business keys.
- CUSTOMER_ID — foreign key to HZ_CUST_ACCOUNTS, identifying the surviving (merge-to) account.
- DUPLICATE_ID — foreign key to RA_CUSTOMERS, identifying the duplicate (merge-from) account.
- CUSTOMER_NAME, CUSTOMER_NUMBER, CUSTOMER_REF — denormalized identifiers for the surviving customer, retained for reporting and audit.
- DUPLICATE_NAME, DUPLICATE_NUMBER, DUPLICATE_REF — parallel denormalized identifiers for the duplicate record.
- DELETE_DUPLICATE_FLAG — controls whether the duplicate account is removed after a successful merge.
- PROCESS_FLAG — indicates the merge processing status, driving program logic.
- MERGE_REASON_CODE and MERGE_FAIL_MSG — capture the justification for the merge and any failure diagnostics.
- PRIORITY and ORG_ID — sequence the request and scope it to the operating unit for multi-org security.
- REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID, PROGRAM_UPDATE_DATE — concurrent program context identifying which run created the record.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — standard WHO audit columns.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — the standard DFF flexfield block.
Common Use Cases and Queries
Typical activities center on monitoring merge status, troubleshooting failures, and auditing customer consolidation. A reporting query tracking pending versus completed merges might filter on PROCESS_FLAG for the operating unit:
SELECT h.customer_merge_header_id, h.customer_name, h.duplicate_name, h.process_flag, h.merge_fail_msg FROM ra_customer_merge_headers h WHERE h.org_id = :org_id AND h.process_flag IN ('N','P');
A reconciliation query joins the header to surviving accounts and duplicate records to validate that merges completed as intended:
SELECT h.customer_merge_header_id, h.customer_number AS survivor, h.duplicate_number AS duplicate, h.merge_reason_code, h.merge_fail_msg FROM ra_customer_merge_headers h WHERE h.last_update_date >= :since_date;
Because the table records the concurrent request that produced each row, DBAs can trace failures by correlating REQUEST_ID with FND_CONCURRENT_REQUESTS. Organizations also use it to audit merge volume over time, group by operating unit, and reconcile against "Customer Merge" concurrent program output.
Related Objects
- RA_CUSTOMER_MERGES — the primary dependent table; its CUSTOMER_MERGE_HEADER_ID column references RA_CUSTOMER_MERGE_HEADERS, holding the line-level detail for each merge.
- HZ_CUST_ACCOUNTS — referenced via CUSTOMER_ID; supplies the surviving account record.
- RA_CUSTOMERS — referenced via DUPLICATE_ID; supplies the duplicate customer record.
- ONT (Order Management) customer merge processes — consume header rows to update sales orders post-merge.
- FND_CONCURRENT_REQUESTS — joined on REQUEST_ID to identify the originating concurrent run.
- HZ_MERGE_HISTORY / party merge tables — TCA-side counterparts that coordinate party and account merges with this AR table.
-
Table: RA_CUSTOMER_MERGE_HEADERS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_MERGE_HEADERS, object_name:RA_CUSTOMER_MERGE_HEADERS, status:VALID, product: AR - Receivables , description: This table is used to store the high level information about an account merge request. , implementation_dba_data: AR.RA_CUSTOMER_MERGE_HEADERS ,
-
Table: RA_CUSTOMER_MERGE_HEADERS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_MERGE_HEADERS, object_name:RA_CUSTOMER_MERGE_HEADERS, status:VALID, product: AR - Receivables , description: This table is used to store the high level information about an account merge request. , implementation_dba_data: AR.RA_CUSTOMER_MERGE_HEADERS ,
-
APPS.ARP_CMERGE_MASTER SQL Statements
12.1.1
-
APPS.ARP_CMERGE_MASTER SQL Statements
12.2.2
-
VIEW: AR.RA_CUSTOMER_MERGE_HEADERS#
12.2.2
owner:AR, object_type:VIEW, object_name:RA_CUSTOMER_MERGE_HEADERS#, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_MERGE_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_MERGE_HEADERS, status:VALID,
-
VIEW: AR.RA_CUSTOMER_MERGE_HEADERS#
12.2.2
-
SYNONYM: APPS.RA_CUSTOMER_MERGE_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_MERGE_HEADERS, status:VALID,
-
PACKAGE BODY: APPS.GMS_CMERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.POP_CMERGE_REQ
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POP_CMERGE_REQ, status:VALID,
-
PACKAGE BODY: APPS.PV_ACCOUNT_MERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PV_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.CS_CH_ACCOUNT_MERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CH_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.DPP_ACCOUNT_MERGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:DPP_ACCOUNT_MERGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_CUST_MERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_CUST_MERGE, status:VALID,
-
PACKAGE BODY: APPS.POP_CMERGE_REQ
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POP_CMERGE_REQ, status:VALID,
-
PACKAGE BODY: APPS.FUN_CUSTOMERMERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_CUSTOMERMERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.QP_CUST_MERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_CUST_MERGE, status:VALID,
-
PACKAGE BODY: APPS.PV_ACCOUNT_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PV_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.CS_CH_ACCOUNT_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CH_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.INV_CMERGE_ITEMS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CMERGE_ITEMS, status:VALID,
-
PACKAGE BODY: APPS.JTF_IH_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_IH_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.GMS_CMERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.XDP_PARTY_MERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XDP_PARTY_MERGE, status:VALID,
-
PACKAGE BODY: APPS.JTF_IH_MERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_IH_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.FUN_CUSTOMERMERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_CUSTOMERMERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARATC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARATC, status:VALID,
-
PACKAGE BODY: APPS.MRPP_CMERGE_FCST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRPP_CMERGE_FCST, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARCON
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARCON, status:VALID,
-
PACKAGE BODY: APPS.IBY_MERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IBY_MERGE, status:VALID,
-
PACKAGE BODY: APPS.ASO_MERGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_MERGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_HZ_MERGE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_HZ_MERGE_PUB, status:VALID,
-
PACKAGE BODY: APPS.CSC_ACCOUNT_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSC_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.MRPP_CMERGE_FCST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRPP_CMERGE_FCST, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARDUN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARDUN, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARDUN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARDUN, status:VALID,
-
PACKAGE BODY: APPS.OKS_HZ_MERGE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_HZ_MERGE_PUB, status:VALID,
-
PACKAGE BODY: APPS.CN_CUST_MERGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_CUST_MERGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OTAP_CMERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTAP_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.PNP_CMERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PNP_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.JTF_TASK_CUST_MERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_TASK_CUST_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARTRX
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARTRX, status:VALID,
-
PACKAGE BODY: APPS.ISC_DBI_ACCT_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ISC_DBI_ACCT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.OZF_ACCOUNT_MERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.OZF_ACCOUNT_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.JL_CMERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JL_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.IBE_MERGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IBE_MERGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.CSP_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSP_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.CS_SR_ACCOUNT_MERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SR_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.JL_CMERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JL_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.RLM_CUST_MERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RLM_CUST_MERGE, status:VALID,