Results for “partner_city”

16 results




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

Overview

ASFV_SALES_CREDITS is a read-only view in the Oracle E-Business Suite Sales Foundation (AS) module. It consolidates sales credit, quota credit, and revenue attribution data recorded against leads and sales groups, enriched with descriptive attributes drawn from sales force, customer, address, and human resources tables. The view is designed primarily for reporting and integration scenarios where users need a denormalized perspective on how credit for a lead is distributed across sales representatives, sales groups, and partner organizations.

The "F" suffix and the WITH READ ONLY clause confirm that this object is a reporting-only construct. It cannot be used for DML operations, and any application logic depending on it must treat the result set as immutable.

Underlying Base Objects

The view is defined over seven base objects joined with outer joins, preserving credit records even when descriptive data is missing:

A pseudocolumn literal '_DF:AS:AS_SALES_CREDITS:CRED' is exposed under the column alias "_DF", functioning as a foreign-key resolver marker for the AS_SALES_CREDITS base row.

Key Columns

Common Use Cases and Queries

The view supports revenue attribution reporting, quota credit analysis, and lead-to-representative traceability. A typical query locating credits by representative name:

SELECT lead_number, sales_rep_first_name, sales_rep_last_name,
       sales_group_name, revenue_amount, revenue_percent
FROM   asfv_sales_credits
WHERE  sales_rep_first_name = :rep_first_name;

Aggregating quota credit by sales group:

SELECT sales_group_name, SUM(quota_credit_amount) total_quota
FROM   asfv_sales_credits
GROUP  BY sales_group_name;

Partner revenue analysis by country:

SELECT partner_country, SUM(revenue_amount) revenue
FROM   asfv_sales_credits
GROUP  BY partner_country;

Because outer joins populate descriptive columns conditionally, reports should anticipate nulls in representative, customer, and address attributes where the corresponding base record is absent.