Search Results working_day
Overview
APPS.MSD_TIME_V is a reporting view in Oracle E-Business Suite that exposes the contents of the MSD_TIME table in a stable, presentation-ready form. It belongs to the ETRM (Enterprise Territory and Resource Management) schema owned by APPS. The view flattens the hierarchical calendar structure into a single denormalized row per day, carrying the full context of the year, quarter, month, and week that contains that day. Because it is defined over the MSD_TIME synonym, it presents the identical time-dimension data used by ETRM scheduling and territory engines, but with a deterministic ordering and a null-handling refinement on the working-day indicator.
The searched term "working_day" maps directly to the view's WORKING_DAY column. The view re-expresses this column through NVL(WORKING_DAY, 'YES'), so consumers always receive an explicit working-day value rather than a null. This makes the view the preferred read interface for any logic that must decide whether a given day is a business day.
Underlying Base Objects
The view is defined exclusively over MSD_TIME, documented as a SYNONYM. Its text is an inline view that selects from MSD_TIME, ordering by CALENDAR_CODE and DAY, and then projects an outer query that adds ROWNUM and the NVL-normalized working-day value. The two-tier structure is significant: the inner query imposes ordering, and the outer query assigns a sequential row number, giving each day a stable ordinal within its calendar. No other base objects are referenced in the documented definition, so the view inherits MSD_TIME's grain — one row per calendar day per calendar code.
Key Columns
- CALENDAR_TYPE / CALENDAR_CODE — Identify which calendar the row belongs to; the ordering key of the underlying query.
- ROWNUM — Sequence number generated by the outer query, unique per row within the ordered result.
- YEAR / YEAR_DESCRIPTION / YEAR_START_DATE / YEAR_END_DATE — Year-level attributes and boundaries.
- QUARTER / QUARTER_DESCRIPTION / QUARTER_START_DATE / QUARTER_END_DATE — Quarter-level attributes.
- MONTH / MONTH_DESCRIPTION / MONTH_START_DATE / MONTH_END_DATE — Month-level attributes.
- WEEK / WEEK_DESCRIPTION / WEEK_START_DATE / WEEK_END_DATE — Week-level attributes.
- DAY / DAY_DESCRIPTION — The day itself, the finest grain in the view.
- WORKING_DAY — Indicator of whether the day is a working day; wrapped with NVL so the effective value defaults to "YES" when the base column is null.
Common Use Cases and Queries
The view is typically used to drive date filtering, working-day calculations, and calendar-key lookups when joining ETRM fact data to a time dimension. A common pattern retrieves only working days within a month boundaries:
- Filtering business days:
SELECT DAY, DAY_DESCRIPTION FROM APPS.MSD_TIME_V WHERE CALENDAR_CODE = :code AND WORKING_DAY = 'YES' AND DAY BETWEEN :start AND :end ORDER BY DAY; - Resolving a day to its month and quarter keys for aggregation: select MONTH, QUARTER, YEAR for a given DAY and calendar.
- Populating a time-dimension lookup in downstream reporting, using ROWNUM to generate surrogate sequence values.
- Cross-checking calendar coverage, e.g. counting days per WORKING_DAY flag per month.
All practical use of this view should filter by CALENDAR_CODE to avoid mixing rows across calendars, since the inner query orders by calendar code and day but does not restrict the result set.
-
VIEW: APPS.MSD_TIME_V
12.1.1
-
VIEW: MSD.MSD_TIME#
12.2.2
-
VIEW: MSD.MSD_TIME_LB#
12.2.2
-
VIEW: APPS.MSD_TIME_LB_V
12.1.1
-
VIEW: APPS.MSD_TIME_LB_V
12.2.2
-
View: MSD_TIME_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_TIME_V, object_name:MSD_TIME_V, status:VALID, product: MSD - Demand Planning , description: This view gives the definition for the time hierarchies for all the time hierarchies - Gregorian, Manufacturing and fiscal hierarchies. , implementation_dba_data: APPS.MSD_TIME_V ,
-
VIEW: APPS.MSD_TIME_V
12.2.2
-
View: MSD_TIME_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_TIME_V, object_name:MSD_TIME_V, status:VALID, product: MSD - Demand Planning , description: This view gives the definition for the time hierarchies for all the time hierarchies - Gregorian, Manufacturing and fiscal hierarchies. , implementation_dba_data: APPS.MSD_TIME_V ,
-
VIEW: APPS.MSD_SR_TIME_LB_V
12.1.1
-
VIEW: APPS.MSD_SR_TIME_LB_V
12.2.2
-
VIEW: APPS.MSD_TIME_LB_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_TIME_LB_V, status:VALID,
-
TABLE: MSD.MSD_TIME_LB
12.2.2
owner:MSD, object_type:TABLE, object_name:MSD_TIME_LB, status:VALID,
-
VIEW: MSD.MSD_TIME_LB#
12.2.2
owner:MSD, object_type:VIEW, object_name:MSD_TIME_LB#, status:VALID,
-
VIEW: APPS.MSD_SR_TIME_LB_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_SR_TIME_LB_V, status:VALID,
-
VIEW: MSD.MSD_TIME#
12.2.2
owner:MSD, object_type:VIEW, object_name:MSD_TIME#, status:VALID,
-
VIEW: APPS.MSD_TIME_LB_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_TIME_LB_V, status:VALID,
-
TABLE: MSD.MSD_TIME_LB
12.1.1
owner:MSD, object_type:TABLE, object_name:MSD_TIME_LB, status:VALID,
-
VIEW: APPS.MSD_TIME_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_TIME_V, object_name:MSD_TIME_V, status:VALID,
-
VIEW: APPS.MSD_SR_TIME_LB_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_SR_TIME_LB_V, status:VALID,
-
VIEW: APPS.MSD_TIME_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_TIME_V, object_name:MSD_TIME_V, status:VALID,
-
TABLE: MSD.MSD_TIME
12.1.1
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_TIME, object_name:MSD_TIME, status:VALID,
-
TABLE: MSD.MSD_TIME
12.2.2
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_TIME, object_name:MSD_TIME, status:VALID,
-
APPS.MSD_TRANSLATE_TIME_DATA SQL Statements
12.2.2
-
APPS.MSD_TRANSLATE_TIME_DATA SQL Statements
12.1.1
-
APPS.MSD_LIABILITY SQL Statements
12.1.1
-
APPS.MSD_LIABILITY SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSD_TRANSLATE_TIME_DATA
12.2.2
-
PACKAGE BODY: APPS.MSD_TRANSLATE_TIME_DATA
12.1.1
-
APPS.MSD_LIABILITY dependencies on MSD_SR_TIME_LB_V
12.2.2
-
APPS.MSD_LIABILITY dependencies on MSD_SR_TIME_LB_V
12.1.1
-
APPS.MSD_LIABILITY dependencies on MSD_DP_CALENDARS
12.1.1
-
APPS.MSD_LIABILITY dependencies on MSD_DP_CALENDARS
12.2.2
-
APPS.MSD_TRANSLATE_TIME_DATA dependencies on FND_GLOBAL
12.1.1
-
APPS.MSD_TRANSLATE_TIME_DATA dependencies on FND_GLOBAL
12.2.2
-
APPS.PA_SCHEDULE_PVT SQL Statements
12.1.1
-
APPS.PA_SCHEDULE_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSD_LIABILITY
12.2.2
-
PACKAGE BODY: APPS.MSD_LIABILITY
12.1.1
-
PACKAGE BODY: APPS.PA_SCHEDULE_PVT
12.1.1
-
PACKAGE BODY: APPS.PA_SCHEDULE_PVT
12.2.2
-
APPS.PA_SCHEDULE_PVT dependencies on PA_SCHEDULE_PVT
12.1.1
-
APPS.PA_SCHEDULE_PVT dependencies on PA_SCHEDULE_PVT
12.2.2
-
eTRM - MSD Tables and Views
12.2.2
description: This is the fact table that stores the UOM conversions information. ,
-
eTRM - MSD Tables and Views
12.1.1
description: This is the fact table that stores the UOM conversions information. ,