Search Results pn_distributions_all
Overview
The PN_DISTRIBUTIONS_ALL table is a core data repository within the Oracle E-Business Suite Property Manager (PN) module. It serves the critical function of storing the detailed accounting distributions associated with payment terms. These distributions define how the financial obligations of a lease, such as rent or operating expenses, are allocated to specific general ledger accounts. The table operates in a multi-org context, as indicated by the "_ALL" suffix, meaning it stores data for all operating units, with security controlled via the ORG_ID column. Its primary role is to link payment terms, which define the schedule and amount of a payment, to the correct accounting code combinations, ensuring accurate financial posting and reporting for property leases.
Key Information Stored
The table's structure centers on linking distribution records to their parent objects and the general ledger. The primary key, DISTRIBUTION_ID, uniquely identifies each distribution record. The two most critical foreign key columns are PAYMENT_TERM_ID and TERM_TEMPLATE_ID, which link the distribution to either a specific payment term (PN_PAYMENT_TERMS_ALL) or a reusable payment term template (PN_TERM_TEMPLATES_ALL). The ACCOUNT_ID column holds the foreign key to GL_CODE_COMBINATIONS, specifying the exact accounting flexfield to be charged. Other significant columns typically include PERCENTAGE or AMOUNT to define the allocation share, ORG_ID for multi-org partitioning, and standard WHO columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) for auditing.
Common Use Cases and Queries
This table is central to financial reporting and audit trails for lease accounting. A common use case is generating a report of all accounting distributions for a specific lease payment term to verify correct account coding. Another scenario involves querying distributions to analyze expense allocation across different cost centers. A typical analytical query would join to payment terms and the general ledger to review account assignments:
- SELECT pt.name term_name, d.percentage, gcc.segment1, gcc.segment2 FROM pn_distributions_all d, pn_payment_terms_all pt, gl_code_combinations gcc WHERE d.payment_term_id = pt.payment_term_id AND d.account_id = gcc.code_combination_id AND pt.lease_id = &lease_id;
The table is also essential for the creation of accrual and invoice distributions within the Property Manager's billing engine.
Related Objects
PN_DISTRIBUTIONS_ALL maintains integral relationships with several key Property Manager and General Ledger tables, as documented in the ETRM metadata. The primary foreign key dependencies, where this table references others, are:
- GL_CODE_COMBINATIONS: Joined via PN_DISTRIBUTIONS_ALL.ACCOUNT_ID to obtain the accounting flexfield details.
- PN_PAYMENT_TERMS_ALL: Joined via PN_DISTRIBUTIONS_ALL.PAYMENT_TERM_ID to link distributions to active payment terms for a lease.
- PN_TERM_TEMPLATES_ALL: Joined via PN_DISTRIBUTIONS_ALL.TERM_TEMPLATE_ID to link distributions to template-defined payment terms.
The primary table that references PN_DISTRIBUTIONS_ALL is:
- PN_DISTRIBUTIONS_HISTORY: References PN_DISTRIBUTIONS_ALL.DISTRIBUTION_ID, creating an audit trail for changes made to distribution records over time.
-
Table: PN_DISTRIBUTIONS_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_DISTRIBUTIONS_ALL, object_name:PN_DISTRIBUTIONS_ALL, status:VALID, product: PN - Property Manager , description: The table stores distributions for a payment term , implementation_dba_data: PN.PN_DISTRIBUTIONS_ALL ,
-
Table: PN_DISTRIBUTIONS_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_DISTRIBUTIONS_ALL, object_name:PN_DISTRIBUTIONS_ALL, status:VALID, product: PN - Property Manager , description: The table stores distributions for a payment term , implementation_dba_data: PN.PN_DISTRIBUTIONS_ALL ,
-
APPS.PNT_PAYMENT_TERMS_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_OPEX_TERMS_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_EXP_TO_AP dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_INDEX_AMOUNT_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_SCHEDULES_ITEMS dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_REC_CALC_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_INDEX_RENT_PERIODS_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_CREATE_ACC dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_INDEX_AMOUNT_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_APPROVE_VARENT_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_REC_CALC_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_OPEX_TERMS_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_DISTRIBUTIONS_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_APPROVE_VARENT_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_EXP_TO_AR dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_VARIABLE_TERM_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_SCHEDULES_ITEMS dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_EXP_TO_AR dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PNT_PAYMENT_TERMS_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_DISTRIBUTIONS_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_CREATE_ACC dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_INDEX_RENT_PERIODS_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_DISTRIBUTION_ACCOUNT dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_EXP_TO_AP dependencies on PN_DISTRIBUTIONS_ALL
12.1.1
-
APPS.PN_VARIABLE_TERM_PKG dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_DISTRIBUTION_ACCOUNT dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_LEASE_PVT dependencies on PN_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PN_REC_CALC_PKG dependencies on PN_DISTRIBUTIONS
12.1.1
-
APPS.PN_REC_CALC_PKG dependencies on PN_DISTRIBUTIONS
12.2.2
-
APPS.PN_INDEX_AMOUNT_PKG dependencies on PN_DISTRIBUTIONS
12.1.1
-
APPS.PN_INDEX_AMOUNT_PKG dependencies on PN_DISTRIBUTIONS
12.2.2
-
APPS.PN_DISTRIBUTIONS_PKG SQL Statements
12.1.1
-
APPS.PN_DISTRIBUTIONS_PKG SQL Statements
12.2.2
-
APPS.PN_OPEX_TERMS_PKG dependencies on PN_DISTRIBUTIONS
12.2.2
-
APPS.PN_EXP_TO_AR dependencies on PN_DISTRIBUTIONS
12.2.2
-
APPS.PN_EXP_TO_AR dependencies on PN_DISTRIBUTIONS
12.1.1
-
VIEW: APPS.PN_DISTRIBUTIONS_ALL_DFV
12.2.2
-
VIEW: APPS.PN_DISTRIBUTIONS_ALL_DFV
12.1.1
-
APPS.PN_DISTRIBUTION_ACCOUNT SQL Statements
12.2.2
-
APPS.PN_DISTRIBUTION_ACCOUNT dependencies on PN_DISTRIBUTIONS
12.2.2
-
APPS.PN_DISTRIBUTION_ACCOUNT SQL Statements
12.1.1
-
APPS.PN_DISTRIBUTION_ACCOUNT dependencies on PN_DISTRIBUTIONS
12.1.1
-
Table: PN_TERM_TEMPLATES_ALL
12.1.1
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_TERM_TEMPLATES_ALL, object_name:PN_TERM_TEMPLATES_ALL, status:VALID, product: PN - Property Manager , description: PN_TERM_TEMPLATES_ALL stores the payment/billing term details defaults. , implementation_dba_data: PN.PN_TERM_TEMPLATES_ALL ,
-
VIEW: PN.PN_DISTRIBUTIONS_ALL#
12.2.2
owner:PN, object_type:VIEW, object_name:PN_DISTRIBUTIONS_ALL#, status:VALID,
-
Table: PN_TERM_TEMPLATES_ALL
12.2.2
owner:PN, object_type:TABLE, fnd_design_data:PN.PN_TERM_TEMPLATES_ALL, object_name:PN_TERM_TEMPLATES_ALL, status:VALID, product: PN - Property Manager , description: PN_TERM_TEMPLATES_ALL stores the payment/billing term details defaults. , implementation_dba_data: PN.PN_TERM_TEMPLATES_ALL ,
-
SYNONYM: APPS.PN_DISTRIBUTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PN_DISTRIBUTIONS_ALL, status:VALID,
-
APPS.PN_OPEX_TERMS_PKG dependencies on PN_DISTRIBUTIONS
12.1.1
-
APPS.PN_VARIABLE_TERM_PKG dependencies on PN_DISTRIBUTIONS
12.1.1