Results for “plan_id”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The QA_PLANS_API package is a public PL/SQL API in the Oracle E-Business Suite Quality Management module. It encapsulates the core business logic required to create, retrieve, and validate Quality plans (QA_PLANS) and to resolve the organizational context in which those plans operate. The package is declared with AUTHID CURRENT_USER, meaning its unqualified references to database objects are resolved in the schema of the calling user; in practice it is invoked through APPS synonyms and executed against the APPS schema. Its principal purpose is to shield callers — typically Oracle Forms, concurrent programs, and custom extensions — from the underlying table structures by exposing stable programmatic interfaces for querying plan identity, plan names, organization identifiers, and lookup-derived plan types. The package has been stable since at least the 2003 code baseline (header version 115.4) and remains documented in ETRM for EBS 12.1.1 and 12.2.2, where it is referenced by five other packages.
Key Procedures and Functions
- EXISTS_QA_PLANS — Boolean function that determines whether a Quality plan exists for a given plan identifier; used for pre-validation before further processing.
- FETCH_QA_PLANS — Procedure that retrieves the plan record into the package's cached state so that subsequent accessor functions return data for that plan.
- ORG_ID — Returns the organization identifier associated with a plan.
- PLAN_ID — Resolves a plan name to its numeric plan identifier.
- VALID_PLAN_ID — Boolean validity check confirming that a supplied plan identifier corresponds to an existing plan.
- PLAN_NAME — Returns the descriptive name of a plan given its identifier.
- GET_ORG_ID — Derives an organization identifier from an organization code, allowing callers to translate a user-facing code into the internal organization key.
- GET_PLAN_TYPE — Returns the plan type for a supplied lookup code. This is the function most commonly sought when searching "get_plan_type"; it maps a value from the plan-type lookup into its descriptive or classified form, enabling callers to validate or display plan type information without querying FND_LOOKUP_VALUES directly.
Tables Accessed
The package reads and writes the QA_PLANS table, the primary store of Quality plan definitions, which underlies the fetch, existence, validity, name, and identifier functions. FND_LOOKUP_VALUES is accessed to resolve lookup codes, notably for plan type and organization-related lookups used by GET_PLAN_TYPE. MTL_PARAMETERS supplies organization context so that plans can be scoped and validated against valid inventory organizations. PLITBLM is referenced in relation to plan line or item-level data, supporting the package's ability to associate plans with their component records. All accesses occur through APPS synonyms, consistent with the AUTHID CURRENT_USER declaration.
Usage Notes
QA_PLANS_API is typically invoked from the Quality Management forms and from concurrent programs that must validate or resolve plan attributes before processing. Custom code should call the public functions rather than querying QA_PLANS or FND_LOOKUP_VALUES directly, since the API centralizes lookup resolution and organization validation. Because the package is referenced by five other packages, changes to its behavior can cascade; callers should observe the documented signatures and treat the package as a stable integration point. GET_PLAN_TYPE in particular should be used whenever a plan-type lookup code must be converted to its meaningful value, ensuring consistent interpretation across forms, reports, and extensions in both 12.1.1 and 12.2.2 environments.
-
View to support Authoria Integration
APPS.HR_ATH_ELIGIBLE_ALL_PLANS_V·↳ BEN_ELIG_PER_ELCTBL_CHC·↳ BEN_PER_IN_LER·↳ BEN_PIL_ELCTBL_CHC_POPL·Explore PER module →
-
APPS.MSC_PUBLISH_ITEMS_LOV_V·↳ MSC_SUPPLIES·↳ MSC_SYSTEM_ITEMS·Explore MSC module →
-
Top level plans and collection IDs for electronic records
APPS.QA_ERES_INTEGRATION_PLANS_V·↳ QA_PC_RESULTS_RELATIONSHIP·↳ QA_PLANS·↳ QA_RESULTS·Explore QA module →
-
Top level plans and collection IDs for electronic records
APPS.QA_ERES_INTEGRATION_PLANS_V·↳ QA_PC_RESULTS_RELATIONSHIP·↳ QA_PLANS·↳ QA_RESULTS·Explore QA module →
-
View: GMP_PDR_BUYER_V 12.1.1
Unique list of buyers from msc_system_items in each organization for an instance and plan
APPS.GMP_PDR_BUYER_V·↳ MSC_SYSTEM_ITEMS·Explore GMP module →
-
List of all Organizations from plan along with additional entry for All as organization. When All is selected, Planning Detail Report will consider all the organizations defined in the plan.
APPS.GMP_PLAN_ORGANIZATION_V·↳ MFG_LOOKUPS·↳ MSC_PLAN_ORGANIZATIONS·Explore GMP module →
-
View to support Authoria Integration
APPS.HR_ATH_ELIGIBLE_ALL_PLANS_V·↳ BEN_ELIG_PER_ELCTBL_CHC·↳ BEN_PER_IN_LER·↳ BEN_PIL_ELCTBL_CHC_POPL·Explore PER module →
-
Maintains the history of statuses of collaborating organizations in a plan.
-
View: GMP_PDR_BUYER_V 12.2.2
Unique list of buyers from msc_system_items in each organization for an instance and plan
APPS.GMP_PDR_BUYER_V·↳ MSC_SYSTEM_ITEMS·Explore GMP module →
-
List of all Organizations from plan along with additional entry for All as organization. When All is selected, Planning Detail Report will consider all the organizations defined in the plan.
APPS.GMP_PLAN_ORGANIZATION_V·↳ MFG_LOOKUPS·↳ MSC_PLAN_ORGANIZATIONS·Explore GMP module →
-
Maintains the key performance indicators and thresholds for plans created on Oracle Supply Chain Hub.
-
This view is for getting all elements that form the criteria elements of current plan.
APPS.QA_PC_CRITERIA_COLUMNS_V·↳ QA_CHARS·↳ QA_PC_CRITERIA·↳ QA_PC_PLAN_RELATIONSHIP·Explore QA module →
-
APPS.MSC_PRODUCT_FAMILIES_TREE_V·↳ MSC_SYSTEM_ITEMS·Explore MSC module →
-
Maintains the key performance indicators and thresholds for plans created on Oracle Supply Chain Hub.
-
Maintains the history of statuses of collaborating organizations in a plan.
-
View: QA_PC_PLAN_COLUMNS_V 12.1.1
This view will be useful in getting all elements and values from current form so that these can be passed on to child plans.
APPS.QA_PC_PLAN_COLUMNS_V·↳ QA_CHARS·↳ QA_PLAN_CHARS·Explore QA module →
-
View: MSC_ACTIONS_TREE_V 12.1.1
This view shows all the exceptions in the tree
APPS.MSC_ACTIONS_TREE_V·↳ FND_GLOBAL·↳ MSC_GET_NAME·↳ MSC_ITEM_EXCEPTIONS·Explore MSC module →
-
View: MSC_PDR_PLAN_DETAILS_V 12.2.2
APPS.MSC_PDR_PLAN_DETAILS_V·↳ FND_GLOBAL·↳ MFG_LOOKUPS·↳ MSC_GET_NAME·Explore MSC module →
-
View: MSC_CATEGORIES_TREE_V 12.1.1
This view shows all the categories in the tree
APPS.MSC_CATEGORIES_TREE_V·↳ MSC_ITEM_CATEGORIES·↳ MSC_PLANS·Explore MSC module →
-
View: QA_PC_PLAN_COLUMNS_V 12.2.2
This view will be useful in getting all elements and values from current form so that these can be passed on to child plans.
APPS.QA_PC_PLAN_COLUMNS_V·↳ QA_CHARS·↳ QA_PLAN_CHARS·Explore QA module →
-
Table: MSC_LATE_ORDER_MV_TAB 12.1.1
KPI Summary Table
-
View: MSC_FLP_OP_V 12.1.1
APPS.MSC_FLP_OP_V·↳ MSC_GET_NAME·↳ MSC_RESOURCE_REQUIREMENTS·↳ MSC_ROUTINGS·Explore MSC module →
-
View: MSC_NET_PLANS_V 12.2.2
to display the plan LOV in the from plan of Plan Comparison Reports
APPS.MSC_NET_PLANS_V·↳ MSC_NEC_COMPARE_PLANS·↳ MSC_PLANS·Explore MSC module →
-
View: MSC_LATE_ORDERS_MV_V 12.2.2
APPS.MSC_LATE_ORDERS_MV_V·↳ MSC_DEMANDS·↳ MSC_EXCEPTION_DETAILS·Explore MSC module →
-
View: MSC_LINE_ITEMS_LOV_V 12.2.2
APPS.MSC_LINE_ITEMS_LOV_V·↳ MSC_DEPARTMENT_RESOURCES·↳ MSC_PROCESS_EFFECTIVITY·↳ MSC_ROUTINGS·Explore MSC module →
-
View: MSC_PDR_PLAN_DETAILS_V 12.1.1
APPS.MSC_PDR_PLAN_DETAILS_V·↳ FND_GLOBAL·↳ MFG_LOOKUPS·↳ MSC_GET_NAME·Explore MSC module →
-
Table: MSC_ATP_PLAN_SN 12.2.2
-
APPS.MSC_PRODUCT_FAMILIES_TREE_V·↳ MSC_SYSTEM_ITEMS·Explore MSC module →
-
View: MSC_CATEGORIES_TREE_V 12.2.2
This view shows all the categories in the tree
APPS.MSC_CATEGORIES_TREE_V·↳ MSC_ITEM_CATEGORIES·↳ MSC_PLANS·Explore MSC module →
-
Table: MSC_SINGLE_LVL_PEG 12.1.1
Single level supply to supply or supply to demand pegging. Currently used for DRP plans
-
Table: MSC_SINGLE_LVL_PEG 12.2.2
Single level supply to supply or supply to demand pegging. Currently used for DRP plans
-
Transaction table for Task-QA integration.
-
Transaction table for Task-QA integration.
-
this view shows all the project items in the tree
APPS.MSC_PROJECT_ITEMS_TREE_V·↳ MSC_DEMANDS·↳ MSC_PROJECTS·↳ MSC_SUPPLIES·Explore MSC module →
-
View: MSC_VMI_ITEM_V 12.1.1
APPS.MSC_VMI_ITEM_V·↳ MSC_ITEMS·↳ MSC_ITEM_SUPPLIERS·↳ MSC_SYSTEM_ITEMS·Explore MSC module →
-
APPS.FLM_MMM_SUM_RESOURCES_V·↳ BOM_RESOURCES·↳ FLM_MMM_OP_RESOURCES·↳ MFG_LOOKUPS·Explore FLM module →
-
Skip Lot Process Plans
-
Table: MSC_LATE_ORDER_MV_TAB 12.2.2
KPI Summary Table