Search Results pa_exp_inv_pjtk




Overview

PA_PTE_DL_LKUP_V is a Projects (PA) module lookup view that consolidates reference data used by Oracle Projects for expenditure processing, transaction validation, and messaging. The view is documented in ETRM as providing "Lookup data from Oracle Projects," and it serves as a centralized read-only source of code/meaning pairs and FND message text required by downstream components of the Projects application.

Its principal role is to expose, under a uniform four-column shape (LOOKUP_TYPE, LOOKUP_CODE, MEANING, DESCRIPTION), both standard PA lookup codes and selected Oracle Application Object Library messages. This makes it convenient for concurrent programs, forms, and integration routines that must resolve codes to user-facing meanings or validate expenditure transactions without querying multiple base objects individually.

The view is especially relevant to expenditure inquiry and transaction import flows. The user search term "pa_exp_inv_pjtk" corresponds to one of the FND messages referenced inside the view definition (PA_EXP_INV_PJTK), indicating interest in the expenditure validation message set surfaced by this view.

Underlying Base Objects

The ETRM metadata explicitly lists no documented referenced base objects for this view, and states it is "Not implemented in this database." However, the documented view text defines it as a UNION of two queries, which reveals the effective base objects as follows:

Because the view is not implemented in the reference database, the base objects exist logically but the view is not instantiated; implementations requiring it must create the view per the documented text.

Key Columns

  • LOOKUP_TYPE — categorizes the row, e.g., 'EXPENDITURE STATUS', 'UNIT', 'TRANSACTION REJECTION REASON', 'MESSAGE', 'TRANSLATION', 'PROMPT'. This is the primary discriminator for filtering.
  • LOOKUP_CODE — the code value, such as an expenditure status code or an FND message name (e.g., PA_EXP_INV_PJTK).
  • MEANING — the short display label associated with the code; for message rows, the message text truncated to 80 characters.
  • DESCRIPTION — the descriptive text; for PA_LOOKUPS it is truncated to 240 characters via SUBSTR(DESCRIPTION,1,240), and for message rows it carries the full message text.

Common Use Cases and Queries

Typical scenarios include resolving rejection reasons during expenditure import, populating LOVs on expenditure forms, and retrieving the text of validation messages such as PA_EXP_INV_PJTK for user feedback. Sample queries:

  • Retrieve all rejection reasons: SELECT lookup_code, meaning FROM pa_pte_dl_lkup_v WHERE lookup_type = 'TRANSACTION REJECTION REASON';
  • Fetch the text of a specific expenditure message: SELECT lookup_code, description FROM pa_pte_dl_lkup_v WHERE lookup_type = 'TRANSACTION REJECTION REASON' AND lookup_code = 'PA_EXP_INV_PJTK';
  • List all message-type entries: SELECT lookup_code, meaning FROM pa_pte_dl_lkup_v WHERE lookup_type = 'MESSAGE';

Because the view is documented as not implemented in the reference environment, confirm its existence in the target instance, or create it using the documented view text before relying on these queries.