Search Results g_resource_id
Overview
The APPS.IEX_UWQ_VIEW_PKG package body is a component of the Advanced Collections (IEX) module in Oracle E-Business Suite, providing the core query and aggregation logic used to populate the Unified Work Queue (UWQ) and related collections dashboards. The package exposes a set of standalone functions that return counts, monetary sums, scores, and identifiers for a given customer, party, site, or collector context. These functions are consumed by the Collections Agent and Collections Manager user interfaces to compute the summary metrics displayed in delinquency and bankruptcy work queues. The $Header annotation (iextuvwb.pls 120.5.12010000.6, dated 2010/02/16) indicates the package was maintained through the 12.1.x release stream and carried forward into 12.2.x with the file version stamp intact.
Key Procedures and Functions
GET_DEL_COUNT— Returns the number of delinquency records for a party, customer account, or site, honoring theIEX_BANKRUPTCY_FILTERandIEX_UWQ_COMPLETION_DAYSprofile options. The source excerpt shows dynamic SQL that filters out statusesCURRENTandCLOSE, reflecting a fix for Bug#4408860.GET_PRO_COUNT— Returns the count of open promise-to-pay records associated with the supplied collection context.GET_STR_COUNT— Returns a strategy or status-related count used in UWQ metric columns.CONVERT_AMOUNT— Converts a monetary value between currencies, typically using the AR system currency conversion setup.GET_LAST_PAYMENT_AMOUNT— Returns the amount of the most recent payment recorded against the customer.GET_LAST_PAYMENT_NUMBER— Returns the identifying number of the most recent payment (e.g., receipt number).GET_SCORE— Returns the latest scoring value for the customer from the score history repository.GET_BROKEN_PRM_AMT— Returns the aggregate amount of promises that were broken or not honored.GET_PRM_AMT— Returns the total amount of active promise-to-pay records.GET_CASE_COUNT— Returns the number of collection cases associated with the customer context.GET_CONTRACT_COUNT— Returns the count of contracts tied to the customer, sourced from the OKC contract headers.
Tables Accessed
The package reads from several base and interface tables via APPS synonyms. IEX_DELINQUENCIES_ALL and IEX_PROMISE_DETAILS supply delinquency and promise-to-pay data central to collections aging. IEX_SCORE_HISTORIES provides prior scoring results for GET_SCORE. Customer identity and account context are resolved through HZ_CUST_ACCOUNTS and FND_USER. Resource-to-user mapping for collectors is obtained from JTF_RS_RESOURCE_EXTNS, which is queried by the package cursor c_get_resource_id using the global variable g_resource_id. Currency and system configuration parameters are read from AR_SYSTEM_PARAMETERS, and contract data is drawn from OKC_K_HEADERS_B.
Usage Notes
These functions are typically invoked from the Advanced Collections HTML and Forms-based work queue pages, where each metric column triggers a call to the corresponding function. They are also referenced by one other package within the IEX schema, indicating use as a shared utility layer. The package relies on session globals (g_user_id, g_person_id, g_resource_id) set by the caller context, so it must be initialized within an active collections session. The g_resource_id global and c_get_resource_id cursor are the points of interest when tracing the resource identifier passed into these queries, resolving a JTF resource from the current employee and user combination. Profile options IEX_BANKRUPTCY_FILTER and IEX_UWQ_COMPLETION_DAYS govern filtering behavior and should be reviewed when metric results appear inconsistent.
-
APPS.MRP_UPDATE_RESOURCE SQL Statements
12.1.1
-
APPS.MRP_UPDATE_RESOURCE SQL Statements
12.2.2
-
APPS.MSC_UPDATE_RESOURCE SQL Statements
12.2.2
-
APPS.MSC_UPDATE_RESOURCE SQL Statements
12.1.1
-
PACKAGE BODY: APPS.IEX_UWQ_VIEW_PKG
12.2.2
-
PACKAGE BODY: APPS.MRP_UPDATE_RESOURCE
12.1.1
-
APPS.HXC_ABS_RETRIEVAL_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MRP_UPDATE_RESOURCE
12.2.2
-
PACKAGE BODY: APPS.IEX_UWQ_VIEW_PKG
12.1.1
-
PACKAGE: APPS.IGR_IN_JTF_INTERACTIONS_PKG
12.1.1
-
PACKAGE BODY: APPS.MSC_UPDATE_RESOURCE
12.2.2
-
PACKAGE: APPS.WIP_RES_UTIL
12.1.1
-
PACKAGE: APPS.WIP_RES_UTIL
12.2.2
-
PACKAGE BODY: APPS.HXC_ABS_RETRIEVAL_PKG
12.2.2
-
PACKAGE BODY: APPS.MSC_UPDATE_RESOURCE
12.1.1
-
PACKAGE BODY: APPS.HXC_ARRAY_TIME_DEPOSIT
12.2.2
-
PACKAGE BODY: APPS.ASG_BASE
12.1.1
-
PACKAGE BODY: APPS.HXC_ARRAY_TIME_DEPOSIT
12.1.1
-
PACKAGE BODY: APPS.OKI_DBI_UTIL_PVT
12.1.1
-
PACKAGE BODY: APPS.ASG_BASE
12.2.2
-
APPS.IEX_UWQ_VIEW_PKG SQL Statements
12.2.2
-
APPS.IEX_UWQ_VIEW_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AMV_CHANNEL_PVT
12.2.2
-
PACKAGE BODY: APPS.AMV_CATEGORY_PVT
12.2.2
-
PACKAGE BODY: APPS.AMV_CHANNEL_PVT
12.1.1
-
PACKAGE BODY: APPS.AMV_CATEGORY_PVT
12.1.1
-
PACKAGE: APPS.ASG_BASE
12.2.2
-
PACKAGE: APPS.ASG_BASE
12.1.1
-
PACKAGE: APPS.OKI_DBI_UTIL_PVT
12.1.1
-
PACKAGE BODY: APPS.JTF_RS_ROLE_RELATE_VUHK
12.1.1
-
PACKAGE BODY: APPS.JTF_RS_ROLE_RELATE_VUHK
12.2.2
-
PACKAGE BODY: APPS.HXC_TPD_END
12.2.2
-
APPS.HXC_ABS_RETRIEVAL_PKG dependencies on HXC_TIME_BUILDING_BLOCKS
12.2.2
-
APPS.HXC_ABS_RETRIEVAL_PKG dependencies on HXC_PREFERENCE_EVALUATION
12.2.2
-
APPS.CSF_GANTT_DATA_PKG dependencies on CSF_RESOURCE_PUB
12.1.1
-
APPS.PA_RESOURCE_UTILS dependencies on HR_ORGANIZATION_UNITS
12.2.2
-
APPS.PA_RESOURCE_UTILS dependencies on HR_ORGANIZATION_UNITS
12.1.1
-
APPS.CSF_GANTT_DATA_PKG dependencies on CSF_RESOURCE_PUB
12.2.2
-
APPS.IEX_UWQ_VIEW_PKG dependencies on PER_EMPLOYEES_CURRENT_X
12.1.1
-
APPS.IEX_UWQ_VIEW_PKG dependencies on PER_EMPLOYEES_CURRENT_X
12.2.2
-
APPS.IEX_UWQ_VIEW_PKG dependencies on FND_USER
12.2.2
-
APPS.MSC_UPDATE_RESOURCE dependencies on FND_GLOBAL
12.2.2
-
APPS.MRP_UPDATE_RESOURCE dependencies on MRP_FORM_QUERY
12.1.1
-
APPS.IEX_UWQ_VIEW_PKG dependencies on FND_USER
12.1.1
-
APPS.MRP_UPDATE_RESOURCE dependencies on CRP_AVAILABLE_RESOURCES
12.1.1
-
APPS.IGR_IN_JTF_INTERACTIONS_PKG dependencies on FND_API
12.1.1
-
APPS.MRP_UPDATE_RESOURCE dependencies on CRP_AVAILABLE_RESOURCES
12.2.2
-
APPS.CSF_GANTT_DATA_PKG dependencies on FND_TIMEZONES
12.1.1
-
APPS.IGR_IN_JTF_INTERACTIONS_PKG dependencies on JTF_IH_OUTCOMES_VL
12.1.1
-
APPS.MRP_UPDATE_RESOURCE dependencies on MRP_FORM_QUERY
12.2.2