Results for “document_status”

6 results




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

Overview

APPS.PER_CONTRACTS_V2 is a VALID database view in the Oracle E-Business Suite 12.1.1 and 12.2.2 environments, owned by the APPS schema and assigned to the PER (Human Resources) product family. Its documented purpose is to support the Manage Contracts form in Oracle HRMS, presenting contract and contract-document information for persons within a business group in a form suitable for both the form layer and downstream reporting or integration use. The view consolidates data from person, person-type, period-of-service, and contract sources into a single denormalized row per contract, which makes it convenient for EBS reporting, concurrent programs, and inbound/outbound interfaces that require contract status and document status information without joining the underlying HR tables manually. ETRM metadata records its status as VALID and its owner as APPS.

Underlying Base Objects

The documented base objects referenced by PER_CONTRACTS_V2 include both tables and PL/SQL packages:

Because the view text aliases these objects as PER, CON, PPT, PPS, and SES, the view behaves as a joined projection rather than a stored table; it inherits the effective-dated and security semantics of the HRMS person model.

Key Columns

The view exposes a wide set of columns. The most significant include:

Common Use Cases and Queries

Typical uses include generating contract and document-status listings, feeding interfaces that must reconcile contract documentation state, and validating the Manage Contracts form data.

List contracts by document status for a business group:

  • SELECT person_id, employee_number, full_name, contract_id, reference, status, doc_status, doc_status_change_date FROM apps.per_contracts_v2 WHERE business_group_id = :p_bg_id AND doc_status = :p_doc_status ORDER BY full_name;

Obtain decoded document status meanings:

  • SELECT contract_id, reference, HR_GENERAL.DECODE_LOOKUP('DOCUMENT_STATUS', doc_status) document_status_meaning FROM apps.per_contracts_v2 WHERE person_id = :p_person_id;

Join to person or assignment data for downstream reporting:

  • SELECT v.full_name, v.contract_id, v.status, v.doc_status, a.assignment_number FROM apps.per_contracts_v2 v, apps.per_assignments_f a WHERE v.person_id = a.person_id AND TRUNC(SYSDATE) BETWEEN a.effective_start_date AND a.effective_end_date;

Because the view relies on HR security and session context, queries should respect business-group filtering and, where applicable, secure the results using the standard HR security APIs.