Results for “pjm_borrow_transactions_u1”

10 results




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

Overview

The PJM.PJM_BORROW_TRANSACTIONS table is a transactional data object within the Oracle E-Business Suite Projects (PJM) schema. It captures inter-project borrow transactions at the moment they are entered into MTL_MATERIAL_TRANSACTIONS, forming the authoritative record of loaned material between a lending project/task and a borrowing project/task. In addition to recording the original entry event, the table persists the outstanding loan quantity for each borrow transaction, enabling the system to track partial or complete paybacks over time. Because a single borrow transaction can be settled through multiple payback transactions recorded in PJM_BORROW_PAYBACKS, this table serves as the parent (header-level) container for the full borrowing lifecycle.

From a dimensional modeling perspective, the metadata's heuristic Data Vault classification places this object as satellite-leaning. This suggests it is best modeled as descriptive context attached to a parent borrowing entity — the BORROW_TRANSACTION_ID behaves as the surrogate key (backed by the unique index PJM_BORROW_TRANSACTIONS_U1), while the surrounding project, item, and organization references act as link-style foreign key relationships to their respective hubs.

Key Information Stored

The table resides in the APPS_TS_TX_DATA tablespace and contains 21 documented columns. The most significant include:

Common Use Cases and Queries

Typical reporting scenarios include identifying all outstanding loans for a lending project, calculating payback progress, and reconciling borrow balances against material transaction history.

  • Outstanding loan report by lending project:
    SELECT borrow_transaction_id, lending_project_id, inventory_item_id,
           loan_quantity, outstanding_quantity, loan_date
    FROM   pjm_borrow_transactions
    WHERE  lending_project_id = :project_id
    AND    outstanding_quantity > 0;
  • Payback progress ratio: 1 - (OUTSTANDING_QUANTITY / LOAN_QUANTITY) per transaction.
  • Overdue loans where SCHEDULED_PAYBACK_DATE < SYSDATE and OUTSTANDING_QUANTITY > 0.
  • Item-level loan exposure by joining to MTL_SYSTEM_ITEMS_B for descriptive flexfields and item descriptions.

Related Objects

  • MTL_MATERIAL_TRANSACTIONS — Source of the borrow entry; joined on BORROW_TRANSACTION_ID.
  • PJM_BORROW_PAYBACKS — Child table; joins on BORROW_TRANSACTION_ID to record payback events against outstanding quantities.
  • PA_PROJECTS_ALL — Referenced twice for borrow and lending projects via BORROW_PROJECT_ID and LENDING_PROJECT_ID.
  • PA_TASKS — Referenced for BORROW_TASK_ID and LENDING_TASK_ID task context.
  • MTL_SYSTEM_ITEMS_B — Supplies item attributes via INVENTORY_ITEM_ID.
  • MTL_ITEM_REVISIONS_B — Supports revision-level detail for loaned items.