Search Results pn_rec_exp_line_all




Overview

The PN_REC_EXP_LINE_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 functions as the primary repository for expense recovery line header information. This table is central to the process of managing and allocating property-related expenses, such as common area maintenance (CAM), taxes, or utilities, that are subsequently recovered from tenants or other responsible parties. As a multi-organization table (indicated by the "_ALL" suffix and the ORG_ID foreign key), it stores data across all operating units, enabling a shared service installation model. Its role is to establish the master definition for each recoverable expense line, which is then detailed and allocated through related child tables.

Key Information Stored

While the provided metadata does not list specific columns beyond the keys, the table's primary key and foreign relationships define its critical data elements. The EXPENSE_LINE_ID column is the unique identifier for each expense line record. The PROPERTY_ID column links the expense line to a specific property defined in the PN_PROPERTIES_ALL table, establishing the asset to which the expense pertains. The ORG_ID column associates the record with an operating unit from HR_ALL_ORGANIZATION_UNITS, enforcing data security and partitioning. Typical columns in such a header table would also include descriptive fields like the expense line name or description, status, period or date information, total expense amount, currency, and standard WHO columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN).

Common Use Cases and Queries

This table is primarily accessed for reporting on recoverable expense headers and as a starting point for drilling into detailed allocations. Common operational and analytical queries include generating a list of all active expense lines for a specific property or operating unit, summarizing total recoverable expenses by period, and identifying expense lines pending allocation. A typical SQL pattern involves joining to the property and organization tables for descriptive information:

  • SELECT prla.expense_line_id, ppa.property_name, prla.description, hou.name org_name FROM pn_rec_exp_line_all prla, pn_properties_all ppa, hr_organization_units hou WHERE prla.property_id = ppa.property_id AND prla.org_id = hou.organization_id AND ppa.property_id = :p_property_id;

Integration and data validation processes also frequently query this table to ensure foreign key integrity before processing detailed allocation records in child tables.

Related Objects

The PN_REC_EXP_LINE_ALL table sits at the center of a key relationship hierarchy within Property Manager's expense recovery functionality. Based on the documented foreign keys:

  • Referenced By This Table (Parent Tables):
    • PN_PROPERTIES_ALL via PN_REC_EXP_LINE_ALL.PROPERTY_ID. An expense line must be associated with a valid property.
    • HR_ALL_ORGANIZATION_UNITS via PN_REC_EXP_LINE_ALL.ORG_ID. An expense line is assigned to a valid operating unit.
  • References This Table (Child Tables):
    • PN_REC_EXP_LINE_DTL_ALL via PN_REC_EXP_LINE_DTL_ALL.EXPENSE_LINE_ID. This is the primary child table, storing the detailed allocation of the header expense to specific lease or space assignments.
    • PN_REC_EXPCL_DTL_ALL via PN_REC_EXPCL_DTL_ALL.EXPENSE_LINE_ID. This table links expense lines to specific expense classifications or types, providing another layer of categorization for recovery.