Search Results pn_var_constraints
Overview
APPS.PN_VAR_CONSTRAINTS_V is a reporting and integration view within the Oracle E-Business Suite Property Manager (PN) module. Its name reflects its role in exposing variance constraint records — the contractual clauses and financial thresholds that govern lease and property agreements in Oracle Property Manager. The view presents the data held in PN_VAR_CONSTRAINTS in a denormalized form, resolving the foreign key to the agreement template so that the template name (AGREEMENT_TEMPLATE) is available alongside each constraint without requiring an additional join in the calling query.
Because a view rather than a base table is the object of interest, this object is read-only in practice; DML against variance constraints is performed against the underlying PN_VAR_CONSTRAINTS table through the standard Property Manager forms and concurrent programs. The view is owned by APPS and is typically granted to reporting and integration responsibilities, allowing external systems, custom reports, and Oracle Discoverer or BI Publisher datasets to consume variance constraint data without direct access to the base tables.
Underlying Base Objects
According to the documented metadata, the view is defined over two base objects, both referenced through synonyms in the APPS schema:
- PN_VAR_CONSTRAINTS — the primary table holding variance constraint rows, aliased as CON in the view definition.
- PN_VAR_TEMPLATES_ALL — the multi-org variance template table, aliased as TMP, which supplies the AGREEMENT_TEMPLATE descriptive column.
The join between the two tables is an outer join: tmp.AGREEMENT_TEMPLATE_ID(+) = con.AGREEMENT_TEMPLATE_ID. This is significant because it guarantees that every row in PN_VAR_CONSTRAINTS is returned even when no matching template exists. Consequently, consumers of this view must tolerate a NULL AGREEMENT_TEMPLATE value. Note also that PN_VAR_TEMPLATES_ALL is a _ALL table, implying a multi-org (ORG_ID) partitioning pattern; even so, the view does not filter by ORG_ID, so it exposes rows across operating units unless the caller supplies an ORG_ID predicate.
Key Columns
- CONSTRAINT_ID — the primary key of the constraint record, together with ROW_ID for row identification.
- CONSTRAINT_NUM — the user-visible constraint number.
- PERIOD_ID, CONSTR_START_DATE, CONSTR_END_DATE — the effective period over which the constraint applies.
- CONSTR_CAT_CODE, TYPE_CODE — the constraint category and type lookups that classify the rule.
- AMOUNT — the monetary or numeric threshold defined by the constraint.
- AGREEMENT_TEMPLATE_ID, CONSTR_TEMPLATE_ID, CONSTR_DEFAULT_ID — foreign keys to the template and default definitions that generate the constraint, with AGREEMENT_TEMPLATE providing the resolved template name from the outer join.
- ORG_ID — the operating unit that owns the constraint.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 — the standard Oracle EBS descriptive flexfield columns, permitting site-specific extension of constraint data.
- Audit columns — CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN support change tracking.
Common Use Cases and Queries
Typical uses include auditing the variance thresholds tied to a given agreement template, reporting constraints by category or operating unit, and feeding constraint data into downstream billing or lease administration processes. A representative query listing active constraints for a specific organization might read:
SELECT constraint_num, constr_cat_code, type_code, amount, agreement_template, constr_start_date, constr_end_date FROM apps.pn_var_constraints_v WHERE org_id = :p_org_id AND SYSDATE BETWEEN constr_start_date AND constr_end_date ORDER BY constraint_num;SELECT constraint_id, constraint_num, agreement_template FROM apps.pn_var_constraints_v WHERE constr_cat_code = :p_category;
Because the view performs the outer join to PN_VAR_TEMPLATES_ALL, developers should avoid re-joining to the template table in custom SQL, and should filter explicitly on ORG_ID to respect multi-org security. This behaviour is consistent across Oracle EBS 12.1.1 and 12.2.2, where the object definition and base tables are unchanged.
-
VIEW: APPS.PN_VAR_CONSTRAINTS_V
12.2.2
-
VIEW: APPS.PN_VAR_CONSTRAINTS_V
12.1.1
-
SYNONYM: APPS.PN_VAR_CONSTRAINTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_CONSTRAINTS, status:VALID,
-
SYNONYM: APPS.PN_VAR_CONSTRAINTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_CONSTRAINTS, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_CHG_CAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_CHG_CAL_PKG, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_CHG_CAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_CHG_CAL_PKG, status:VALID,
-
View: PN_VAR_CONSTRAINTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_VAR_CONSTRAINTS_V, object_name:PN_VAR_CONSTRAINTS_V, status:VALID, product: PN - Property Manager , description: Form view used to input constraints related information. , implementation_dba_data: APPS.PN_VAR_CONSTRAINTS_V ,
-
View: PN_VAR_CONSTRAINTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_VAR_CONSTRAINTS_V, object_name:PN_VAR_CONSTRAINTS_V, status:VALID, product: PN - Property Manager , description: Form view used to input constraints related information. , implementation_dba_data: APPS.PN_VAR_CONSTRAINTS_V ,
-
VIEW: PN.PN_VAR_CONSTRAINTS_ALL#
12.2.2
owner:PN, object_type:VIEW, object_name:PN_VAR_CONSTRAINTS_ALL#, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_CONSTRAINTS_PKG
12.1.1
-
PACKAGE BODY: APPS.PN_VAR_CONSTRAINTS_PKG
12.2.2
-
VIEW: APPS.PN_VAR_CONSTRAINTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_VAR_CONSTRAINTS_V, object_name:PN_VAR_CONSTRAINTS_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.PN_VAR_CONSTRAINTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PN.PN_VAR_CONSTRAINTS_V, object_name:PN_VAR_CONSTRAINTS_V, status:VALID,
-
TABLE: PN.PN_VAR_CONSTRAINTS_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_VAR_CONSTRAINTS_ALL, object_name:PN_VAR_CONSTRAINTS_ALL, status:VALID,
-
APPS.PN_VAR_CHG_CAL_PKG dependencies on PN_VAR_CONSTRAINTS
12.2.2
-
APPS.PN_VAR_CHG_CAL_PKG dependencies on PN_VAR_CONSTRAINTS
12.1.1
-
APPS.PN_VAR_CHG_CAL_PKG SQL Statements
12.1.1
-
APPS.PN_VAR_CHG_CAL_PKG SQL Statements
12.2.2
-
eTRM - PN Tables and Views
12.1.1
description: Interface table to contain batch lines information. ,
-
APPS.PN_VAREN_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PN_VAREN_PVT
12.2.2
-
APPS.PN_VAR_RENT_PKG SQL Statements
12.1.1
-
APPS.PN_VAR_RENT_PKG SQL Statements
12.2.2
-
APPS.PN_VAREN_PVT dependencies on FND_MSG_PUB
12.2.2
-
APPS.PN_VAREN_PVT dependencies on FND_MESSAGE
12.2.2
-
PACKAGE BODY: APPS.AD_MORG
12.1.1
-
PACKAGE BODY: APPS.AD_MORG
12.2.2
-
eTRM - PN Tables and Views
12.2.2
description: Interface table to contain batch lines information. ,
-
APPS.PN_VAREN_PVT dependencies on FND_API
12.2.2
-
PACKAGE BODY: APPS.PN_VAR_CHG_CAL_PKG
12.1.1
-
PACKAGE BODY: APPS.PN_VAR_CHG_CAL_PKG
12.2.2
-
PACKAGE BODY: APPS.PN_VAR_RENT_PKG
12.2.2
-
PACKAGE BODY: APPS.PN_VAR_RENT_PKG
12.1.1
-
APPS.PN_VAREN_PVT dependencies on PN_VAREN_UTIL
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
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. ,