Search Results actual_compensation_amt
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
PV_REFERRALS_B is the referrals base table within the Oracle EBS Partner Management (PV) module. It stores one row per referral transaction submitted by, or on behalf of, a partner organization, capturing the customer, contact, benefit, and compensation context surrounding the referral. The table is the primary transactional store for the referral lifecycle and is supported by a translation table (PV_REFERRALS_TL) and related child tables such as PV_REFERRED_PRODUCTS and PV_GE_QSNR_ELEMENTS_B. It is owned by the PV schema and is documented as a valid object in both EBS 12.1.1 and 12.2.2.
From a Data Vault modeling perspective, the mined foreign-key structure indicates a satellite-leaning classification. The table carries descriptive and status attributes (customer details, compensation amounts, status codes, twenty-four descriptive flexfield columns) that behave like satellite payload, while also holding several foreign keys that function as link relationships to accounts, resources, benefits, and claims. Modeling suggest that the referral is best understood as a satellite anchored to a hub on the referral business key, with associated links to the referenced parties.
Key Information Stored
The table contains 81 documented columns. The essential columns comprise:
- REFERRAL_ID — the surrogate primary key defined by PV_REFERRALS_B_PK.
- REFERRAL_CODE — the business key, uniquely enforced by the PV_REFERRALS_B_U2 unique index.
- REFERRAL_STATUS and STATUS_CHANGE_DATE — the current lifecycle state of the referral and when it last changed.
- PARTNER_ID and PARTNER_CUST_ACCOUNT_ID — the partner organization, the latter joining to HZ_CUST_ACCOUNTS.
- PARTNER_CONTACT_RESOURCE_ID — the partner contact, joining to JTF_RS_RESOURCE_EXTNS.
- BENEFIT_ID and BENEFIT_TYPE_CODE — the referral benefit program, joining to PV_GE_BENEFITS_B.
- ENTITY_TYPE and ENTITY_ID_LINKED_TO — the lead or sales lead this referral links to (AS_LEADS_ALL or AS_SALES_LEADS).
- CLAIM_ID and CLAIM_NUMBER — compensation claim linkage to OZF_CLAIMS_ALL.
- EST_COMPENSATION_AMT, ACTUAL_COMPENSATION_AMT, and the matching CURRENCY_CODE columns — estimated versus realized compensation.
- CUSTOMER_NAME and the CUSTOMER_CONTACT_* columns — captured prospect and contact detail.
- DUPLICATE_CUSTOMER_FLAG, DECLINE_REASON_CODE, and RETURN_REASON_CODE — outcome and disqualification context.
- ORG_ID and SECURITY_GROUP_ID — multi-org and security partitioning.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE24 — the descriptive flexfield.
Common Use Cases and Queries
Typical reporting centers on referral pipeline status, partner contribution, and compensation exposure. A common pattern joins the base table to its translation table to retrieve the description in the session language:
SELECT b.referral_id, b.referral_code, t.description, b.referral_status
FROM pv_referrals_b b, pv_referrals_tl t
WHERE b.referral_id = t.referral_id AND t.language = USERENV('LANG');
Compensation analysis aggregates estimated against actual amounts by benefit and currency:
SELECT b.benefit_id, b.currency_code,
SUM(b.est_compensation_amt) est_total, SUM(b.actual_compensation_amt) act_total
FROM pv_referrals_b b GROUP BY b.benefit_id, b.currency_code;
Partner performance reporting joins the partner account to resolve partner names, and joins the customer account or resource tables to enrich contact information. Deduplication checks use DUPLICATE_CUSTOMER_FLAG, while claim reconciliation queries filter on CLAIM_ID. All operational queries should respect ORG_ID and SECURITY_GROUP_ID to preserve multi-org and security-group isolation.
Related Objects
The following objects are most significant in relation to PV_REFERRALS_B:
- PV_REFERRALS_TL — translation table, joined on REFERRAL_ID, supplying language-specific descriptions.
- PV_REFERRED_PRODUCTS — child table, joined on REFERRAL_ID, listing products associated with the referral.
- PV_GE_QSNR_ELEMENTS_B — joined via USED_BY_ENTITY_ID, linking questionnaire elements to the referral.
- HZ_CUST_ACCOUNTS — referenced through PARTNER_CUST_ACCOUNT_ID for partner account data.
- JTF_RS_RESOURCE_EXTNS — referenced through PARTNER_CONTACT_RESOURCE_ID for the partner contact resource.
- PV_GE_BENEFITS_B — referenced through BENEFIT_ID for the benefit program.
- AS_LEADS_ALL / AS_SALES_LEADS — referenced through ENTITY_ID_LINKED_TO for lead linkage.
- OZF_CLAIMS_ALL — referenced through CLAIM_ID for claim and compensation integration.
- FND_SECURITY_GROUPS — referenced through SECURITY_GROUP_ID for security partitioning.
-
Table: PV_REFERRALS_B
12.2.2
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_REFERRALS_B, object_name:PV_REFERRALS_B, status:VALID, product: PV - Partner Management , description: Referrals base table , implementation_dba_data: PV.PV_REFERRALS_B ,
-
Table: PV_REFERRALS_B
12.1.1
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_REFERRALS_B, object_name:PV_REFERRALS_B, status:VALID, product: PV - Partner Management , description: Referrals base table , implementation_dba_data: PV.PV_REFERRALS_B ,
-
VIEW: PV.PV_REFERRALS_B#
12.2.2
-
VIEW: PV.PV_REFERRALS_B#
12.2.2
owner:PV, object_type:VIEW, object_name:PV_REFERRALS_B#, status:VALID,
-
View: PV_REFERRALS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PV.PV_REFERRALS_VL, object_name:PV_REFERRALS_VL, status:VALID, product: PV - Partner Management , description: Referrals view , implementation_dba_data: APPS.PV_REFERRALS_VL ,
-
View: PV_REFERRALS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PV.PV_REFERRALS_VL, object_name:PV_REFERRALS_VL, status:VALID, product: PV - Partner Management , description: Referrals view , implementation_dba_data: APPS.PV_REFERRALS_VL ,
-
TABLE: PV.PV_REFERRALS_B
12.2.2
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_REFERRALS_B, object_name:PV_REFERRALS_B, status:VALID,
-
APPS.PV_REFERRALS_PKG SQL Statements
12.2.2
-
APPS.PV_REFERRALS_PKG SQL Statements
12.1.1
-
VIEW: APPS.PV_REFERRALS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PV.PV_REFERRALS_VL, object_name:PV_REFERRALS_VL, status:VALID,
-
VIEW: APPS.PV_REFERRALS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PV.PV_REFERRALS_VL, object_name:PV_REFERRALS_VL, status:VALID,
-
TABLE: PV.PV_REFERRALS_B
12.1.1
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_REFERRALS_B, object_name:PV_REFERRALS_B, status:VALID,
-
APPS.PV_REFERRAL_COMP_PUB SQL Statements
12.2.2
-
APPS.PV_REFERRAL_COMP_PUB SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PV_REFERRALS_PKG
12.2.2
-
PACKAGE BODY: APPS.PV_REFERRALS_PKG
12.1.1
-
PACKAGE BODY: APPS.PV_REFERRAL_COMP_PUB
12.1.1
-
PACKAGE BODY: APPS.PV_REFERRAL_COMP_PUB
12.2.2
-
APPS.PV_REFERRAL_COMP_PUB dependencies on PV_REFERRALS_B
12.2.2
-
APPS.PV_REFERRAL_COMP_PUB dependencies on PV_REFERRALS_B
12.1.1
-
eTRM - PV Tables and Views
12.2.2
description: PV User - custom entries ,
-
eTRM - PV Tables and Views
12.1.1