Search Results populate_results
Overview
The APPS.GMD_MASS_RESULTS_GRP package body is a Group-layer API belonging to the Oracle E-Business Suite Process Manufacturing (OPM) Quality module. Released under file GMDGMRSB.pls with a header revision of 120.2 (last modified 19-Jan-2006), the package provides the programmatic layer through which mass quality results are assembled, displayed, and consumed by OPM Quality forms and processes. Its stated purpose is to act as the group-layer API for the Mass Results entity — that is, a collection of quality results across multiple samples that share a common sampling sequence identifier (SEQ_ID).
Functionally, the package abstracts the complex retrieval logic required to gather result records, associated specifications, tests, and sample context, and materialize them into a Global Temporary Table for downstream display. This design is typical of OPM Quality group APIs, which separate data population from UI rendering so that forms and concurrent programs can work against a consistent, query-optimized staging set.
Key Procedures and Functions
- POPULATE_RESULTS — The principal procedure, and the object most commonly associated with the search term "populate_results." It accepts a
SEQ_IDas input, extracts all results and related data for the sample_ids associated with that sequence, and populates theGMD_MASS_RESULTS_GTGlobal Temporary Table. On successful completion the OUT parameterx_return_statusis set to 'S'; otherwise an appropriate error message is placed on the error stack and an error status is returned. Documented history shows the logic was refined to exclude archive and reserve samples (08-Jan-2004), to addparent_lot_numberand renametest_uomtotest_qty_uom(22-Sep-2005), and to split a single INSERT into two INSERT statements to reduce shared-pool pressure (17-Jan-2006, Bug #4913637). - DUMP_DATA_POINTS — A diagnostic/debugging procedure used to output the contents of the populated data points, supporting developer troubleshooting of the mass results population logic. It is not part of the primary business flow.
Tables Accessed
The package reads from the core OPM Quality specification and results tables and writes to the temporary staging table:
GMD_MASS_RESULTS_GT— the Global Temporary Table populated by POPULATE_RESULTS and consumed by the calling UI.GMD_RESULTSandGMD_SPEC_RESULTS— quality result values and specification-level results.GMD_SAMPLES,GMD_MASS_SAMPLES, andGMD_SAMPLING_EVENTS— sample, mass-sample association, and sampling event context.GMD_QC_TESTS,GMD_SPEC_TESTS_B, andGMD_TEST_METHODS— test definitions and their associated methods.GMD_EVENT_SPEC_DISPandGMD_SAMPLE_SPEC_DISP— event- and sample-level specification display views.
Usage Notes
This group package is invoked internally by OPM Quality forms and by concurrent programs that render or process mass results for a given sampling sequence. The typical pattern is that a caller supplies the SEQ_ID, calls POPULATE_RESULTS, checks x_return_status, and then queries GMD_MASS_RESULTS_GT for presentation. Because the table is a Global Temporary Table, its contents are session-scoped and must be re-populated per session or per sequence. Custom code should not bypass the API by directly inserting into the GT table. The package is classified as a Group (GRP) API and is not referenced by other packages, so it is intended as an entry point rather than a shared utility layer. Debug output is gated by the AFLOG_ENABLED profile option, which the package reads into its l_debug flag.
-
PACKAGE BODY: APPS.GMD_MASS_RESULTS_GRP
12.1.1
-
PACKAGE: APPS.CN_SCA_TRX_PROC_PVT
12.1.1
-
PACKAGE BODY: APPS.GMD_MASS_RESULTS_GRP
12.2.2
-
PACKAGE: APPS.GMD_MASS_RESULTS_GRP
12.1.1
-
PACKAGE: APPS.GMD_MASS_RESULTS_GRP
12.2.2
-
PACKAGE: APPS.CN_SCA_TRX_PROC_PVT
12.2.2
-
PACKAGE: APPS.GMF_GET_TRANSFER_PRICE_PUB
12.1.1
-
PACKAGE: APPS.GMF_GET_TRANSFER_PRICE_PUB
12.2.2
-
PACKAGE: APPS.MTL_QP_PRICE
12.1.1
-
PACKAGE: APPS.MTL_QP_PRICE
12.2.2
-
PACKAGE BODY: APPS.GMF_GET_TRANSFER_PRICE_PUB
12.1.1
-
PACKAGE: APPS.OE_OE_AVAILABILITY
12.1.1
-
PACKAGE: APPS.OE_OE_AVAILABILITY
12.2.2
-
PACKAGE BODY: APPS.GMF_GET_TRANSFER_PRICE_PUB
12.2.2
-
PACKAGE BODY: APPS.MTL_QP_PRICE
12.2.2
-
PACKAGE BODY: APPS.MTL_QP_PRICE
12.1.1
-
APPS.GMD_MASS_RESULTS_GRP dependencies on FND_API
12.2.2
-
APPS.GMD_MASS_RESULTS_GRP dependencies on FND_API
12.1.1
-
APPS.GMD_MASS_RESULTS_GRP dependencies on GMD_DEBUG
12.1.1
-
APPS.GMD_MASS_RESULTS_GRP dependencies on GMD_DEBUG
12.2.2
-
APPS.GMD_MASS_RESULTS_GRP dependencies on GMD_API_PUB
12.2.2
-
APPS.GMD_MASS_RESULTS_GRP dependencies on GMD_API_PUB
12.1.1
-
APPS.GMD_COA_DATA_OM_NEW dependencies on GMD_COA_DETAILS
12.1.1
-
APPS.OE_OE_AVAILABILITY dependencies on QP_PREQ_GRP
12.1.1
-
APPS.OE_OE_AVAILABILITY dependencies on QP_PREQ_GRP
12.2.2
-
APPS.GMD_MASS_RESULTS_GRP dependencies on GMD_MASS_RESULTS_GRP
12.2.2
-
APPS.GMD_MASS_RESULTS_GRP dependencies on GMD_MASS_RESULTS_GRP
12.1.1
-
APPS.GMD_COA_DATA_OM_NEW dependencies on GMD_COA_DETAILS
12.2.2
-
APPS.MTL_QP_PRICE dependencies on FND_PROFILE
12.1.1
-
APPS.MTL_QP_PRICE dependencies on FND_PROFILE
12.2.2
-
APPS.CN_SCA_TRX_PROC_PVT dependencies on CN_MESSAGE_PKG
12.1.1
-
APPS.CN_SCA_TRX_PROC_PVT dependencies on CN_MESSAGE_PKG
12.2.2
-
PACKAGE BODY: APPS.CN_SCA_TRX_PROC_PVT
12.1.1
-
APPS.OE_OE_PRICING_AVAILABILITY dependencies on OE_OE_PRICING_AVAILABILITY
12.2.2
-
APPS.OE_OE_PRICING_AVAILABILITY dependencies on OE_OE_PRICING_AVAILABILITY
12.1.1
-
PACKAGE BODY: APPS.CN_SCA_TRX_PROC_PVT
12.2.2
-
APPS.MTL_QP_PRICE dependencies on MTL_QP_PRICE
12.1.1
-
APPS.OE_OE_AVAILABILITY dependencies on FND_API
12.1.1
-
APPS.OE_OE_AVAILABILITY dependencies on FND_API
12.2.2
-
APPS.MTL_QP_PRICE dependencies on MTL_QP_PRICE
12.2.2
-
APPS.GMF_GET_TRANSFER_PRICE_PUB dependencies on FND_API
12.2.2
-
APPS.GMF_GET_TRANSFER_PRICE_PUB dependencies on FND_API
12.1.1
-
PACKAGE BODY: APPS.OE_OE_AVAILABILITY
12.1.1
-
PACKAGE BODY: APPS.OE_OE_AVAILABILITY
12.2.2
-
APPS.GMF_GET_TRANSFER_PRICE_PUB dependencies on GMF_GET_TRANSFER_PRICE_PUB
12.2.2
-
APPS.GMF_GET_TRANSFER_PRICE_PUB dependencies on GMF_GET_TRANSFER_PRICE_PUB
12.1.1
-
PACKAGE BODY: APPS.GMD_COA_DATA_OM_NEW
12.1.1
-
PACKAGE: APPS.OE_OE_PRICING_AVAILABILITY
12.1.1
-
PACKAGE: APPS.OE_OE_PRICING_AVAILABILITY
12.2.2
-
APPS.OE_OE_AVAILABILITY dependencies on QP_PREQ_GRP
12.1.1