Search Results ahl_space_unavabl_v
Overview
The AHL_SPACE_UNAVABL_V view is an Oracle E-Business Suite application view owned by the APPS schema and defined within the AHL – Complex Maintenance Repair and Overhaul product family. Its purpose, as documented in the ETRM metadata, is to store the query that relates to space restriction information. In practical terms, the view exposes a denormalized, report-ready listing of maintenance spaces together with the specific unavailability (blocked or restricted) periods recorded against them.
The view joins space definitions to their unavailability records, resolves department and organization names from Human Resources and Bills of Material tables, and decodes two lookup-driven attributes into their display meanings. This makes it suitable for operational reporting, availability dashboards, and integration extracts where consumers need to know when a space cannot be used and what category of space it is.
The column STATUS_MEAN — the term frequently searched alongside this object — is the translated meaning of the space status lookup, resolved through FND_LOOKUP_VALUES_VL using the lookup type AHL_LTP_SPACE_STATUS. Rather than reporting the raw stored code, the view delivers a user-readable status label, which is a principal reason the object is queried directly by reporting tools instead of through the base tables.
Underlying Base Objects
The view is defined over five documented base objects, combined through both inner and outer joins:
- AHL_SPACES_VL (VIEW) — supplies the space definition, including space identifier, name, category, owning department and organization, and the inactive flag used as the status code.
- AHL_SPACE_UNAVAILABLE_VL (VIEW) — supplies the unavailability record, including the unavailability identifier, start and end dates, and description.
- BOM_DEPARTMENTS (SYNONYM) — supplies the department description for the owning department.
- HR_ALL_ORGANIZATION_UNITS (SYNONYM) — supplies the organization name.
- FND_LOOKUP_VALUES_VL (VIEW) — referenced twice, once for the space category lookup (
AHL_LTP_SPACE_CATEGORY) and once for the space status lookup (AHL_LTP_SPACE_STATUS).
The space-to-unavailability relationship is an equi-join on SPACE_ID, so a space appears once for each unavailability record it carries. Department and organization joins link on BOM_DEPARTMENT_ID and ORGANIZATION_ID respectively. Both lookup joins are outer joins, so spaces whose category or status codes have no active lookup value are still returned, with null meanings.
Key Columns
- SPACE_ID / SPACE_NAME — identity of the maintenance space.
- SPACE_OBJECT_VERSION_NUMBER — version of the space record, for optimistic locking in integrated updates.
- BOM_DEPARTMENT_ID / DEPT_DESCRIPTION — owning department identifier and its description.
- ORGANIZATION_ID / ORG_NAME / ORGANIZATION_CODE — organization context;
ORGANIZATION_CODEis defined as a literal NULL in the view text. - SPACE_CATEGORY_CODE / SPACE_CATEGORY_MEAN — stored category code and its lookup meaning.
- STATUS_CODE / STATUS_MEAN — the stored
INACTIVE_FLAGvalue and its decoded lookup meaning underAHL_LTP_SPACE_STATUS. - SPACE_UNAVAILABILITY_ID / OBJECT_VERSION_NUMBER — identity and version of the unavailability record.
- START_DATE / END_DATE / DESCRIPTION — the restriction window and any narrative description of the unavailability.
Common Use Cases and Queries
Typical uses include identifying spaces currently unavailable, auditing restriction history per department or organization, and feeding scheduling logic that must exclude blocked spaces. A simple listing of active restrictions by status meaning:
SELECT space_name, status_mean, start_date, end_date
FROM apps.ahl_space_unavabl_v
WHERE TRUNC(SYSDATE) BETWEEN start_date AND end_date
ORDER BY org_name, space_name;
A category-based summary demonstrating the STATUS_MEAN decode:
SELECT org_name, space_category_mean, status_mean, COUNT(*)
FROM apps.ahl_space_unavabl_v
GROUP BY org_name, space_category_mean, status_mean;
Because the view already resolves lookup meanings, reports avoid replicating the FND_LOOKUP_VALUES join logic. Consumers should note that multiple rows are returned per space when more than one unavailability record exists, and that the outer lookup joins may yield null meanings for obsolete or unmapped codes.
-
View: AHL_SPACE_UNAVABL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SPACE_UNAVABL_V, object_name:AHL_SPACE_UNAVABL_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query relates to space restriction information , implementation_dba_data: APPS.AHL_SPACE_UNAVABL_V ,
-
View: AHL_SPACE_UNAVABL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SPACE_UNAVABL_V, object_name:AHL_SPACE_UNAVABL_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query relates to space restriction information , implementation_dba_data: APPS.AHL_SPACE_UNAVABL_V ,
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.AHL_SPACE_UNAVABL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SPACE_UNAVABL_V, object_name:AHL_SPACE_UNAVABL_V, status:VALID,
-
VIEW: APPS.AHL_SPACE_UNAVABL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SPACE_UNAVABL_V, object_name:AHL_SPACE_UNAVABL_V, status:VALID,
-
VIEW: APPS.AHL_SPACE_UNAVAILABLE_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SPACE_UNAVAILABLE_VL, object_name:AHL_SPACE_UNAVAILABLE_VL, status:VALID,
-
VIEW: APPS.AHL_SPACE_UNAVAILABLE_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SPACE_UNAVAILABLE_VL, object_name:AHL_SPACE_UNAVAILABLE_VL, status:VALID,
-
VIEW: APPS.AHL_SPACES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SPACES_VL, object_name:AHL_SPACES_VL, status:VALID,
-
VIEW: APPS.AHL_SPACES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SPACES_VL, object_name:AHL_SPACES_VL, status:VALID,
-
SYNONYM: APPS.BOM_DEPARTMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BOM_DEPARTMENTS, status:VALID,
-
SYNONYM: APPS.BOM_DEPARTMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:BOM_DEPARTMENTS, status:VALID,
-
VIEW: APPS.FND_LOOKUP_VALUES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUP_VALUES_VL, object_name:FND_LOOKUP_VALUES_VL, status:VALID,
-
VIEW: APPS.FND_LOOKUP_VALUES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUP_VALUES_VL, object_name:FND_LOOKUP_VALUES_VL, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
eTRM - AHL Tables and Views
12.1.1
description: Ahl Production Workorder Operations Information stored in this table ,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
eTRM - AHL Tables and Views
12.2.2
description: Ahl Production Workorder Operations Information stored in this table ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - AHL Tables and Views
12.1.1
description: Ahl Production Workorder Operations Information stored in this table ,
-
eTRM - AHL Tables and Views
12.2.2
description: Ahl Production Workorder Operations Information stored in this table ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,