Search Results pn_tenancy_usage_type
Overview
APPS.PN_TENANCIES_HISTORY_V is a reporting and integration view in Oracle Property Manager (PN), part of the Oracle E-Business Suite ETRM (Enterprise Asset and Real Estate Management) family. It exposes the historical record of tenancy assignments — the link between a tenant (customer), a lease, and a specific property location — enriched with decoded lookup meanings and denormalized customer and site information. The view is the historical counterpart to the operational PN_TENANCIES view, sourced from PN_TENANCIES_HISTORY, and is typically used for audit reporting, occupancy trend analysis, charge-back reconciliation, and downstream data extracts where the current-state tenancy record is insufficient.
The view is owned by APPS and is available in both 12.1.1 and 12.2.2. It is read-only by convention; no DML should be issued against it. A key naming distinction for users searching on pn_tenancy_usage_type is that the underlying column in PN_TENANCIES_HISTORY is TENANCY_USAGE_LOOKUP_CODE, while the view exposes the human-readable decoded value as TENANCY_USAGE_TYPE via a join to FND_LOOKUPS.
Underlying Base Objects
The view is defined over the following documented base objects:
- PN_TENANCIES_HISTORY (synonym) — the primary driving table; supplies the historical tenancy rows and nearly all stored columns.
- PN_TENANCIES (synonym) — referenced in the tenancy lineage; PN_TENANCIES_HISTORY generally retains superseded or archived versions of PN_TENANCIES records.
- PN_LOCATIONS_ALL (synonym) — source of the property/location context against which the tenancy is recorded.
- FND_LOOKUPS (view) — joined three times to decode TENANCY_USAGE_LOOKUP_CODE, RECOVERY_TYPE_CODE, and RECOVERY_SPACE_STD_CODE into their meanings.
- HZ_PARTIES, HZ_CUST_ACCOUNTS, and HZ_CUST_SITE_USES_ALL (synonyms) — TCA tables joined on CUSTOMER_ID and CUSTOMER_SITE_USE_ID to denormalize party name, account number, and site-use location.
- FND_GLOBAL (package) — used for session/security context (for example, ORG_ID and user identity) within the view definition or its dependent logic.
Because it reads from history plus TCA and lookups, the view incurs multiple joins and should be filtered aggressively on lease, location, or date range.
Key Columns
- TENANCY_ID, LOCATION_ID, LEASE_ID, LEASE_CHANGE_ID — the tenancy primary key and its lease/location/change foreign keys.
- TENANCY_USAGE_LOOKUP_CODE / TENANCY_USAGE_TYPE — the coded value and its FND_LOOKUPS meaning. This pairing is the object of the pn_tenancy_usage_type search.
- PRIMARY_FLAG — indicates whether the tenancy is the tenant's primary occupancy at the location.
- OCCUPANCY_DATE, ESTIMATED_OCCUPANCY_DATE, EXPIRATION_DATE, FIN_OBLIG_END_DATE — lifecycle and financial-obligation dates for the tenancy.
- ASSIGNABLE_FLAG, SUBSLEASEABLE_FLAG, TENANTS_PROPORTIONATE_SHARE — occupancy rights and pro-rata share.
- STATUS — the tenancy status code.
- RECOVERY_TYPE_CODE / RECOVERY_TYPE, RECOVERY_SPACE_STD_CODE / RECOVERY_SPACE_STD — recovery configuration and decoded meanings.
- CUSTOMER_ID, CUSTOMER_SITE_USE_ID, CUSTOMER_NAME, CUSTOMER_NUMBER, CUSTOMER_SITE_USE — tenant identification denormalized from TCA.
- LEASE_RENTABLE_AREA, LEASE_USABLE_AREA, LEASE_ASSIGNABLE_AREA, LEASE_LOAD_FACTOR and the corresponding LOCATION_* columns — area and load-factor measurements at both lease and location level.
- ROW_ID, LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN — standard WHO columns, and ATTRIBUTE_CATEGORY/ATTRIBUTE1–15 for DFF support.
Common Use Cases and Queries
Typical scenarios include: historical occupancy and vacancy reporting by property; tenancy usage-type distribution analysis; lease recovery configuration audits; and tenant-facing statements requiring historical area and share figures.
Example — active/historical tenancy usage types for a lease:
SELECT tenancy_id,
lease_id,
location_id,
tenancy_usage_lookup_code,
tenancy_usage_type,
occupancy_date,
expiration_date,
status
FROM apps.pn_tenancies_history_v
WHERE lease_id = :p_lease_id
ORDER BY occupancy_date DESC;
Example — breakdown by tenancy usage type:
SELECT tenancy_usage_type,
COUNT(*) tenancy_count
FROM apps.pn_tenancies_history_v
WHERE occupancy_date BETWEEN :p_from_date AND :p_to_date
GROUP BY tenancy_usage_type
ORDER BY tenancy_count DESC;
Example — current tenant detail with customer information:
SELECT h.customer_name,
h.customer_number,
h.location_id,
h.tenancy_usage_type,
h.tenants_proportionate_share,
h.lease_rentable_area
FROM apps.pn_tenancies_history_v h
WHERE h.primary_flag = 'Y'
AND h.status = 'ACTIVE';
Queries should filter on LEASE_ID, LOCATION_ID, or OCCUPANCY_DATE whenever possible to limit the join cost against PN_TENANCIES_HISTORY and the TCA lookup chain.
-
Lookup Type: PN_TENANCY_USAGE_TYPE
12.1.1
product: PN - Property Manager , meaning: PN TENANCY USAGE TYPE , description: Tenancy Usage ,
-
Lookup Type: PN_TENANCY_USAGE_TYPE
12.2.2
product: PN - Property Manager , meaning: PN TENANCY USAGE TYPE , description: Tenancy Usage ,
-
VIEW: APPS.PN_TENANCIES_HISTORY_V
12.1.1
-
VIEW: APPS.PN_TENANCIES_HISTORY_V
12.2.2
-
View: PN_TENANCIES_HISTORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_TENANCIES_HISTORY_V, object_name:PN_TENANCIES_HISTORY_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_TENANCIES_HISTORY_V ,
-
VIEW: APPS.PN_TENANCIES_V
12.1.1
-
View: PN_TENANCIES_HISTORY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_TENANCIES_HISTORY_V, object_name:PN_TENANCIES_HISTORY_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_TENANCIES_HISTORY_V ,
-
VIEW: APPS.PN_TENANCIES_V
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
View: PN_TENANCIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_TENANCIES_V, object_name:PN_TENANCIES_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_TENANCIES_V ,
-
View: PN_TENANCIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_TENANCIES_V, object_name:PN_TENANCIES_V, status:VALID, product: PN - Property Manager , implementation_dba_data: APPS.PN_TENANCIES_V ,
-
APPS.PNRX_MILESTONES SQL Statements
12.1.1
-
APPS.PNRX_MILESTONES SQL Statements
12.2.2
-
TABLE: PN.PN_TENANCIES_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_TENANCIES_ALL, object_name:PN_TENANCIES_ALL, status:VALID,
-
TABLE: PN.PN_TENANCIES_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_TENANCIES_ALL, object_name:PN_TENANCIES_ALL, status:VALID,
-
APPS.PNRX_RENT_LES SQL Statements
12.1.1
-
APPS.PNRX_RENT_LES SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PNRX_MILESTONES
12.2.2
-
PACKAGE BODY: APPS.PNRX_MILESTONES
12.1.1
-
APPS.PN_LEASE_PVT dependencies on FND_LOOKUP_TYPES
12.2.2
-
PACKAGE BODY: APPS.PNRX_RENT_LES
12.2.2
-
PACKAGE BODY: APPS.PNRX_RENT_LES
12.1.1
-
PACKAGE BODY: APPS.PN_LEASE_PVT
12.2.2
-
eTRM - PN Tables and Views
12.1.1
description: Interface table to contain batch lines information. ,
-
eTRM - PN Tables and Views
12.2.2
description: Interface table to contain batch lines information. ,