Search Results pn_var_constraints_all
Overview
The PN_VAR_CONSTRAINTS_ALL table is a core data structure within the Oracle E-Business Suite Property Manager (PN) module, specifically for versions 12.1.1 and 12.2.2. It serves a critical function in the automated calculation of variable rent, a common component in commercial lease agreements where rent amounts fluctuate based on predefined conditions, such as a percentage of a tenant's sales. The table's primary role is to store the specific constraints or rules that must be applied to a given accounting period during the variable rent calculation process. These constraints define the boundaries and conditions under which the variable rent is computed, ensuring calculations adhere to the contractual terms stipulated in the lease. As an "_ALL" table, it is designed to support multi-organization architecture (MOAC), meaning it contains data for all operating units and requires a security predicate, such as ORG_ID, for correct data isolation in queries.
Key Information Stored
The table stores the linkage between a variable rent calculation period and the specific constraint rules governing it. While the full column list is not detailed in the provided metadata, the foreign key relationships reveal its essential components. The primary key is the CONSTRAINT_ID, which uniquely identifies each constraint record. The table holds foreign key columns that establish critical relationships: PERIOD_ID links the constraint to a specific variable rent period in the PN_VAR_PERIODS_ALL table. CONSTR_TEMPLATE_ID and CONSTR_DEFAULT_ID reference predefined constraint templates and defaults from the PN_VAR_CONSTR_TEMPLATES_ALL and PN_VAR_CONSTR_DEFAULTS_ALL tables, respectively. The AGREEMENT_TEMPLATE_ID column links to the PN_VAR_TEMPLATES_ALL table, connecting the constraint to the overarching variable rent agreement template. These columns collectively define what rule to apply, to which period, and under which agreement.
Common Use Cases and Queries
The primary use case is the generation and review of variable rent invoices. A Property Manager administrator or a financial analyst would leverage data in this table to audit the rules applied to a rent calculation, troubleshoot discrepancies, or generate custom reports. A common query pattern involves joining this table to its related period and template tables to list all constraints for a specific lease or period. For example:
- Identifying Constraints for a Period:
SELECT c.constraint_id, p.period_name, t.template_name FROM pn_var_constraints_all c, pn_var_periods_all p, pn_var_templates_all t WHERE c.period_id = p.period_id AND c.agreement_template_id = t.var_template_id AND p.period_id = :p_period_id; - Data Validation: Queries are often used to ensure constraint data integrity, such as checking for periods that lack required constraints or identifying orphaned constraint records.
- Reporting: The table is a key source for reports detailing the business rules applied to variable rent calculations across a portfolio of properties.
Related Objects
The PN_VAR_CONSTRAINTS_ALL table is centrally connected to several other key tables in the Property Manager variable rent subsystem, as documented by its foreign keys. These relationships are fundamental to the module's data integrity.
- PN_VAR_PERIODS_ALL: Linked via PERIOD_ID. This is the primary relationship, tying each constraint to the specific time period for which variable rent is being calculated.
- PN_VAR_CONSTR_TEMPLATES_ALL: Linked via CONSTR_TEMPLATE_ID. References the master definition of a constraint rule template.
- PN_VAR_CONSTR_DEFAULTS_ALL: Linked via CONSTR_DEFAULT_ID. References default constraint values that can be applied.
- PN_VAR_TEMPLATES_ALL: Linked via AGREEMENT_TEMPLATE_ID. Connects the constraint to the higher-level variable rent agreement template that governs the overall calculation.
The table's primary key, PN_VAR_CONSTRAINTS_PK, is referenced by other objects (like indexes or child tables) not listed in the provided excerpt, which would be typical in a complete data model.
-
Table: PN_VAR_CONSTRAINTS_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_VAR_CONSTRAINTS_ALL, object_name:PN_VAR_CONSTRAINTS_ALL, status:VALID, product: PN - Property Manager , description: Stores constraints to be applied to a period for the calculation of variable rent. , implementation_dba_data: PN.PN_VAR_CONSTRAINTS_ALL ,
-
Table: 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, product: PN - Property Manager , description: Stores constraints to be applied to a period for the calculation of variable rent. , implementation_dba_data: PN.PN_VAR_CONSTRAINTS_ALL ,
-
APPS.PN_VAR_CHG_CAL_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.1.1
-
APPS.PN_VARIABLE_AMOUNT_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.1.1
-
APPS.PN_VAR_DEFAULTS_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.1.1
-
APPS.PN_VAR_DEFAULTS_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.2.2
-
APPS.PN_VARIABLE_AMOUNT_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.2.2
-
APPS.PN_VAR_RENT_CALC_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.2.2
-
APPS.PN_VAR_RENT_CALC_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.1.1
-
APPS.PN_VAR_RENT_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.2.2
-
APPS.PN_VAR_RENT_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.1.1
-
APPS.PN_VAR_CONSTRAINTS_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.2.2
-
APPS.PN_VAR_CHG_CAL_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.2.2
-
APPS.PN_VAREN_PVT dependencies on PN_VAR_CONSTRAINTS_ALL
12.2.2
-
APPS.PN_VAR_CONSTRAINTS_PKG dependencies on PN_VAR_CONSTRAINTS_ALL
12.1.1
-
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_CONSTRAINTS_PKG SQL Statements
12.2.2
-
APPS.PN_VAR_CONSTRAINTS_PKG SQL Statements
12.1.1
-
SYNONYM: APPS.PN_VAR_CONSTRAINTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_CONSTRAINTS_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_CONSTRAINTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_CONSTRAINTS_ALL, status:VALID,
-
VIEW: PN.PN_VAR_CONSTRAINTS_ALL#
12.2.2
owner:PN, object_type:VIEW, object_name:PN_VAR_CONSTRAINTS_ALL#, status:VALID,
-
VIEW: APPS.PN_VAR_CONSTRAINTS_ALL_DFV
12.2.2
-
VIEW: APPS.PN_VAR_CONSTRAINTS_ALL_DFV
12.1.1
-
Table: PN_VAR_PERIODS_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_VAR_PERIODS_ALL, object_name:PN_VAR_PERIODS_ALL, status:VALID, product: PN - Property Manager , description: Stores information about periods generated by the periods generation program for the duration of variable rent. , implementation_dba_data: PN.PN_VAR_PERIODS_ALL ,
-
Table: PN_VAR_PERIODS_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_VAR_PERIODS_ALL, object_name:PN_VAR_PERIODS_ALL, status:VALID, product: PN - Property Manager , description: Stores information about periods generated by the periods generation program for the duration of variable rent. , implementation_dba_data: PN.PN_VAR_PERIODS_ALL ,
-
VIEW: PN.PN_VAR_CONSTRAINTS_ALL#
12.2.2
-
APPS.PN_VAREN_PVT dependencies on PN_VAR_PERIODS_ALL
12.2.2
-
Table: PN_VAR_CONSTR_TEMPLATES_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_VAR_CONSTR_TEMPLATES_ALL, object_name:PN_VAR_CONSTR_TEMPLATES_ALL, status:VALID, product: PN - Property Manager , description: Constraints Templates , implementation_dba_data: PN.PN_VAR_CONSTR_TEMPLATES_ALL ,
-
Table: PN_VAR_TEMPLATES_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_VAR_TEMPLATES_ALL, object_name:PN_VAR_TEMPLATES_ALL, status:VALID, product: PN - Property Manager , description: This table stores templates containing default values for variable rent agreements. , implementation_dba_data: PN.PN_VAR_TEMPLATES_ALL ,
-
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_CONSTRAINTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_CONSTRAINTS_PKG, status:VALID,
-
APPS.PN_VAR_CONSTRAINTS_PKG dependencies on DUAL
12.2.2
-
APPS.PN_VAR_CONSTRAINTS_PKG dependencies on DUAL
12.1.1
-
Table: PN_VAR_CONSTR_DEFAULTS_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_VAR_CONSTR_DEFAULTS_ALL, object_name:PN_VAR_CONSTR_DEFAULTS_ALL, status:VALID, product: PN - Property Manager , description: This table stores setup information for constraints by organization. , implementation_dba_data: PN.PN_VAR_CONSTR_DEFAULTS_ALL ,
-
PACKAGE BODY: APPS.PN_VAR_CONSTRAINTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_CONSTRAINTS_PKG, status:VALID,
-
VIEW: APPS.PN_VAR_CONSTRAINTS_ALL_DFV
12.1.1
owner:APPS, object_type:VIEW, object_name:PN_VAR_CONSTRAINTS_ALL_DFV, status:VALID,
-
VIEW: APPS.PN_VAR_CONSTRAINTS_ALL_DFV
12.2.2
owner:APPS, object_type:VIEW, object_name:PN_VAR_CONSTRAINTS_ALL_DFV, status:VALID,
-
APPS.PN_VAREN_PVT dependencies on PN_VAR_CONSTR_DEFAULTS_ALL
12.2.2
-
PACKAGE BODY: APPS.PN_VAR_DEFAULTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_DEFAULTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PN_VARIABLE_AMOUNT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VARIABLE_AMOUNT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PN_VARIABLE_AMOUNT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VARIABLE_AMOUNT_PKG, 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,
-
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,
-
PACKAGE BODY: APPS.PN_VAR_DEFAULTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_DEFAULTS_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.PN_VAR_CONSTRAINTS_PKG
12.1.1
-
PACKAGE BODY: APPS.PN_VAR_CONSTRAINTS_PKG
12.2.2