Search Results get_status
Overview
UMX_PARTY_MERGE is a PL/SQL package body owned by APPS that participates in the TCA/HZ party merge process within Oracle E-Business Suite. Its role is to reconcile the Oracle User Management (UMX) registration request data whenever two trading community parties are merged. During a party merge operation, records that reference a "from" party (the party being merged away) must be repointed to the surviving "to" party. UMX_PARTY_MERGE acts as a client-side extension of the HZ party merge framework, providing the UMX-specific logic needed to keep UMX_REG_REQUESTS rows consistent with the outcome of the merge. A secondary and equally important function is to prevent the merge from proceeding when the source party has outstanding registration activity, thereby preserving the integrity of pending user-registration workflows. The package body carries an embedded revision marker of version 115.1, dated July 2004, reflecting its long-standing stability across the 12.1.1 and 12.2.2 releases. It is classified in the ETRM metadata as an OTHER API rather than a public or private API, indicating it is primarily an internal merge subscriber rather than a general-purpose callable interface.
Key Procedures and Functions
The package body exposes a single documented procedure, MERGE_PARTIES. This procedure is the merge event handler invoked for the UMX entity relationship. It performs three sequential responsibilities: first, it evaluates whether the merge is permissible; second, it performs the required data remediation; and third, it reports success or failure to the calling merge framework.
- MERGE_PARTIES — The procedure first opens the internal
GET_STATUScursor, which the user query referenced, selecting theSTATUS_CODEfromUMX_REG_REQUESTSfor the source party filtered tostatus_code = 'PENDING'. If any pending registration request exists for the source party, the procedure sets the return status toFND_API.G_RET_STS_ERROR, attaches the messageUMX_MERGE_NOT_ALLOWED, and returns without modifying data — blocking the merge. If no pending request is found, and the parent entity isHZ_PARTIESand the source and target party identifiers differ, the procedure updatesUMX_REG_REQUESTS, repointingrequested_for_party_idfrom the source party to the target party and stamping the standard audit columns (last_update_date,last_updated_by,last_update_login) fromHZ_UTILITY_PUB. Any unexpected exception is trapped and reported throughHZ_API_OTHERS_EXCEPwith the SQL error text as a token, and the return status is set toFND_API.G_RET_STS_UNEXP_ERROR.
Tables Accessed
Only one base table is referenced, through an APPS synonym:
- UMX_REG_REQUESTS — Read by the
GET_STATUScursor to detect pending registration requests for the source party, and updated by the merge logic to transferrequested_for_party_idto the surviving party. This is the sole persisted object the package reads or writes.
The package also depends on shared TCA/HZ utility and framework constructs, notably FND_API for standardized return statuses, FND_MESSAGE and FND_MSG_PUB for message handling, and HZ_UTILITY_PUB for consistent audit column values.
Usage Notes
UMX_PARTY_MERGE is not intended to be called directly by end users. It is invoked by the HZ party merge framework as a registered entity handler when a party merge is executed, typically from the Trading Community Manager merge user interface or from a party merge concurrent program. Because it is a merge subscriber, the framework calls MERGE_PARTIES with the source and target party identifiers and interprets the returned status to decide whether the overall merge may continue. Administrators should understand the blocking behavior: a party with a registration request still in PENDING status cannot be merged, and the merge must be deferred until that request is resolved. In 12.1.1 and 12.2.2 the package behaves identically, as no release-specific overrides are documented. Customizations should avoid modifying this package body; any required logic changes should be implemented as additional merge handlers or by extending the framework rather than by altering the delivered code.
-
PACKAGE BODY: APPS.UMX_PARTY_MERGE
12.1.1
-
PACKAGE BODY: APPS.UMX_PARTY_MERGE
12.2.2
-
PACKAGE: APPS.OE_INSTALL
12.2.2
-
PACKAGE: APPS.OE_INSTALL
12.1.1
-
PACKAGE: APPS.PAY_BATCH_OBJECT_STATUS_PKG
12.2.2
-
PACKAGE: APPS.PAY_BATCH_OBJECT_STATUS_PKG
12.1.1
-
APPS.UMX_PARTY_MERGE SQL Statements
12.2.2
-
APPS.UMX_PARTY_MERGE SQL Statements
12.1.1
-
PACKAGE: APPS.ZPB_AW_STATUS
12.1.1
-
PACKAGE: APPS.FND_CONC_SSWA
12.1.1
-
PACKAGE: APPS.FND_CONC_SSWA
12.2.2
-
PACKAGE: SYS.DBMS_DATAPUMP
12.2.2
-
PACKAGE: SYS.DBMS_DATAPUMP
12.1.1
-
PACKAGE BODY: APPS.IGW_ORGANIZATIONS_PVT
12.1.1
-
PACKAGE BODY: APPS.PAY_BATCH_OBJECT_STATUS_PKG
12.1.1
-
PACKAGE: APPS.FND_AMP_PRIVATE
12.1.1
-
PACKAGE BODY: APPS.PAY_BATCH_OBJECT_STATUS_PKG
12.2.2
-
PACKAGE: APPS.FND_AMP_PRIVATE
12.2.2
-
PACKAGE: APPS.FND_DIAG_REQUEST_ANALYZER
12.2.2
-
PACKAGE BODY: APPS.OE_INSTALL
12.2.2
-
PACKAGE BODY: APPS.OE_INSTALL
12.1.1
-
PACKAGE: APPS.PO_REQ_DOCUMENT_CHECKS_PVT
12.2.2
-
PACKAGE: APPS.PO_REQ_DOCUMENT_CHECKS_PVT
12.1.1
-
PACKAGE BODY: APPS.GL_BUDGET_UTILS_PKG
12.2.2
-
PACKAGE: APPS.FND_CONC
12.1.1
-
PACKAGE BODY: APPS.GL_BUDGET_UTILS_PKG
12.1.1
-
APPS.WSH_EXCEPTIONS_GRP SQL Statements
12.1.1
-
PACKAGE: APPS.FND_CONC
12.2.2
-
APPS.WSH_EXCEPTIONS_GRP SQL Statements
12.2.2
-
PACKAGE BODY: APPS.WIP_SF_STATUS
12.1.1
-
PACKAGE: APPS.MSC_X_PEGGING_FUNC
12.1.1
-
PACKAGE: APPS.MSC_X_PEGGING_FUNC
12.2.2
-
PACKAGE: APPS.ARP_VIEW_CONSTANTS
12.2.2
-
PACKAGE: APPS.ARP_VIEW_CONSTANTS
12.1.1
-
PACKAGE BODY: APPS.FND_AMP_PRIVATE
12.2.2
-
PACKAGE: APPS.FND_CP_GSM_IPC
12.1.1
-
PACKAGE: APPS.FND_CP_GSM_IPC
12.2.2
-
PACKAGE: APPS.POS_EXCELASN_PVT
12.2.2
-
PACKAGE: APPS.OKL_EQUIPMENT_EXCHANGE_PVT
12.1.1
-
PACKAGE: APPS.OKL_EQUIPMENT_EXCHANGE_PVT
12.2.2
-
PACKAGE BODY: APPS.ZPB_AW_STATUS
12.1.1
-
PACKAGE: APPS.POS_EXCELASN_PVT
12.1.1
-
PACKAGE: APPS.OKL_EQUIPMENT_EXCHANGE_PUB
12.1.1
-
PACKAGE: APPS.OKL_EQUIPMENT_EXCHANGE_PUB
12.2.2
-
PACKAGE BODY: APPS.FND_AMP_PRIVATE
12.1.1
-
PACKAGE BODY: APPS.WIP_SF_STATUS
12.2.2
-
PACKAGE: APPS.BOM_BOMRWUIT_XMLP_PKG
12.1.1
-
PACKAGE: APPS.CN_COMP_PLANS_PKG
12.1.1
-
PACKAGE: APPS.BOM_BOMRWUIT_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.OKL_EQUIPMENT_EXCHANGE_PUB
12.2.2