Search Results default_org_flag




Overview

The Oracle EBS view APPS.PSP_ENC_END_DATE_ORG_V is a reporting and integration object within the PSP (Labor Distribution) product family. It is defined with status VALID in the APPS schema and is documented in ETRM for both Oracle E-Business Suite 12.1.1 and 12.2.2. Its stated purpose is to support the setup and review of end dates for labor encumbrance organizations.

Rather than storing data itself, the view projects a distinct subset of columns from the labor encumbrance end-dates table, exposing the organizational and accounting dimensions that identify each encumbrance setup record along with the DEFAULT_ORG_FLAG indicator. This makes the view a convenient, stable interface for queries that need to know, per organization, business group, and set of books, whether a given organization is flagged as the default for labor encumbrance processing. Because it is a view rather than a table, it inherits the security and DML characteristics of its underlying object while presenting a simplified, de-duplicated projection.

In EBS reporting and integration contexts, such views are commonly consumed by concurrent programs, discoverer reports, OAF pages, and custom interfaces that must resolve organizational defaults without navigating the full base table. The DISTINCT clause in the view definition further indicates that it is intended to present a unique list of organizational encumbrance configurations, suppressing duplicate rows that may exist in the base data.

Underlying Base Objects

The view is defined over a single documented base object: PSP_ENC_END_DATES, which is referenced in the ETRM metadata as a SYNONYM. The view text is:

This establishes a one-to-one column projection from the base table, filtered to four columns and made distinct. All data returned by PSP_ENC_END_DATE_ORG_V originates in PSP_ENC_END_DATES, so any insert, update, or delete affecting encumbrance end-date organization setup must be performed against the base table; the view provides read-only visibility. Because PSP_ENC_END_DATES is presented as a synonym in the APPS schema, the view resolves to the underlying PSP application table through standard EBS synonym conventions.

Key Columns

  • ORGANIZATION_ID — The inventory organization identifier for which the labor encumbrance end date applies. This is the primary organizational key in the projection.
  • BUSINESS_GROUP_ID — The HR business group to which the organization belongs, providing the human resources partitioning context for the encumbrance setup.
  • SET_OF_BOOKS_ID — The General Ledger set of books (or ledger in 12.2.2 terminology) associated with the encumbrance end-date configuration.
  • DEFAULT_ORG_FLAG — The flag indicating whether the organization is designated as the default organization for labor encumbrance processing. This is the column of primary interest to users searching on default_org_flag, as it answers whether a given organization is the configured default within its business group and set of books.

Common Use Cases and Queries

Typical scenarios include identifying the default labor encumbrance organization for a business group and set of books, validating organizational setup prior to running labor distribution and encumbrance processes, and feeding organizational defaults into custom reports or interfaces.

To list all organizations with their default flag:

  • SELECT organization_id, business_group_id, set_of_books_id, default_org_flag FROM apps.psp_enc_end_date_org_v;

To find the default organization for a specific business group and set of books:

  • SELECT organization_id FROM apps.psp_enc_end_date_org_v WHERE business_group_id = :p_bg_id AND set_of_books_id = :p_sob_id AND default_org_flag = 'Y';

To confirm whether a specific organization is flagged as default:

  • SELECT default_org_flag FROM apps.psp_enc_end_date_org_v WHERE organization_id = :p_org_id;

Because the view applies DISTINCT, results are suitable for direct use in LOVs and validation queries without additional de-duplication. As with all APPS views, access should be granted through the standard EBS responsibility and menu security model, and queries should filter on the business group and set of books dimensions to avoid cross-organization ambiguity.