Search Results msc_cal_week_start_dates
Overview
MSC_CAL_WEEK_START_DATES is a table in the MSC schema owned by Oracle Advanced Supply Chain Planning (ASCP). It stores the weekly start dates for workday calendars used by the planning engine. In Oracle EBS 12.1.1 and 12.2.2, ASCP relies on calendar definitions to translate planning buckets, lead times, and capacity windows into discrete workdays. This table supplies the anchor points — one row per calendar, source instance, exception set, and week — that the planning engine uses to roll forward and backward through time when building supply and demand plans.
Because ASCP may collect data from multiple source instances (for example, multiple EBS instances or a mix of EBS and legacy sources), the table is keyed by SR_INSTANCE_ID in addition to the calendar identifier. EXCEPTION_SET_ID allows alternative calendar variants — typically holiday or shutdown exception sets — to define their own weekly boundaries without disturbing the base calendar. The heuristic Data Vault classification for this object is standalone, meaning it is modeled as an independent reference table with no enforced foreign-key links to other tables in the documented FK structure. In a Data Vault model it would most naturally be treated as a reference or lookup hub keyed on the calendar business key.
Key Information Stored
The table contains 17 documented columns. The primary key, MSC_CAL_WEEK_START_DATES_PK, is a composite business key rather than a generated surrogate: (CALENDAR_CODE, SR_INSTANCE_ID, EXCEPTION_SET_ID, WEEK_START_DATE). A unique index, MSC_CAL_WEEK_START_DATES_U1, mirrors the same column set in a slightly different order (SR_INSTANCE_ID, CALENDAR_CODE, EXCEPTION_SET_ID, WEEK_START_DATE), confirming that no surrogate identifier is used and that all four columns together constitute the row’s business identity. The most important columns are:
- CALENDAR_CODE — Identifies the workday calendar to which the week belongs; a core planning reference.
- SR_INSTANCE_ID — Source instance identifier, allowing calendars from multiple source systems to coexist.
- EXCEPTION_SET_ID — Distinguishes the base calendar from a specific exception set (for example, holidays).
- WEEK_START_DATE — The start date of the week; the anchor for bucket calculations.
- NEXT_DATE and PRIOR_DATE — Adjacent week boundaries, enabling fast forward and backward traversal without re-querying the calendar.
- SEQ_NUM — Ordinal position of the week, useful for deterministic ordering and range scans.
- REFRESH_NUMBER — Identifies the collection refresh cycle that produced the row, supporting incremental planning runs.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN — Standard EBS audit columns.
- REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE — Concurrent program context that generated the row.
Common Use Cases and Queries
The table is used primarily by ASCP internal logic and by planners or developers building custom calendar-aware reports. Typical scenarios include verifying that a calendar was collected for a given instance, inspecting the sequence of week start dates, and joining week boundaries to planned orders or demand to bucket activity by week.
To retrieve the weeks for a calendar:
SELECT week_start_date, next_date, prior_date, seq_num FROM msc.msc_cal_week_start_dates WHERE calendar_code = :p_calendar AND sr_instance_id = :p_instance ORDER BY week_start_date;
To find the week containing a given transaction date, a range predicate on week_start_date and next_date is the standard pattern. To locate the most recently collected data, filter on REFRESH_NUMBER or order by CREATION_DATE. To audit which concurrent program populated a calendar, group by PROGRAM_ID and PROGRAM_APPLICATION_ID.
Related Objects
The documented FK structure marks this object as standalone, so joins are logical rather than enforced. The most significant related objects are:
- MSC_CALENDARS / MSC_WORKDAY_CALENDARS — definition of the calendar referenced by CALENDAR_CODE and SR_INSTANCE_ID.
- MSC_CAL_EXCEPTIONS — exception set definitions keyed by EXCEPTION_SET_ID.
- MSC_SR_INSTANCES — source instance definitions matching SR_INSTANCE_ID.
- MSC_SYSTEM_ITEMS / MSC_ITEM_LEAD_TIMES — planning attributes whose date arithmetic depends on workday calendars.
- MSC_SUPPLIES and MSC_DEMANDS — transaction tables bucketed using week start dates.
- FND_CONCURRENT_PROGRAMS / FND_CONCURRENT_REQUESTS — programs and request IDs recorded in the audit columns.
- MSC_CAL_WEEK_START_DATES_U1 and MSC_CAL_WEEK_START_DATES_PK — indexes supporting lookup by calendar, instance, exception set, and week.
-
Table: MSC_CAL_WEEK_START_DATES
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_CAL_WEEK_START_DATES, object_name:MSC_CAL_WEEK_START_DATES, status:VALID, product: MSC - Advanced Supply Chain Planning , description: This table stores the workday calendar weekly start dates , implementation_dba_data: MSC.MSC_CAL_WEEK_START_DATES ,
-
Table: MSC_CAL_WEEK_START_DATES
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_CAL_WEEK_START_DATES, object_name:MSC_CAL_WEEK_START_DATES, status:VALID, product: MSC - Advanced Supply Chain Planning , description: This table stores the workday calendar weekly start dates , implementation_dba_data: MSC.MSC_CAL_WEEK_START_DATES ,
-
VIEW: MSC.MSC_CAL_WEEK_START_DATES#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_CAL_WEEK_START_DATES#, status:VALID,
-
VIEW: MSC.MSC_CAL_WEEK_START_DATES#
12.2.2
-
SYNONYM: APPS.MSC_CAL_WEEK_START_DATES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_CAL_WEEK_START_DATES, status:VALID,
-
SYNONYM: APPS.MSC_CAL_WEEK_START_DATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_CAL_WEEK_START_DATES, status:VALID,
-
MATERIALIZED VIEW: APPS.MSC_PHUB_MFG_CAL_WEEKS_MV
12.1.1
owner:APPS, object_type:MATERIALIZED VIEW, object_name:MSC_PHUB_MFG_CAL_WEEKS_MV, status:VALID,
-
APPS.MSC_CALENDAR SQL Statements
12.2.2
-
MATERIALIZED VIEW: APPS.MSC_PHUB_MFG_CAL_DATES_MV
12.1.1
owner:APPS, object_type:MATERIALIZED VIEW, object_name:MSC_PHUB_MFG_CAL_DATES_MV, status:VALID,
-
APPS.MSC_CALENDAR SQL Statements
12.1.1
-
Table: MSC_ST_CAL_WEEK_START_DATES
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_CAL_WEEK_START_DATES, object_name:MSC_ST_CAL_WEEK_START_DATES, status:VALID, product: MSC - Advanced Supply Chain Planning , description: The staging table used by the collection program to validate and process data for table MSC_CAL_WEEK_START_DATES. , implementation_dba_data: MSC.MSC_ST_CAL_WEEK_START_DATES ,
-
TABLE: MSC.MSC_CAL_WEEK_START_DATES
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_CAL_WEEK_START_DATES, object_name:MSC_CAL_WEEK_START_DATES, status:VALID,
-
Table: MSC_ST_CAL_WEEK_START_DATES
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_CAL_WEEK_START_DATES, object_name:MSC_ST_CAL_WEEK_START_DATES, status:VALID, product: MSC - Advanced Supply Chain Planning , description: The staging table used by the collection program to validate and process data for table MSC_CAL_WEEK_START_DATES. , implementation_dba_data: MSC.MSC_ST_CAL_WEEK_START_DATES ,
-
TABLE: MSC.MSC_CAL_WEEK_START_DATES
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_CAL_WEEK_START_DATES, object_name:MSC_CAL_WEEK_START_DATES, status:VALID,
-
MATERIALIZED VIEW: APPS.MSC_PHUB_MFG_CAL_WEEKS_MV
12.1.1
-
PACKAGE BODY: APPS.MSC_HUB_CALENDAR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_HUB_CALENDAR, status:VALID,
-
PACKAGE BODY: APPS.MSC_VERTICAL_PLAN_SC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_VERTICAL_PLAN_SC, status:VALID,
-
PACKAGE BODY: APPS.MSC_HUB_CALENDAR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_HUB_CALENDAR, status:VALID,
-
APPS.MSC_HUB_CALENDAR SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_EXCHANGE_BUCKETING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_EXCHANGE_BUCKETING, status:VALID,
-
PACKAGE BODY: APPS.MSC_SDA_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SDA_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_VERTICAL_PLAN_SC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_VERTICAL_PLAN_SC, status:VALID,
-
PACKAGE BODY: APPS.MSC_HP_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_HP_UTIL, status:VALID,
-
VIEW: APPS.MSD_SR_TIME_LB_V
12.1.1
-
VIEW: APPS.MSD_SR_TIME_LB_V
12.2.2
-
APPS.MSC_HUB_CALENDAR SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MSC_X_HZ_UPDATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_HZ_UPDATE, status:VALID,
-
PACKAGE BODY: APPS.MSC_CALENDAR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CALENDAR, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_HZ_PLAN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_HZ_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_HZ_UPDATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_HZ_UPDATE, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_HZ_PLAN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_HZ_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSC_SDA_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SDA_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_CALENDAR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CALENDAR, status:VALID,
-
PACKAGE BODY: APPS.MSC_EXCHANGE_BUCKETING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_EXCHANGE_BUCKETING, status:VALID,
-
PACKAGE BODY: APPS.MSC_SNAPSHOT_PK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SNAPSHOT_PK, status:VALID,
-
MATERIALIZED VIEW: APPS.MSC_PHUB_MFG_CAL_DATES_MV
12.1.1
-
PACKAGE BODY: APPS.GMP_PLNG_DTL_REPORT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMP_PLNG_DTL_REPORT_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSD_DEM_COMMON_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DEM_COMMON_UTILITIES, status:VALID,
-
PACKAGE BODY: APPS.MSC_SNAPSHOT_PK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SNAPSHOT_PK, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_RECEIVE_CAPACITY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_RECEIVE_CAPACITY_PKG, status:VALID,
-
Lookup Type: MSC_ODS_TABLE
12.1.1
product: MSC - Advanced Supply Chain Planning , meaning: MSC_ODS_TABLE , description: List of ODS tables used by Collections ,
-
PACKAGE BODY: APPS.MSC_X_RECEIVE_CAPACITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_RECEIVE_CAPACITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSD_DEM_COMMON_UTILITIES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DEM_COMMON_UTILITIES, status:VALID,
-
PACKAGE BODY: APPS.MSC_SCH_WB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SCH_WB, status:VALID,
-
VIEW: APPS.MSC_PHUB_DATES_MV#
12.2.2
-
PACKAGE BODY: APPS.MSC_SCH_WB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SCH_WB, status:VALID,
-
Lookup Type: MSC_ODS_TABLE
12.2.2
product: MSC - Advanced Supply Chain Planning , meaning: MSC_ODS_TABLE , description: List of ODS tables used by Collections ,
-
MATERIALIZED VIEW: APPS.MSC_PHUB_DATES_MV
12.2.2
owner:APPS, object_type:MATERIALIZED VIEW, object_name:MSC_PHUB_DATES_MV, status:VALID,
-
MATERIALIZED VIEW: APPS.MSC_PHUB_DATES_MV
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_SETUP_ODS_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_SETUP_ODS_LOAD, status:VALID,