Search Results party_merge
Overview
AMW_PARTY_MERGE_PKG is an Oracle E-Business Suite package body in the APPS schema that participates in the TCA (Trading Community Architecture) party merge process. It is classified in the ETRM repository as an "OTHER" API and is associated with the Oracle Advanced Managed Warehouse (AMW) product family. Its role is to re-point foreign key references held by AMW tables whenever two party records are merged, so that transactional and reference data owned by the "from" party is reassigned to the surviving "to" party without breaking referential integrity.
Party merge is initiated from the standard TCA party merge infrastructure, which walks the registry of registered entities and invokes each subscribing package's merge handler. AMW_PARTY_MERGE_PKG registers itself as one such handler. When the merge engine reaches an AMW entity, the package is called through its single documented procedure, PARTY_MERGE, and performs the necessary UPDATE statements against the AMW tables that carry party, party site, or user identifiers.
Key Procedures and Functions
The ETRM metadata documents exactly one procedure for this package, PARTY_MERGE. It is the entry point invoked by the TCA merge framework rather than by application code directly. Its documented parameters include the entity name, the "from" primary key, an outbound "to" primary key, the "from" and "to" foreign key identifiers, the parent entity (HZ) name, the batch identifier, the batch party identifier, and an outbound return status.
The procedure returns status through the standard FND_API convention, initialising the return status to FND_API.G_RET_STS_SUCCESS and raising failure only when an error occurs. No other procedures or functions are documented in the ETRM metadata for this package.
Tables Accessed
The package performs targeted UPDATE statements against five AMW base tables, keyed by the entity name passed in by the merge engine:
- AMW_ASSESSMENTS_B — reassigns ASSESSMENT_OWNER_ID from the "from" foreign key to the "to" foreign key when the entity is AMW_ASSESSMENTS_B.
- AMW_CONSTRAINTS_B — reassigns ENTERED_BY_ID when the entity is AMW_CONSTRAINTS_B.
- AMW_CERTIFICATION_B — reassigns CERTIFICATION_OWNER_ID when the entity is AMW_CERTIFICATION_B.
- AMW_VIOLATIONS — reassigns REQUESTED_BY_ID when the entity is AMW_VIOLATIONS.
- AMW_AP_EXECUTIONS — participates in the merge processing for AP execution records, as indicated by the entity-name branch shown in the source header.
Each branch is conditioned on the p_entity_name value, so the procedure updates only the table corresponding to the entity currently being merged. The referenced objects are resolved through APPS synonyms.
Usage Notes
AMW_PARTY_MERGE_PKG is not a general-purpose API. It is invoked internally by the TCA party merge concurrent program and its associated merge orchestration logic, which supplies the entity name, batch identifiers, and from/to key values. It is referenced by zero other packages, confirming its role as a leaf subscriber rather than a shared utility.
Custom code should not call PARTY_MERGE directly; instead, AMW entities should be registered with the TCA party merge registry so the framework invokes this package automatically. Administrators should treat it as part of the standard AMW/TCA merge surface and validate AMW assessment, constraint, certification, violation, and AP execution data after any party merge run to confirm that ownership references were reassigned correctly.
-
APPS.CS_SR_PARTY_MERGE_PKG SQL Statements
12.1.1
-
APPS.CS_SR_PARTY_MERGE_PKG SQL Statements
12.2.2
-
Lookup Type: HZ_MERGE_TYPE
12.1.1
product: AR - Receivables , meaning: Merge Type ,
-
Lookup Type: HZ_MERGE_TYPE
12.2.2
product: AR - Receivables , meaning: Merge Type ,
-
PACKAGE BODY: APPS.AMW_PARTY_MERGE_PKG
12.1.1
-
PACKAGE: APPS.QA_TCA_PKG
12.1.1
-
PACKAGE: APPS.AMW_PARTY_MERGE_PKG
12.1.1
-
PACKAGE: APPS.QA_TCA_PKG
12.2.2
-
Lookup Type: PV_MEMB_STATUS_REASON_CODE
12.2.2
product: PV - Partner Management , meaning: PV_MEMB_STATUS_REASON_CODE , description: Contract Termination Reason Code ,
-
PACKAGE BODY: APPS.QA_TCA_PKG
12.2.2
-
PACKAGE BODY: APPS.QA_TCA_PKG
12.1.1
-
Lookup Type: PV_MEMB_STATUS_REASON_CODE
12.1.1
product: PV - Partner Management , meaning: PV_MEMB_STATUS_REASON_CODE , description: Contract Termination Reason Code ,
-
PACKAGE: APPS.JTF_TERR_NA_MERGE_PUB
12.1.1
-
PACKAGE: APPS.JTF_TERR_MERGE_PUB
12.1.1
-
PACKAGE: APPS.JTF_TERR_NA_MERGE_PUB
12.2.2
-
PACKAGE: APPS.JTF_TERR_MERGE_PUB
12.2.2
-
PACKAGE: APPS.OKC_REP_PARTY_MERGE_GRP
12.2.2
-
PACKAGE: APPS.OKC_REP_PARTY_MERGE_GRP
12.1.1
-
PACKAGE BODY: APPS.JTF_TERR_MERGE_PUB
12.1.1
-
PACKAGE BODY: APPS.OKC_REP_PARTY_MERGE_GRP
12.1.1
-
PACKAGE BODY: APPS.OKC_REP_PARTY_MERGE_GRP
12.2.2
-
PACKAGE BODY: APPS.JTF_TERR_MERGE_PUB
12.2.2
-
APPS.HZ_MERGE_DUP_PVT SQL Statements
12.1.1
-
APPS.HZ_MERGE_DUP_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AMS_PARTY_MERGE_PVT
12.1.1
-
PACKAGE BODY: APPS.AMS_PARTY_MERGE_PVT
12.2.2
-
Lookup Type: CS_SR_SOURCE_PROGRAMS
12.1.1
product: CS - Service , meaning: Service Request Source Program Codes , description: Service Request Source Program Codes ,
-
Lookup Type: CS_SR_SOURCE_PROGRAMS
12.2.2
product: CS - Service , meaning: Service Request Source Program Codes , description: Service Request Source Program Codes ,
-
APPS.HZ_MERGE_PARTIES_PUB SQL Statements
12.2.2
-
TABLE: AR.HZ_MERGE_PARTIES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_MERGE_PARTIES, object_name:HZ_MERGE_PARTIES, status:VALID,
-
APPS.HZ_MERGE_PARTIES_PUB SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PA_MERGE_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_MERGE_PKG
12.2.2
-
TABLE: AR.HZ_DUP_SETS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_DUP_SETS, object_name:HZ_DUP_SETS, status:VALID,
-
TABLE: AR.HZ_DUP_SETS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_DUP_SETS, object_name:HZ_DUP_SETS, status:VALID,
-
PACKAGE: APPS.PA_MERGE_PKG
12.1.1
-
TABLE: AR.HZ_MERGE_PARTIES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_MERGE_PARTIES, object_name:HZ_MERGE_PARTIES, status:VALID,
-
PACKAGE: APPS.PA_MERGE_PKG
12.2.2
-
PACKAGE BODY: APPS.CS_SR_PARTY_MERGE_PKG
12.1.1
-
PACKAGE: APPS.PA_PROJECT_REQUEST_PUB
12.2.2
-
PACKAGE: APPS.PA_PROJECT_REQUEST_PUB
12.1.1
-
PACKAGE BODY: APPS.CS_SR_PARTY_MERGE_PKG
12.2.2
-
APPS.HZ_AUTOMERGE_PKG SQL Statements
12.2.2
-
APPS.HZ_AUTOMERGE_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.HZ_MERGE_DUP_PVT
12.1.1
-
PACKAGE BODY: APPS.HZ_MERGE_DUP_PVT
12.2.2
-
PACKAGE: APPS.PA_PROJECT_SETS_PUB
12.1.1
-
PACKAGE: APPS.PA_PROJECT_SETS_PUB
12.2.2
-
APPS.HZ_PARTY_MERGE SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PA_PROJECT_REQUEST_PUB
12.1.1