Search Results pn_note_headers




Overview

The PN_NOTE_HEADERS table is a core data object within the Oracle E-Business Suite Property Manager (PN) module. It functions as the master record for categorizing and organizing textual notes or comments associated with lease agreements. Its primary role is to define the type or category of a note, such as "General Terms," "Payment Instructions," or "Special Clauses," thereby providing a structured framework for attaching detailed note text stored in the related PN_NOTE_DETAILS table. This separation of header (type) and detail (text) allows for efficient management, categorization, and reporting on lease-specific annotations across the application.

Key Information Stored

The table's structure centers on a unique identifier and a link to the parent lease. The most critical columns, as indicated by the provided metadata, are:

  • NOTE_HEADER_ID: The primary key (PK) column, uniquely identifying each note type record. This is the column referenced by the PN_NOTE_DETAILS table.
  • LEASE_ID: A foreign key (FK) column that links the note header to a specific lease in the PN_LEASES_ALL table. This establishes the note's context within the lease management system.

While the provided ETRM excerpt does not list all columns, typical implementations would also include columns for the note type or category name, creation date, created by, last update date, and last updated by to support standard EBS auditing and descriptive purposes.

Common Use Cases and Queries

This table is central to queries that retrieve categorized notes for lease reporting or data validation. A common use case is generating a lease abstract report that includes all formal notes attached to a lease, grouped by their type. Developers and report writers frequently join this table to fetch note metadata. A sample SQL pattern to retrieve all note headers for a specific lease would be:

  • SELECT note_header_id, [other_columns] FROM pn.pn_note_headers WHERE lease_id = <lease_id>;

For a complete view, a typical query joins PN_NOTE_HEADERS with PN_NOTE_DETAILS to get both the note category and the note text:

  • SELECT h.note_header_id, h.[note_type], d.note_text FROM pn.pn_note_headers h, pn.pn_note_details d WHERE h.note_header_id = d.note_header_id AND h.lease_id = <lease_id>;

Related Objects

The PN_NOTE_HEADERS table sits at the center of a key relationship hierarchy within Property Manager's note functionality, as documented in the provided metadata.

  • Referenced Parent Table (Foreign Key):
    • PN_LEASES_ALL: The PN_NOTE_HEADERS.LEASE_ID column is a foreign key to this table. Every note header must be associated with a valid lease.
  • Referencing Child Table (Foreign Key):
    • PN_NOTE_DETAILS: This table holds the actual note text. Its NOTE_HEADER_ID column is a foreign key to PN_NOTE_HEADERS.NOTE_HEADER_ID. This is a one-to-many relationship where one note header (type) can have multiple detail lines of text.