Search Results p_site_use_id
Overview
IEX_UWQ_VIEW_PKG is an Oracle Advanced Collections (IEX) PL/SQL package that supplies the aggregated view-layer figures displayed within the Unified Work Queue (UWQ) and related collector-facing screens. Its role is to centralize the "view" calculations that the Collections user interface and integration layers require when presenting a consolidated picture of a customer's collection position across parties, customer accounts, and site uses.
The package is declared with AUTHID CURRENT_USER, meaning its database objects and unqualified references resolve against the invoker's schema and privileges rather than the definer's. Within Oracle EBS 12.1.1 and 12.2.2, this makes it a reusable server-side read API rather than a self-contained business transaction processor. The header comment records that the bulk of the package was introduced under Bug 6634879 (November 2007), so the current signature set is stable across both release families.
Key Procedures and Functions
The documented interface exposes eleven functions, each returning a scalar value for a specific customer context.
- GET_DEL_COUNT — returns a count of delinquency records for the supplied party, account, site use, and UWQ status.
- GET_PRO_COUNT — returns a count of promise-type records, additionally scoped by operating unit (org_id).
- GET_STR_COUNT — returns a count of strategy-related records for the same customer context.
- CONVERT_AMOUNT — converts an amount from a source currency into the functional currency for display purposes.
- GET_LAST_PAYMENT_AMOUNT — returns the amount of the most recent payment for the customer context.
- GET_LAST_PAYMENT_NUMBER — returns the reference number of that most recent payment as a character value.
- GET_SCORE — returns the current collection score for the party/account/site use combination.
- GET_BROKEN_PRM_AMT — returns the value of promise amounts that were broken, scoped by operating unit.
- GET_PRM_AMT — returns the value of promise amounts for the customer context, scoped by operating unit.
- GET_CASE_COUNT — returns a count of collection cases for the supplied party, account, site use, and UWQ status. This is the function most often referenced when the Unified Work Queue needs to display the number of open cases associated with a customer row.
- GET_CONTRACT_COUNT — returns a count of contracts associated with the same customer context.
Each function takes identifiers (party, customer account, site use) and, where relevant, a UWQ status or org_id, always returning a single number or varchar2 suitable for direct display.
Tables Accessed
The package reads through APPS synonyms across several Advanced Collections and Receivables base tables:
- IEX_DELINQUENCIES_ALL — source for delinquency counts.
- IEX_PROMISE_DETAILS — source for promise amounts and broken promise calculations.
- IEX_SCORE_HISTORIES — source for the current collection score.
- OKC_K_HEADERS_B — source for contract counts.
- HZ_CUST_ACCOUNTS — customer account context.
- AR_SYSTEM_PARAMETERS — provides functional currency and Receivables setup used in amount conversion.
- FND_USER — resolves the current EBS user context.
- JTF_RS_RESOURCE_EXTNS — links the logged-in resource to collector or agent attributes.
All access is read-only; the package does not commit transactional data.
Usage Notes
IEX_UWQ_VIEW_PKG is typically invoked by the Advanced Collections Unified Work Queue user interface, related OAF or Forms collecter screens, and custom extensions that need to reproduce UWQ-style summary figures. Because it is one of the referenced packages in the EBS dependency chain, callers should treat it as an API to be called rather than modified. Performance is heavily dependent on the selectivity of the party, account, and site use arguments; custom code should pass fully qualified identifiers and avoid repeated per-row calls in tight loops where aggregate caching is possible.
-
PACKAGE: APPS.IEX_UWQ_VIEW_PKG
12.2.2
-
APPS.ARP_CUST_ALT_MATCH_PKG SQL Statements
12.1.1
-
APPS.ARP_CUST_ALT_MATCH_PKG SQL Statements
12.2.2
-
APPS.ARP_CLAS_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.IEX_UWQ_VIEW_PKG
12.1.1
-
APPS.ARP_CLAS_PKG SQL Statements
12.1.1
-
APPS.ARH_CPROF1_PKG SQL Statements
12.1.1
-
APPS.ARP_CPROF1_PKG SQL Statements
12.2.2
-
APPS.ARH_CPROF1_PKG SQL Statements
12.2.2
-
APPS.ARP_CPROF1_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.ARP_CUST_ALT_MATCH_PKG
12.2.2
-
APPS.ARH_CSU_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.ARP_CUST_ALT_MATCH_PKG
12.1.1
-
APPS.ARH_CSU_PKG SQL Statements
12.1.1
-
APPS.MTL_RELATED_ITEMS_CUST_REF_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.ARP_CUST_ALT_MATCH_PKG
12.1.1
-
PACKAGE: APPS.ARP_CPROF1_PKG
12.1.1
-
PACKAGE: APPS.ARP_CUST_ALT_MATCH_PKG
12.2.2
-
PACKAGE: APPS.ARH_CPROF1_PKG
12.1.1
-
PACKAGE: APPS.ARP_CPROF1_PKG
12.2.2
-
PACKAGE BODY: APPS.ARP_CPROF1_PKG
12.2.2
-
PACKAGE BODY: APPS.ARH_CPROF1_PKG
12.1.1
-
PACKAGE BODY: APPS.ARP_CPROF1_PKG
12.1.1
-
PACKAGE BODY: APPS.MTL_RELATED_ITEMS_CUST_REF_PKG
12.2.2
-
PACKAGE: APPS.ARP_CLAS_PKG
12.1.1
-
PACKAGE: APPS.ARP_CLAS_PKG
12.2.2
-
PACKAGE BODY: APPS.ARH_CPROF1_PKG
12.2.2
-
PACKAGE: APPS.ARH_CPROF1_PKG
12.2.2
-
PACKAGE: APPS.MTL_RELATED_ITEMS_CUST_REF_PKG
12.2.2
-
PACKAGE BODY: APPS.HZ_ACCT_MERGE_UTIL
12.2.2
-
PACKAGE BODY: APPS.HZ_ACCT_MERGE_UTIL
12.1.1
-
PACKAGE BODY: APPS.ARP_CLAS_PKG
12.2.2
-
PACKAGE BODY: APPS.ARP_CLAS_PKG
12.1.1
-
PACKAGE BODY: APPS.ARH_CSU_PKG
12.1.1
-
PACKAGE BODY: APPS.ARH_CSU_PKG
12.2.2
-
APPS.OZF_SD_CUSTOMER_PKG SQL Statements
12.1.1
-
APPS.HZ_SUSPENSION_ACTIVITY_PKG SQL Statements
12.1.1
-
APPS.OZF_SD_CUSTOMER_PKG SQL Statements
12.2.2
-
APPS.HZ_SUSPENSION_ACTIVITY_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.ARP_ARXVASUM2
12.2.2
-
PACKAGE: APPS.ARP_ARXVASUM2
12.1.1
-
PACKAGE: APPS.ARP_ARXVASUM
12.1.1
-
PACKAGE BODY: APPS.IEX_UWQ_VIEW_PKG
12.2.2
-
APPS.OE_CREDIT_CHECK_LINES_PVT SQL Statements
12.1.1
-
APPS.OZF_TP_UTIL_QUERIES SQL Statements
12.2.2
-
APPS.OZF_TP_UTIL_QUERIES SQL Statements
12.1.1
-
PACKAGE BODY: APPS.HZ_SUSPENSION_ACTIVITY_PKG
12.2.2
-
PACKAGE: APPS.ARP_ARXVASUM
12.2.2
-
PACKAGE BODY: APPS.ARP_CSU_PKG
12.2.2
-
PACKAGE BODY: APPS.IEX_UWQ_VIEW_PKG
12.1.1