Search Results required_date_to
Overview
APPS.OTFV_OVERBOOKED_RESOURCES is a read-only Oracle E-Business Suite view that identifies non-consumable supplied resources which have been double-booked within overlapping booking windows. It is part of the Oracle Time and Labor / ETRM (Enterprise Resource and Time Management) resource scheduling schema, and its name follows the OTFV (Oracle Time and Labor Foundation View) naming convention used for reporting and inquiry objects in the APPS schema.
The view answers a specific operational question: which resources carry two or more concurrent resource bookings? This is essential for capacity conflict detection, scheduling exception reporting, and downstream integration into resource management dashboards. Because the object is defined WITH READ ONLY, it is intended strictly for querying and cannot be used as a DML target. Note that the view does not expose a required_date_to column itself; however, its logic is driven entirely by the required_date_from and required_date_to columns on OTA_RESOURCE_BOOKINGS, which is why users searching on "required_date_to" typically encounter this object.
Underlying Base Objects
The view is defined over the following documented base objects:
- OTA_RESOURCE_BOOKINGS (SYNONYM) — The transaction table holding individual bookings, including required_date_from and required_date_to. Referenced three times in the definition (aliases trb, trb1, trb2) to perform self-joins and correlated subquery counts.
- OTA_SUPPLIABLE_RESOURCES (SYNONYM) — The resource entity table, aliased tsr, supplying supplied_resource_id and the consumable_flag and business_group_id attributes.
- OTA_SUPPLIABLE_RESOURCES_TL (SYNONYM) — The translation table, aliased tst, providing the resource display name filtered by USERENV('LANG').
- OTA_GENERAL (PACKAGE) — Supplies the business group context via ota_general.get_business_group_id, used to restrict rows to the current operating business group.
The synonyms resolve to the corresponding OTA_ base tables owned by the Oracle Time and Labor product schema; the view itself resides in APPS and is granted accordingly.
Key Columns
- RESOURCE_NAME — The translated name of the supplied resource, derived from OTA_SUPPLIABLE_RESOURCES_TL in the session language.
- RESOURCE_BOOKING_ID — The identifier of the conflicting booking in OTA_RESOURCE_BOOKINGS.
- SUPPLIED_RESOURCE_ID — The unique identifier of the overbooked resource.
Although required_date_from and required_date_to are not projected in the SELECT list, they are central to the WHERE predicate. The view returns a resource booking only when a correlated count of overlapping bookings equals or exceeds two, using the pattern TRUNC(trb.required_date_from) BETWEEN TRUNC(trb2.required_date_from) AND TRUNC(trb2.required_date_to) and the mirrored comparison for required_date_to. The UNION of two such blocks captures both directions of the overlap. Rows are restricted to consumable_flag = 'N' and to the active business group.
Common Use Cases and Queries
Typical uses include conflict exception reporting, pre-scheduling validation, and capacity analysis feeds to external planning tools.
List all overbooked resources in the current business group:
SELECT resource_name, supplied_resource_id FROM apps.otfv_overbooked_resources ORDER BY resource_name;
Identify the specific conflicting bookings for a given resource:
SELECT resource_name, resource_booking_id FROM apps.otfv_overbooked_resources WHERE supplied_resource_id = :p_resource_id;
Join back to OTA_RESOURCE_BOOKINGS to retrieve the actual required_date_from and required_date_to windows that caused the conflict:
SELECT o.resource_name, b.resource_booking_id, b.required_date_from, b.required_date_to FROM apps.otfv_overbooked_resources o, apps.ota_resource_bookings b WHERE o.resource_booking_id = b.resource_booking_id;
Because the view performs correlated subqueries with TRUNC on date columns, queries benefit from an index on supplied_resource_id and the date range columns of OTA_RESOURCE_BOOKINGS. Performance should be assessed before embedding the view in high-volume concurrent reporting.
-
VIEW: APPS.OTFV_OVERBOOKED_RESOURCES
12.1.1
-
View: OTFV_OVERBOOKED_RESOURCES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_OVERBOOKED_RESOURCES, object_name:OTFV_OVERBOOKED_RESOURCES, status:VALID, product: OTA - Learning Management , description: Business view template from which the flexfield view is generated. , implementation_dba_data: APPS.OTFV_OVERBOOKED_RESOURCES ,
-
VIEW: APPS.OTFV_OVERBOOKED_RESOURCES
12.2.2
-
VIEW: OTA.OTA_RESOURCE_BOOKINGS#
12.2.2
-
View: OTFV_OVERBOOKED_RESOURCES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_OVERBOOKED_RESOURCES, object_name:OTFV_OVERBOOKED_RESOURCES, status:VALID, product: OTA - Learning Management , description: Business view template from which the flexfield view is generated. , implementation_dba_data: APPS.OTFV_OVERBOOKED_RESOURCES ,
-
APPS.OTA_TRB_SHD SQL Statements
12.2.2
-
APPS.OTA_TRB_SHD SQL Statements
12.1.1
-
VIEW: OTA.OTA_RESOURCE_BOOKINGS#
12.2.2
owner:OTA, object_type:VIEW, object_name:OTA_RESOURCE_BOOKINGS#, status:VALID,
-
VIEW: APPS.OTA_RESOURCE_BOOKINGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTA_RESOURCE_BOOKINGS_V, object_name:OTA_RESOURCE_BOOKINGS_V, status:VALID,
-
VIEW: APPS.OTA_RESOURCE_BOOKINGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTA_RESOURCE_BOOKINGS_V, object_name:OTA_RESOURCE_BOOKINGS_V, status:VALID,
-
View: OTA_RESOURCE_BOOKINGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTA_RESOURCE_BOOKINGS_V, object_name:OTA_RESOURCE_BOOKINGS_V, status:VALID, product: OTA - Learning Management , description: View to list all resource bookings. , implementation_dba_data: APPS.OTA_RESOURCE_BOOKINGS_V ,
-
View: OTA_RESOURCE_BOOKINGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTA_RESOURCE_BOOKINGS_V, object_name:OTA_RESOURCE_BOOKINGS_V, status:VALID, product: OTA - Learning Management , description: View to list all resource bookings. , implementation_dba_data: APPS.OTA_RESOURCE_BOOKINGS_V ,
-
TABLE: OTA.OTA_RESOURCE_BOOKINGS
12.1.1
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_RESOURCE_BOOKINGS, object_name:OTA_RESOURCE_BOOKINGS, status:VALID,
-
TABLE: OTA.OTA_RESOURCE_BOOKINGS
12.2.2
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_RESOURCE_BOOKINGS, object_name:OTA_RESOURCE_BOOKINGS, status:VALID,
-
APPS.OTA_TRB_INS SQL Statements
12.2.2
-
APPS.OTA_TRB_INS SQL Statements
12.1.1
-
APPS.OTA_TRB_UPD SQL Statements
12.1.1
-
APPS.OTA_TRB_API_PROCEDURES SQL Statements
12.2.2
-
APPS.OTA_TSR_BUS SQL Statements
12.1.1
-
APPS.OTA_TRB_UPD SQL Statements
12.2.2
-
APPS.OTA_TRB_API_PROCEDURES SQL Statements
12.1.1
-
APPS.OTA_TSR_BUS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OTA_TRB_SHD
12.1.1
-
APPS.OTA_EVT_BUS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OTA_TRB_SHD
12.2.2
-
APPS.OTA_EVT_BUS SQL Statements
12.2.2
-
PACKAGE: APPS.OTA_TRB_SHD
12.2.2
-
PACKAGE: APPS.OTA_TRB_SHD
12.1.1
-
PACKAGE BODY: APPS.OTA_TRB_API_PROCEDURES
12.2.2
-
PACKAGE BODY: APPS.OTA_TRB_API_PROCEDURES
12.1.1
-
PACKAGE BODY: APPS.OTA_TRB_INS
12.2.2
-
PACKAGE BODY: APPS.OTA_TRB_INS
12.1.1
-
APPS.OTA_TRB_API_PROCEDURES dependencies on OTA_RESOURCE_BOOKINGS
12.1.1
-
APPS.OTA_TRB_API_PROCEDURES dependencies on OTA_RESOURCE_BOOKING
12.2.2
-
PACKAGE BODY: APPS.OTA_TRB_UPD
12.1.1
-
PACKAGE BODY: APPS.OTA_TRB_UPD
12.2.2
-
APPS.OTA_TRB_API_PROCEDURES dependencies on OTA_RESOURCE_BOOKINGS
12.2.2
-
APPS.OTA_TRB_API_PROCEDURES dependencies on OTA_RESOURCE_BOOKING
12.1.1
-
APPS.OTA_TSR_BUS dependencies on OTA_RESOURCE_BOOKINGS
12.1.1
-
APPS.OTA_TSR_BUS dependencies on OTA_RESOURCE_BOOKINGS
12.2.2
-
PACKAGE BODY: APPS.OTA_TSR_BUS
12.1.1
-
PACKAGE BODY: APPS.OTA_TSR_BUS
12.2.2
-
APPS.OTA_TSR_BUS dependencies on HR_API
12.2.2
-
APPS.OTA_TSR_BUS dependencies on HR_API
12.1.1
-
PACKAGE BODY: APPS.OTA_EVT_BUS
12.2.2
-
PACKAGE BODY: APPS.OTA_EVT_BUS
12.1.1
-
eTRM - OTA Tables and Views
12.2.2
description: Currently not used ,
-
eTRM - OTA Tables and Views
12.1.1
description: Currently not used ,
-
APPS.OTA_TRB_API_PROCEDURES dependencies on OTA_TIMEZONE_UTIL
12.2.2
-
APPS.OTA_TRB_API_PROCEDURES dependencies on OTA_TIMEZONE_UTIL
12.1.1