Results for “gmd_mass_results_grp”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
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.
-
SYNONYM: APPS.GMD_QC_TESTS 12.1.1
-
SYNONYM: APPS.GMD_RESULTS 12.2.2
-
SYNONYM: APPS.GMD_RESULTS 12.1.1
-
SYNONYM: APPS.GMD_QC_TESTS 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
SYNONYM: APPS.GMD_SAMPLES 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
SYNONYM: APPS.GMD_SAMPLES 12.2.2
-
PACKAGE: APPS.GMD_DEBUG 12.2.2
-
PACKAGE: APPS.GMD_DEBUG 12.1.1
-
PACKAGE: APPS.FND_PROFILE 12.2.2
-
PACKAGE: APPS.FND_PROFILE 12.1.1
-
PACKAGE: APPS.FND_GLOBAL 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
PACKAGE: APPS.FND_GLOBAL 12.1.1
-
12.1.1 DBA Data 12.1.1