Results for “psp_enc_lines_u1”

10 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

PSP.PSP_ENC_LINES is the transactional base table that stores individual encumbrance lines generated by the Oracle E-Business Suite Create Encumbrance and Update Encumbrance processes within the Oracle Labor Distribution (PSP) module. Each row represents a single debit or credit position against a payroll element, organization account, project, award, or general ledger combination, derived from payroll costing results and labor schedule data. The table is owned by the PSP schema, resides in the APPS_TS_TX_DATA tablespace with PCT Free 10, and is mapped in FND Design Data as PSP.PSP_ENC_LINES. The documented physical schema at the ETRM 12.2.2 level (also applicable to 12.1.1) contains 61 columns.

From a Data Vault modeling perspective, the ETRM metadata classifies this object heuristically as a link table. This is consistent with its structure: it sits at the intersection of payroll, element, organization, project, award, and general ledger reference chains, resolving many-to-many relationships between encumbrance controls, summary lines, and cost distribution entities rather than holding a single immutable business entity.

Key Information Stored

The surrogate primary key is ENC_LINE_ID, enforced by the unique index PSP_ENC_LINES_U1 (the business-key candidate identified in the metadata) and backed by primary key constraint PSP_ENC_LINES_PK. The most significant columns include:

Common Use Cases and Queries

Labor Distribution administrators and financial analysts query PSP_ENC_LINES to reconcile encumbrances against payroll, validate GL postings, and investigate suspense account activity. Typical patterns include:

  • Retrieving all lines for a control run: SELECT * FROM psp_enc_lines WHERE enc_control_id = :p_control_id;
  • Summarizing debit/credit activity by ledger: SELECT set_of_books_id, gl_code_combination_id, SUM(DECODE(dr_cr_flag,'D',encumbrance_amount,-encumbrance_amount)) FROM psp_enc_lines GROUP BY set_of_books_id, gl_code_combination_id;
  • Isolating only updated lines: SELECT * FROM psp_enc_lines WHERE enc_line_type = 'U';
  • Identifying suspense postings via SUSPENSE_REASON_CODE and SUSPENSE_ORG_ACCOUNT_ID.
  • Joining to PER_PEOPLE_F and PER_ASSIGNMENTS_F for labor-cost reporting.

Reporting typically joins to encumbrance controls, payroll actions, and GL code combinations to produce audit trails for period-end close.

Related Objects

The following tables are directly referenced through documented foreign keys and are the most significant dependencies:

Supporting indexes PSP_ENC_LINES_N1 (ENC_CONTROL_ID, PERSON_ID, ASSIGNMENT_ID), PSP_ENC_LINES_N2 (ENC_SUMMARY_LINE_ID), and PSP_ENC_LINES_N3 (PAYROLL_ACTION_ID) optimize the principal access paths used by concurrent processes and reports.