Results for “mrp_ap_cal_year_start_dates_v”
8 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The view MRP_AP_CAL_YEAR_START_DATES_V belongs to the Oracle Master Scheduling/MRP (MRP) product family and is defined as a reporting and integration construct within Oracle E-Business Suite 12.1.1 and 12.2.2. Its purpose is to expose the year-start dates associated with a given manufacturing calendar and its calendar exception set. Rather than requiring consumers to reconstruct the relationship between calendar codes, exception set identifiers, and the corresponding year start date, the view presents this information in a single denormalized result set.
In the context of a user searching for calendar_exception_set_id, this view is relevant because the underlying CALENDAR_EXCEPTION_SET_ID column is used internally to join calendar parameters to the year start date source. It serves as an intermediate object that consolidates calendar and parameter snapshot data, making it useful for reporting, validation, and troubleshooting of calendar-based scheduling logic within the MRP module.
Underlying Base Objects
The view text indicates that it is constructed from two snapshot sources: MRP_AP_CYR_SDATES_SN and a derived inline query built from MRP_AP_MTL_PARAS_SN and MRP_AP_MRP_PARAS_SN. The documented ETRM metadata states that no referenced base objects are additionally documented, so the base tables are inferred directly from the view definition.
The primary projection X is drawn from MRP_AP_CYR_SDATES_SN, exposing CALENDAR_CODE, EXCEPTION_SET_ID, and YEAR_START_DATE. The derived subquery Y joins MRP_AP_MTL_PARAS_SN and MRP_AP_MRP_PARAS_SN on ORGANIZATION_ID and aggregates the maximum row numbers (RN) per CALENDAR_CODE and CALENDAR_EXCEPTION_SET_ID. The outer query then joins X to Y by matching both CALENDAR_CODE and EXCEPTION_SET_ID.
Key Columns
- CALENDAR_CODE — Identifies the manufacturing calendar. This is the primary join key linking the year-start snapshot to parameter information.
- EXCEPTION_SET_ID — The exception set identifier associated with the calendar year-start record. It corresponds to the
CALENDAR_EXCEPTION_SET_IDused in the derived parameter subquery. - YEAR_START_DATE — The start date of the calendar year for the referenced calendar and exception set combination.
- RN1, RN2, RN3 — Row-number indicators carried through from the source snapshot records (
MAX(MP.RN),MAX(MTLP.RN), andX.RNrespectively), used to identify the most current snapshot row per calendar and exception set.
Common Use Cases and Queries
A frequent requirement is to confirm which year start date applies to a specific calendar and its exception set. The following query demonstrates this retrieval pattern:
SELECT CALENDAR_CODE, EXCEPTION_SET_ID, YEAR_START_DATE FROM MRP_AP_CAL_YEAR_START_DATES_V WHERE CALENDAR_CODE = :p_calendar_code;SELECT CALENDAR_CODE, EXCEPTION_SET_ID, YEAR_START_DATE FROM MRP_AP_CAL_YEAR_START_DATES_V WHERE EXCEPTION_SET_ID = :p_calendar_exception_set_id;SELECT v.CALENDAR_CODE, v.EXCEPTION_SET_ID, v.YEAR_START_DATE FROM MRP_AP_CAL_YEAR_START_DATES_V v WHERE v.YEAR_START_DATE BETWEEN :p_start AND :p_end;
These patterns support calendar validation during MRP planning runs, reconciliation of year start dates across multiple organizations, and diagnostic queries that trace scheduling behavior back to the underlying calendar definition. Because the view is not implemented as a stored database object in every environment, its availability may depend on whether the MRP snapshot objects are populated.
-
Not implemented in this database·Explore MRP module →
-
Not implemented in this database·Explore MRP module →
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 FND Design Data 12.2.2