Search Results pn_var_trx_pkg
Overview
APPS.PN_VAR_TRX_PKG is a PL/SQL package body in the Oracle E-Business Suite Property Manager (PN) module. It provides the transactional backbone for variable rent processing, supporting the calculation and persistence of variable rent transactions derived from sales, volume, and other performance-based measures. In the ETRM (Enterprise Tenant and Lease Management) context, variable rent arrangements allow landlords and tenants to settle rent based on actual business activity reported during a period rather than a fixed contractual amount. This package encapsulates the logic required to build, populate, and maintain those variable rent transactions across billing periods.
The package is owned by the APPS schema and holds a VALID status. It is not referenced by any other database object, but it depends on a broad set of PN variable rent tables and on PN_VAR_RENT_CALC_PKG, indicating that PN_VAR_TRX_PKG acts as the transaction persistence layer beneath the rent calculation engine. It is classified as a non-public API (OTHER) and is primarily intended for internal use within the variable rent subsystem.
Key Procedures and Functions
The package exposes twenty-nine documented procedures and functions that manage the lifecycle of variable rent transactions.
- EXISTS_TRX_HDR / EXISTS_TRX_DTL — Determine whether a header or detail transaction record already exists, supporting idempotent processing and preventing duplicate transaction creation.
- INSERT_TRX_HDR / INSERT_TRX_DTL — Insert new header and detail transaction records into the variable rent transaction tables.
- POPULATE_LINE_GRP_ID / POPULATE_RESET_GRP_ID — Assign and reset the grouping identifier used to associate related variable rent lines and transactions.
- POPULATE_LY_PRO_VOL, POPULATE_FY_PRO_VOL, POPULATE_YTD_PRO_VOL — Populate volume figures for last year, full year, and year-to-date projections, drawing on volume history data.
- POPULATE_BLENDED_GRP_VOL / POPULATE_BLENDED_PERIOD_VOL — Compute blended volume values at the group and period levels.
- DELETE_TRANSACTIONS — Remove previously generated variable rent transactions, typically prior to a recalculation run.
- POPULATE_TRANSACTIONS — The central driver procedure that assembles and persists variable rent transactions from the underlying calculation results.
- GET_CALC_PRD_SALES / GET_CALC_PRD_SALES_FOR — Retrieve calculated period sales, including the foreign-currency or alternate variant.
- POPULATE_LY_PRO_SALES, POPULATE_FY_PRO_SALES, POPULATE_YTD_SALES, POPULATE_SALES, POPULATE_YTD_SALES_FOR — Populate sales figures for last year, full year, year-to-date, and their alternate variants, feeding the sales-based variable rent calculations.
Tables Accessed
The package interacts with the core variable rent transaction and configuration tables through APPS synonyms:
- PN_VAR_TRX_HEADERS_ALL and PN_VAR_TRX_DETAILS_ALL — The primary transaction header and detail tables written by the insert and populate routines, along with their _S sequence/interface counterparts.
- PN_VAR_LINES_ALL — Variable rent line definitions that drive transaction generation.
- PN_VAR_PERIODS_ALL and PN_VAR_GRP_DATES_ALL — Period and group date definitions used to organize calculations across billing cycles.
- PN_VAR_VOL_HIST_ALL — Historical volume data used by the volume projection routines.
- PN_VAR_RENTS_ALL and PN_VAR_DEDUCTIONS_ALL — Rent and deduction data applied during transaction population.
- PN_VAR_BKDT_DEFAULTS_ALL, PN_VAR_BKHD_DEFAULTS_ALL, PN_VAR_BKPTS_DET_ALL, PN_VAR_BKPTS_HEAD_ALL — Booking defaults and booking point detail/header tables supplying default values for generated transactions.
- DUAL and SYS.STANDARD — Utility references for scalar evaluation and PL/SQL built-ins.
Usage Notes
PN_VAR_TRX_PKG is invoked internally by the variable rent processing flow rather than directly by end users. It is typically called after PN_VAR_RENT_CALC_PKG has computed the underlying rent amounts, with PN_VAR_TRX_PKG responsible for persisting those results as transaction records. Its EXISTS and DELETE procedures support safe re-execution of generation runs, allowing recalculation without duplicating data.
In Oracle EBS 12.1.1 and 12.2.2, the package is reached through concurrent programs and Property Manager forms that drive variable rent sales and volume processing. Because it is documented as not referenced by any other database object but is itself dependent on numerous PN tables, customizations should treat it as an internal implementation package: direct calls are not part of the supported public API, and any extension should be confined to the documented transaction tables. Developers troubleshooting variable rent transaction generation should inspect this package first, as it governs the header/detail insert, grouping, and sales/volume projection logic for the entire variable rent settlement cycle.
-
SYNONYM: APPS.PN_VAR_TRX_DETAILS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_TRX_DETAILS_ALL, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_TRX_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_TRX_PKG, status:VALID,
-
SYNONYM: APPS.PN_VAR_TRX_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_TRX_HEADERS_ALL, status:VALID,
-
PACKAGE: APPS.PN_VAR_TRX_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PN_VAR_TRX_PKG, status:VALID,
-
PACKAGE: APPS.PN_VAR_TRX_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PN_VAR_TRX_PKG, status:VALID,
-
SYNONYM: APPS.PN_VAR_TRX_HEADERS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_TRX_HEADERS_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_TRX_DETAILS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_TRX_DETAILS_ALL, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_TRX_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_TRX_PKG, status:VALID,
-
SYNONYM: APPS.PN_VAR_TRX_HEADERS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_TRX_HEADERS_S, status:VALID,
-
SYNONYM: APPS.PN_VAR_TRX_HEADERS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_TRX_HEADERS_S, status:VALID,
-
SYNONYM: APPS.PN_VAR_TRX_DETAILS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_TRX_DETAILS_S, status:VALID,
-
SYNONYM: APPS.PN_VAR_DEDUCTIONS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_DEDUCTIONS_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_LINES_ALL, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_RENTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_RENTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_UPG_TRX_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_UPG_TRX_PKG, status:VALID,
-
SYNONYM: APPS.PN_VAR_TRX_DETAILS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_TRX_DETAILS_S, status:VALID,
-
PACKAGE: APPS.PN_VAR_RENT_CALC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PN_VAR_RENT_CALC_PKG, status:VALID,
-
SYNONYM: APPS.PN_VAR_PERIODS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_PERIODS_ALL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.PN_VAR_VOL_HIST_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_VOL_HIST_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_DEDUCTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_DEDUCTIONS_ALL, status:VALID,
-
PACKAGE: APPS.PN_VAR_RENT_CALC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PN_VAR_RENT_CALC_PKG, status:VALID,
-
SYNONYM: APPS.PN_VAR_BKPTS_HEAD_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_BKPTS_HEAD_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_BKDT_DEFAULTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_BKDT_DEFAULTS_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_BKPTS_DET_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_BKPTS_DET_ALL, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_RENTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_RENTS_PKG, status:VALID,
-
SYNONYM: APPS.PN_VAR_BKHD_DEFAULTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_BKHD_DEFAULTS_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_BKPTS_HEAD_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_BKPTS_HEAD_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_RENTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_RENTS_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_BKPTS_DET_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_BKPTS_DET_ALL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.PN_VAR_VOL_HIST_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_VOL_HIST_ALL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.PN_VAR_GRP_DATES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_GRP_DATES_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_GRP_DATES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_GRP_DATES_ALL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.PN_VAR_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_LINES_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_PERIODS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_PERIODS_ALL, status:VALID,
-
SYNONYM: APPS.PN_VAR_RENTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_VAR_RENTS_ALL, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_RENT_CALC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_RENT_CALC_PKG, status:VALID,
-
PACKAGE BODY: APPS.PN_VAR_RENT_CALC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAR_RENT_CALC_PKG, status:VALID,
-
PACKAGE BODY: APPS.PN_VAREN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PN_VAREN_PVT, status:VALID,
-
PACKAGE: APPS.PN_VAR_TRX_PKG
12.1.1
-
PACKAGE: APPS.PN_VAR_TRX_PKG
12.2.2
-
PACKAGE: APPS.PNP_DEBUG_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PNP_DEBUG_PKG, status:VALID,
-
PACKAGE: APPS.PNP_DEBUG_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PNP_DEBUG_PKG, status:VALID,
-
APPS.PN_VAR_RENT_CALC_PKG dependencies on PN_VAR_TRX_PKG
12.2.2
-
APPS.PN_VAR_RENT_CALC_PKG dependencies on PN_VAR_TRX_PKG
12.1.1
-
APPS.PN_VAR_TRX_PKG dependencies on PN_VAR_TRX_PKG
12.1.1
-
APPS.PN_VAREN_PVT dependencies on PN_VAR_TRX_PKG
12.2.2