Search Results pa_agreements
Overview
PA_AGREEMENTS is a single-organization reporting view in the Oracle Projects (PA) module of Oracle E-Business Suite, documented in ETRM under the same title. It presents project and customer agreement data — such as contract agreements, funding agreements, and customer agreements — in a form scoped to the organization of the active session. The view is a filtered projection of the multi-organization table PA_AGREEMENTS_ALL, and its defining characteristic is the row-level security predicate applied through the ORG_ID column. The predicate reads the organization identifier from the client environment (USERENV('CLIENT_INFO')) and restricts returned rows to agreements belonging to that organization, substituting a value of -99 when no organization context can be derived.
Because the view is described as "Single-Org," it serves as the organization-scoped access path for agreement data, whereas PA_AGREEMENTS_ALL contains agreements across all operating units. In the ETRM 12.2.2 metadata, the view is recorded with no owner and no documented referenced base objects, and implementation notes state that it is not implemented in the reference database from which the excerpt was taken. Its role in reporting and integration is therefore that of a conventional MOAC-aware (Multi-Org Access Control) view: application logic and custom reports may query PA_AGREEMENTS when the intent is to see only agreements for the currently selected operating unit.
Underlying Base Objects
The documented view text selects from a single base object, PA_AGREEMENTS_ALL:
SELECT ... FROM PA_AGREEMENTS_ALL WHERE NVL(ORG_ID, ...) = NVL(TO_NUMBER(DECODE(SUBSTR(USERENV('CLIENT_INFO'),1,1),' ',NULL,SUBSTR(USERENV('CLIENT_INFO'),1,10))), -99)
No other base tables or views are documented in the ETRM metadata. The relationship between the view and the base table is a straightforward projection: all columns enumerated in the view text map one-to-one to columns of PA_AGREEMENTS_ALL, and the view adds only the ORG_ID filter. The filter uses the standard EBS client-information mechanism, parsing the first ten characters of the CLIENT_INFO value to yield the organization identifier. When the session supplies no organization, the expression collapses to -99, which typically returns no agreements.
Key Columns
The view exposes the following columns, which correspond directly to PA_AGREEMENTS_ALL. The important identifiers and business attributes include:
- AGREEMENT_ID — Primary key of the agreement record.
- CUSTOMER_ID — Customer associated with the agreement.
- AGREEMENT_NUM — User-visible agreement number.
- AGREEMENT_TYPE — Classification of the agreement (for example, contract or funding).
- OWNED_BY_PERSON_ID — Person who owns the agreement.
- TERM_ID — Payment term associated with the agreement.
- REVENUE_LIMIT_FLAG and INVOICE_LIMIT_FLAG — Indicators controlling whether revenue or invoicing is limited by the agreement amount.
- AMOUNT — Agreement monetary amount.
- EXPIRATION_DATE — Date on which the agreement expires.
- AGREEMENT_CURRENCY_CODE — Currency of the agreement amount.
- TEMPLATE_FLAG — Indicates whether the record is a reusable template.
- ORG_ID — Operating unit identifier used by the single-org filter.
- OWNING_ORGANIZATION_ID — Organization owning the agreement.
- PM_AGREEMENT_REFERENCE and PM_PRODUCT_CODE — Reference and product code linking the agreement to project management context.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE10 — Descriptive flexfield context and segments.
- Standard audit columns CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN.
Common Use Cases and Queries
The view is typically used in organization-scoped reporting. A basic query lists active agreements for the session organization:
SELECT agreement_id, agreement_num, customer_id, agreement_type,
amount, agreement_currency_code, expiration_date
FROM pa_agreements
WHERE NVL(expiration_date, SYSDATE + 1) > SYSDATE;
Aggregation by type is common for funding analysis:
SELECT agreement_type, COUNT(*) agreements, SUM(amount) total_amount FROM pa_agreements GROUP BY agreement_type;
Joining to customer and organization references supports contract reporting:
SELECT a.agreement_num, a.amount, c.customer_name FROM pa_agreements a, ra_customers c WHERE a.customer_id = c.customer_id;
Because the view is organization-restricted, reports intended for cross-organization analysis must query PA_AGREEMENTS_ALL instead, or ensure that the correct operating unit is set in the session. The flexfield attributes are frequently extracted for custom descriptive reporting.
-
View: PA_AGREEMENTS
12.1.1
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
View: PA_AGREEMENTS
12.2.2
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
APPS.PAP_CMERGE_BB1 SQL Statements
12.2.2
-
APPS.PAP_CMERGE_BB1 SQL Statements
12.1.1
-
VIEW: APPS.PA_AGREEMENTS_AMG_V
12.2.2
-
VIEW: APPS.PA_AGREEMENTS_AMG_V
12.1.1
-
PACKAGE BODY: APPS.PAP_CMERGE_BB1
12.1.1
-
PACKAGE BODY: APPS.PAP_CMERGE_BB1
12.2.2
-
APPS.PA_INVOICE_UTILS SQL Statements
12.1.1
-
VIEW: APPS.PA_PROJECT_FUNDING_AUDITS
12.2.2
-
VIEW: APPS.PA_PROJECT_FUNDING_AUDITS
12.1.1
-
PACKAGE BODY: APPS.PA_INVOICE_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_INVOICE_UTILS, status:VALID,
-
VIEW: APPS.PA_AGREEMENTS_V
12.1.1
-
APPS.PA_INVOICE_UTILS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PA_AGREEMENTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AGREEMENTS_PKG, status:VALID,
-
VIEW: APPS.PA_AGREEMENTS_V
12.2.2
-
PACKAGE BODY: APPS.PAP_CMERGE_BB1
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAP_CMERGE_BB1, status:VALID,
-
PACKAGE BODY: APPS.PA_INVOICE_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_INVOICE_UTILS, status:VALID,
-
PACKAGE BODY: APPS.PA_AGREEMENT_CORE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AGREEMENT_CORE, status:VALID,
-
PACKAGE BODY: APPS.PAP_CMERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAP_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.PA_FUNDING_CORE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_FUNDING_CORE, status:VALID,
-
SYNONYM: APPS.PA_AGREEMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_AGREEMENTS, status:VALID,
-
PACKAGE BODY: APPS.PA_AGREEMENTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AGREEMENTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_PERSON
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PERSON, status:VALID,
-
PACKAGE BODY: APPS.PA_MULTI_CURRENCY_BILLING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_MULTI_CURRENCY_BILLING, status:VALID,
-
View: PA_AGREEMENTS_AMG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_AGREEMENTS_AMG_V, object_name:PA_AGREEMENTS_AMG_V, status:VALID, product: PA - Projects , description: This Single-Org view based on PA_AGREEMENTS_ALL table, stores information about legally binding documents from customers that serve as the basis of work authorization for projects , implementation_dba_data: APPS.PA_AGREEMENTS_AMG_V ,
-
PACKAGE BODY: APPS.PAP_CMERGE_BB1
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAP_CMERGE_BB1, status:VALID,
-
PACKAGE BODY: APPS.PA_BILLING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_BILLING, status:VALID,
-
SYNONYM: APPS.PA_AGREEMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_AGREEMENTS, status:VALID,
-
PACKAGE BODY: APPS.PA_FUNDING_CORE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_FUNDING_CORE, status:VALID,
-
View: PA_AGREEMENTS_AMG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_AGREEMENTS_AMG_V, object_name:PA_AGREEMENTS_AMG_V, status:VALID, product: PA - Projects , description: This Single-Org view based on PA_AGREEMENTS_ALL table, stores information about legally binding documents from customers that serve as the basis of work authorization for projects , implementation_dba_data: APPS.PA_AGREEMENTS_AMG_V ,
-
PACKAGE BODY: APPS.PA_MULTI_CURRENCY_BILLING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_MULTI_CURRENCY_BILLING, status:VALID,
-
PACKAGE BODY: APPS.PAP_CMERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAP_CMERGE, status:VALID,
-
PACKAGE BODY: APPS.PA_AGREEMENT_CORE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AGREEMENT_CORE, status:VALID,
-
PACKAGE BODY: APPS.GMS_MULTI_FUNDING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_MULTI_FUNDING, status:VALID,
-
PACKAGE BODY: APPS.PA_PERSON
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PERSON, status:VALID,
-
PACKAGE BODY: APPS.PA_INVOICE_UTILS
12.2.2
-
View: PA_PROJECT_FUNDING_AUDITS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJECT_FUNDING_AUDITS, object_name:PA_PROJECT_FUNDING_AUDITS, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_PROJECT_FUNDING_AUDITS ,
-
View: PA_PROJECT_FUNDING_AUDITS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJECT_FUNDING_AUDITS, object_name:PA_PROJECT_FUNDING_AUDITS, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_PROJECT_FUNDING_AUDITS ,
-
APPS.PA_AGREEMENTS_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.GMS_MULTI_FUNDING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_MULTI_FUNDING, status:VALID,
-
PACKAGE BODY: APPS.PA_INVOICE_UTILS
12.1.1
-
View: PA_AGREEMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_AGREEMENTS_V, object_name:PA_AGREEMENTS_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_AGREEMENTS_V ,
-
APPS.PA_AGREEMENTS_PKG SQL Statements
12.1.1
-
View: PA_AGREEMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_AGREEMENTS_V, object_name:PA_AGREEMENTS_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_AGREEMENTS_V ,
-
VIEW: APPS.PA_PROJECT_FUNDING_AUDITS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJECT_FUNDING_AUDITS, object_name:PA_PROJECT_FUNDING_AUDITS, status:VALID,
-
VIEW: APPS.PA_PROJECT_FUNDING_AUDITS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJECT_FUNDING_AUDITS, object_name:PA_PROJECT_FUNDING_AUDITS, status:VALID,
-
APPS.PA_MULTI_CURRENCY_BILLING SQL Statements
12.2.2
-
APPS.PA_MULTI_CURRENCY_BILLING SQL Statements
12.1.1
-
APPS.PA_AGREEMENT_CORE SQL Statements
12.2.2