Search Results ota_resource_usages
Overview
The OTA_RESOURCE_USAGES table is a core data object within the Oracle E-Business Suite Learning Management (OTA) module. It functions as a junction table that defines the resource requirements for a specific training activity version. The table's primary role is to record whether an activity version necessitates a particular resource type (e.g., an instructor, a specific piece of equipment, or a room) or a specific, pre-defined resource instance. This linkage between an activity's logistical needs and the available resource pool is fundamental for scheduling, capacity planning, and ensuring the successful delivery of training events within the application.
Key Information Stored
The table stores the relationship between an activity version and its required resources. The most critical columns include the primary key, RESOURCE_USAGE_ID, which uniquely identifies each requirement record. The ACTIVITY_VERSION_ID column is a foreign key linking to the OTA_ACTIVITY_VERSIONS table, specifying which training activity has the requirement. The SUPPLIED_RESOURCE_ID is a foreign key to the OTA_SUPPLIABLE_RESOURCES table; this column can hold either a specific resource instance ID or be null to indicate a requirement for a resource type only. Additional columns typically track usage quantities, mandatory or optional status, and the specific role the resource plays in the activity.
Common Use Cases and Queries
A primary use case is generating reports to understand resource demands for upcoming training schedules. For instance, an administrator may query for all activity versions in a date range to summarize required instructor types. A common SQL pattern involves joining to the activity versions and resource tables:
- Identifying all resource requirements for a specific activity:
SELECT * FROM ota_resource_usages WHERE activity_version_id = <ID>; - Listing activities requiring a specific resource type:
SELECT av.activity_version_id, av.name FROM ota_resource_usages ru, ota_activity_versions av WHERE ru.activity_version_id = av.activity_version_id AND ru.supplied_resource_id IS NULL AND EXISTS (SELECT 1 FROM ota_suppliable_resources sr WHERE sr.resource_type = 'INSTRUCTOR' AND sr.supplied_resource_id = ru.supplied_resource_id);
This data is also critical for the application's internal scheduling engine when matching available resources to planned events.
Related Objects
The OTA_RESOURCE_USAGES table maintains defined foreign key relationships with two key tables in the OTA schema, as documented in the ETRM metadata:
- OTA_ACTIVITY_VERSIONS: The relationship is established via the column OTA_RESOURCE_USAGES.ACTIVITY_VERSION_ID. This links each resource requirement to a specific version of a training activity.
- OTA_SUPPLIABLE_RESOURCES: The relationship is established via the column OTA_RESOURCE_USAGES.SUPPLIED_RESOURCE_ID. This links the usage to either a specific resource (like a person or asset) or, by implication of a null value or type lookup, to a resource category defined within the suppliable resources table.
These relationships are essential for maintaining referential integrity and are fundamental for any joins performed in reporting or application logic to resolve activity and resource details.
-
Table: OTA_RESOURCE_USAGES
12.2.2
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_RESOURCE_USAGES, object_name:OTA_RESOURCE_USAGES, status:VALID, product: OTA - Learning Management , description: A resource usage holds holds the requirement of an activity version for a specific resource, or for a resource type. , implementation_dba_data: OTA.OTA_RESOURCE_USAGES ,
-
Table: OTA_RESOURCE_USAGES
12.1.1
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_RESOURCE_USAGES, object_name:OTA_RESOURCE_USAGES, status:VALID, product: OTA - Learning Management , description: A resource usage holds holds the requirement of an activity version for a specific resource, or for a resource type. , implementation_dba_data: OTA.OTA_RESOURCE_USAGES ,
-
APPS.OTA_RUD_DEL dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_TRB_API_PROCEDURES dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_TSR_BUS dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_RUD_BUS dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_TRB_API_PROCEDURES dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_REPROCESS_CLASSIC_UPGRADE dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_RUD_SHD dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_CLASSIC_UPGRADE dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_TAV_API_BUSINESS_RULES dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_RUD_INS dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_REPROCESS_CLASSIC_UPGRADE dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_RUD_BUS dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_RUD_UPD dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_RUD_DEL dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_TAV_API_BUSINESS_RULES dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_TSR_BUS dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_RUD_UPD dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_CLASSIC_UPGRADE dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_RUD_INS dependencies on OTA_RESOURCE_USAGES
12.2.2
-
APPS.OTA_RUD_SHD dependencies on OTA_RESOURCE_USAGES
12.1.1
-
APPS.OTA_RUD_INS dependencies on FND_MESSAGE
12.2.2
-
APPS.OTA_RUD_INS dependencies on FND_MESSAGE
12.1.1
-
APPS.OTA_REPROCESS_CLASSIC_UPGRADE dependencies on PER_COMPETENCE_ELEMENTS
12.1.1
-
APPS.OTA_REPROCESS_CLASSIC_UPGRADE dependencies on PER_COMPETENCE_ELEMENTS
12.2.2
-
APPS.OTA_RUD_BUS dependencies on PER_BUSINESS_GROUPS_PERF
12.2.2
-
APPS.OTA_RUD_SHD dependencies on HR_UTILITY
12.2.2
-
SYNONYM: APPS.OTA_RESOURCE_USAGES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OTA_RESOURCE_USAGES, status:VALID,
-
SYNONYM: APPS.OTA_RESOURCE_USAGES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OTA_RESOURCE_USAGES, status:VALID,
-
APPS.OTA_RUD_SHD dependencies on HR_UTILITY
12.1.1
-
APPS.OTA_RUD_BUS SQL Statements
12.1.1
-
APPS.OTA_RUD_SHD SQL Statements
12.2.2
-
APPS.OTA_RUD_DEL dependencies on HR_API
12.1.1
-
APPS.OTA_RUD_DEL dependencies on HR_API
12.2.2
-
APPS.OTA_RUD_BUS dependencies on PER_BUSINESS_GROUPS_PERF
12.1.1
-
APPS.OTA_RUD_BUS SQL Statements
12.2.2
-
APPS.OTA_RUD_SHD SQL Statements
12.1.1
-
VIEW: OTA.OTA_RESOURCE_USAGES#
12.2.2
owner:OTA, object_type:VIEW, object_name:OTA_RESOURCE_USAGES#, status:VALID,
-
VIEW: APPS.OTFV_MISSING_REQ_RESOURCES
12.1.1
-
VIEW: APPS.OTFV_MISSING_REQ_RESOURCES
12.2.2
-
TABLE: OTA.OTA_RESOURCE_USAGES
12.1.1
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_RESOURCE_USAGES, object_name:OTA_RESOURCE_USAGES, status:VALID,
-
TABLE: OTA.OTA_RESOURCE_USAGES
12.2.2
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_RESOURCE_USAGES, object_name:OTA_RESOURCE_USAGES, status:VALID,
-
View: OTFV_MISSING_REQ_RESOURCES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_MISSING_REQ_RESOURCES, object_name:OTFV_MISSING_REQ_RESOURCES, status:VALID, product: OTA - Learning Management , description: Business view template from which the flexfield view is generated. , implementation_dba_data: APPS.OTFV_MISSING_REQ_RESOURCES ,
-
VIEW: OTA.OTA_RESOURCE_USAGES#
12.2.2
-
View: OTFV_MISSING_REQ_RESOURCES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_MISSING_REQ_RESOURCES, object_name:OTFV_MISSING_REQ_RESOURCES, status:VALID, product: OTA - Learning Management , description: Business view template from which the flexfield view is generated. , implementation_dba_data: APPS.OTFV_MISSING_REQ_RESOURCES ,
-
APPS.OTA_REPROCESS_CLASSIC_UPGRADE dependencies on OTA_OFFERINGS
12.2.2
-
APPS.OTA_REPROCESS_CLASSIC_UPGRADE dependencies on OTA_OFFERINGS
12.1.1
-
APPS.OTA_RUD_INS dependencies on HR_API
12.2.2
-
VIEW: APPS.OTA_RESOURCE_USAGES_V
12.1.1