Search Results hz_customer_merge_log_s
Overview
The APPS.PAP_CMERGE_BB1 package body is a component of the Oracle E-Business Suite customer merge infrastructure, specifically oriented toward the Projects (PA) application. Its designated role is to handle the post-merge processing of project-related agreements when two customer or party records are consolidated through the standard Oracle Customer Merge (Trading Community Architecture / HZ) framework. In Oracle EBS 12.1.1 and 12.2.2, customer merge operations span many schemas, and each application contributes a Business Event or "BB" package (the _BB suffix) that reacts to the merge to reconcile its own transactional data. PAP_CMERGE_BB1 is the Projects-side handler that ensures project agreements linked to the losing ("from") customer are updated, reassigned, or invalidated so they correctly reference the surviving ("to") customer after the merge completes. Within the ETRM metadata it is classified as an OTHER API and is validated and valid in the APPS schema.
Key Procedures and Functions
The documented package exposes a single procedure, MERGE_PA_AGREEMENTS. This procedure encapsulates the Projects application's logic for merging agreements. Its purpose is to process the set of project agreements affected by a customer merge, applying the merge outcome to each agreement so that agreement records are not left pointing at a discarded customer. It is invoked as part of the larger customer merge batch orchestration, driven through PAP_CMERGE, and it relies on shared utility routines from HZ_UTILITY_PUB for common merge bookkeeping. No explicit parameter list is documented in the ETRM metadata; the procedure should be treated as an internal, framework-invoked routine rather than a publicly supported API. It is not referenced by any other database object, reinforcing its role as a leaf-level handler called by the merge engine.
Tables Accessed
- PA_AGREEMENTS — the primary Projects table holding project agreements. The package updates agreement rows so they are reassociated with the surviving customer after the merge.
- HZ_CUSTOMER_MERGE_LOG and HZ_CUSTOMER_MERGE_LOG_S — the TCA merge log and its sequence. These record the parties, merge identifiers, and request context that the package reads to determine which agreements to process and to log merge activity.
- RA_CUSTOMER_MERGES — the Receivables customer merge control table. It holds the merge request header (request ID, status, from/to customer identifiers) that drives the processing of every participating application package.
The specific reference to HZ_CUSTOMER_MERGE_LOG_S in the search context indicates the package (or its dependency graph) touches the merge-log sequence to record its actions against the correct merge log record.
Usage Notes
PAP_CMERGE_BB1 is not intended to be invoked directly by end users or custom code. It is called by the customer merge concurrent program flow that the user initiates via the Customer Merge form or the Customer Merge concurrent request. When a merge is submitted, the framework invokes the relevant application BB packages — including this Projects package — to propagate the merge to each dependent module's data. An applications user or extension developer should never call MERGE_PA_AGREEMENTS outside of this orchestrated process, as doing so could violate merge consistency across TCA, Receivables, and Projects. For troubleshooting, DBAs inspect the HZ customer merge log and RA_CUSTOMER_MERGES to confirm whether the package executed and completed successfully for a given merge request.
-
SEQUENCE: AR.HZ_CUSTOMER_MERGE_LOG_S
12.2.2
owner:AR, object_type:SEQUENCE, object_name:HZ_CUSTOMER_MERGE_LOG_S, status:VALID,
-
SEQUENCE: AR.HZ_CUSTOMER_MERGE_LOG_S
12.1.1
owner:AR, object_type:SEQUENCE, object_name:HZ_CUSTOMER_MERGE_LOG_S, status:VALID,
-
SYNONYM: APPS.HZ_CUSTOMER_MERGE_LOG_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUSTOMER_MERGE_LOG_S, status:VALID,
-
SYNONYM: APPS.HZ_CUSTOMER_MERGE_LOG_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUSTOMER_MERGE_LOG_S, status:VALID,
-
PACKAGE BODY: APPS.PAP_CMERGE_BB1
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAP_CMERGE_BB1, 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.POP_CMERGE_REQ
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POP_CMERGE_REQ, 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.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.QP_CUST_MERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_CUST_MERGE, 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.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.ARP_CMERGE_ARDUN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARDUN, 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.OKC_HZ_MERGE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_HZ_MERGE_PUB, status:VALID,
-
PACKAGE BODY: APPS.AR_MCC_MERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_MCC_MERGE, status:VALID,
-
PACKAGE BODY: APPS.AR_MCC_MERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_MCC_MERGE, 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.OKS_HZ_MERGE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_HZ_MERGE_PUB, 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.PAP_CMERGE_BB2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAP_CMERGE_BB2, 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.ARP_CMERGE_ARTAX
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARTAX, status:VALID,
-
PACKAGE BODY: APPS.INV_CMERGE_ITEMS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CMERGE_ITEMS, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARTAX
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARTAX, status:VALID,
-
PACKAGE BODY: APPS.XDP_PARTY_MERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XDP_PARTY_MERGE, status:VALID,
-
PACKAGE BODY: APPS.DPP_ACCOUNT_MERGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:DPP_ACCOUNT_MERGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.JTF_TASK_CUST_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_TASK_CUST_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARATC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARATC, status:VALID,
-
PACKAGE BODY: APPS.AR_CMGT_ACCOUNT_MERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_CMGT_ACCOUNT_MERGE, status:VALID,
-
PACKAGE BODY: APPS.OKS_HZ_MERGE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_HZ_MERGE_PUB, status:VALID,
-
PACKAGE BODY: APPS.PNP_CMERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PNP_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARTRX
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARTRX, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARCON
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARCON, status:VALID,
-
PACKAGE BODY: APPS.IBE_MERGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IBE_MERGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARCOL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARCOL, status:VALID,
-
PACKAGE BODY: APPS.FII_AR_ACCOUNT_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FII_AR_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_CMERGE_ARCOL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CMERGE_ARCOL, status:VALID,
-
PACKAGE BODY: APPS.CSC_ACCOUNT_MERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSC_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.OTAP_CMERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTAP_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.ASO_MERGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_MERGE_PVT, status:VALID,