Search Results ozf_activity_customers
Overview
OZF_ACTIVITY_CUSTOMERS is a denormalized table in the Oracle Trade Management (OZF) module. Its documented purpose is to store Offer and Schedule Market Eligibility information — the qualified, flattened set of trading partners and customers eligible to participate in a specific trade promotion offer or promotion schedule. Rather than resolving eligibility dynamically at runtime through complex qualification joins across HZ_PARTIES, HZ_CUST_ACCOUNTS, and AMS_CUSTOM_SETUPS_B, Oracle EBS precomputes and persists the eligible audience for each activity in this table, dramatically improving query and reporting performance for large promotions.
The table belongs to the OZF schema and is valid in both Oracle EBS 12.1.1 and 12.2.2. It contains 50 documented columns in the ETRM 12.2.2 physical schema. Its primary key is OZF_ACTIVITY_CUSTOMERS_PK, defined on the ACTIVITY_CUSTOMER_ID surrogate column.
From a Data Vault modeling perspective, the metadata's heuristic classification identifies this object as a link. This reflects its structural role: it connects an offer (via OBJECT_ID to OZF_OFFERS) to a party/customer (via HZ_PARTIES_PARTY_ID, CUST_ACCOUNT_ID, CUST_ACCT_SITE_ID), and it carries descriptive performance attributes. In practice it behaves as a link-plus-satellite hybrid because it also stores measures such as actual and forecast revenue, costs, ROI, and units.
Key Information Stored
The most significant columns fall into three functional groups.
- Identity and relationship keys: ACTIVITY_CUSTOMER_ID is the surrogate primary key (OZF_ACTIVITY_CUSTOMERS_PK) that uniquely identifies each eligibility row. OBJECT_ID references OZF_OFFERS and identifies the parent offer. HZ_PARTIES_PARTY_ID, CUST_ACCOUNT_ID, and CUST_ACCT_SITE_ID reference HZ_PARTIES, HZ_CUST_ACCOUNTS, and HZ_CUST_ACCT_SITES_ALL respectively, defining who the eligible trading partner is.
- Eligibility and classification: QUALIFIER_CONTEXT, QUALIFIER_ATTRIBUTE, QP_QUALIFIER_ID, and QP_QUALIFIER_GROUP carry the Oracle Advanced Pricing qualifier context that drove eligibility. OBJECT_CLASS, OBJECT_TYPE, ACTIVE_FLAG, ASK_FOR_FLAG, and CONFIDENTIAL_FLAG indicate the activity type and current eligibility status. START_DATE and END_DATE define the eligibility window.
- Performance measures: ACTUAL_UNITS, ACTUAL_REVENUE, ACTUAL_COSTS, ACTUAL_ROI, FORECAST_UNITS, FORECAST_REVENUE, FORECAST_COSTS, and FORECAST_ROI (with ACTUAL_UOM and FORECAST_UOM) support promotional ROI tracking. Standard Who columns — LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, and LAST_UPDATE_LOGIN — provide auditability.
Common Use Cases and Queries
This table is primarily consumed for promotion eligibility reporting, customer targeting extracts, and trade-spend analysis. A typical query joins back to OZF_OFFERS and HZ_PARTIES to produce a promotion participant list.
- Returning all eligible customers for a given offer:
SELECT ac.ACTIVITY_CUSTOMER_ID,
ac.OBJECT_ID,
ac.HZ_PARTIES_PARTY_ID,
ac.CUST_ACCOUNT_ID,
ac.ACTUAL_REVENUE,
ac.FORECAST_ROI
FROM OZF.OZF_ACTIVITY_CUSTOMERS ac
WHERE ac.OBJECT_ID = :p_offer_id
AND NVL(ac.ACTIVE_FLAG,'Y') = 'Y'
AND TRUNC(SYSDATE) BETWEEN ac.START_DATE AND ac.END_DATE;
- Aggregating actual versus forecast ROI by offer for dashboards.
- Extracting the qualified customer set for outbound campaign execution.
- Feeding price list or modifier generation by joining QP_QUALIFIER_ID to pricing qualifier tables.
Because the table is denormalized, filters on OBJECT_ID and START_DATE/END_DATE should be indexed or the query should be constrained by date to avoid full scans on large promotions.
Related Objects
- OZF_OFFERS — parent offer/schedule; joined via OBJECT_ID = OZF_OFFERS.OBJECT_ID.
- HZ_PARTIES — trading partner; joined via HZ_PARTIES_PARTY_ID = HZ_PARTIES.PARTY_ID.
- HZ_CUST_ACCOUNTS — customer account; joined via CUST_ACCOUNT_ID.
- HZ_CUST_ACCT_SITES_ALL — customer account site; joined via CUST_ACCT_SITE_ID.
- AMS_CUSTOM_SETUPS_B — custom setup definition; joined via CUSTOM_SETUP_ID.
- QP_QUALIFIER tables (Advanced Pricing) — via QP_QUALIFIER_ID and QP_QUALIFIER_GROUP for qualifier resolution.
These relationships confirm the table's position as the bridge between Oracle's Trade Management offer model and the Trading Community Architecture (TCA) customer and party model.
-
Table: OZF_ACTIVITY_CUSTOMERS
12.2.2
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_CUSTOMERS, object_name:OZF_ACTIVITY_CUSTOMERS, status:VALID, product: OZF - Trade Management , description: Denorm table for Offer and Schedules Market Eligibility , implementation_dba_data: OZF.OZF_ACTIVITY_CUSTOMERS ,
-
Table: OZF_ACTIVITY_CUSTOMERS
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_CUSTOMERS, object_name:OZF_ACTIVITY_CUSTOMERS, status:VALID, product: OZF - Trade Management , description: Denorm table for Offer and Schedules Market Eligibility , implementation_dba_data: OZF.OZF_ACTIVITY_CUSTOMERS ,
-
SYNONYM: APPS.OZF_ACTIVITY_CUSTOMERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_ACTIVITY_CUSTOMERS, status:VALID,
-
SYNONYM: APPS.OZF_ACTIVITY_CUSTOMERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_ACTIVITY_CUSTOMERS, status:VALID,
-
PACKAGE BODY: APPS.OZF_ACTIVITY_DENORM_PVT
12.1.1
-
VIEW: OZF.OZF_ACTIVITY_CUSTOMERS#
12.2.2
owner:OZF, object_type:VIEW, object_name:OZF_ACTIVITY_CUSTOMERS#, status:VALID,
-
PACKAGE BODY: APPS.OZF_ACTIVITY_DENORM_PVT
12.2.2
-
VIEW: OZF.OZF_ACTIVITY_CUSTOMERS#
12.2.2
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT SQL Statements
12.1.1
-
TABLE: OZF.OZF_ACTIVITY_CUSTOMERS
12.2.2
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_CUSTOMERS, object_name:OZF_ACTIVITY_CUSTOMERS, status:VALID,
-
TABLE: OZF.OZF_ACTIVITY_CUSTOMERS
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_CUSTOMERS, object_name:OZF_ACTIVITY_CUSTOMERS, status:VALID,
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OZF_PARTY_MERGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_PARTY_MERGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_PARTY_MERGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_PARTY_MERGE_PVT, status:VALID,
-
APPS.OZF_SCHEDULE_DENORM_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OZF_SCHEDULE_DENORM_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_SCHEDULE_DENORM_PVT, status:VALID,
-
APPS.OZF_SCHEDULE_DENORM_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OZF_SCHEDULE_DENORM_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_SCHEDULE_DENORM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_ACCOUNT_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.OZF_ACCOUNT_MERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_ACCOUNT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_OFFR_ELIG_PROD_DENORM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_OFFR_ELIG_PROD_DENORM_PVT, status:VALID,
-
Table: OZF_OFFERS
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_OFFERS, object_name:OZF_OFFERS, status:VALID, product: OZF - Trade Management , description: This is a surrogate table to QP_LIST_HEADERS_B for Offers related information. QP_LIST_HEADER_ID is the foreign key to QP_LIST_HEADERS_B. This table will capture status, peformance dates and lumpsum related offer types. , implementation_dba_data: OZF.OZF_OFFERS ,
-
PACKAGE BODY: APPS.OZF_NET_ACCRUAL_ENGINE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_NET_ACCRUAL_ENGINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_NET_ACCRUAL_ENGINE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_NET_ACCRUAL_ENGINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_ADJUSTMENT_EXT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_ADJUSTMENT_EXT_PVT, status:VALID,
-
Table: OZF_OFFERS
12.2.2
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_OFFERS, object_name:OZF_OFFERS, status:VALID, product: OZF - Trade Management , description: This is a surrogate table to QP_LIST_HEADERS_B for Offers related information. QP_LIST_HEADER_ID is the foreign key to QP_LIST_HEADERS_B. This table will capture status, peformance dates and lumpsum related offer types. , implementation_dba_data: OZF.OZF_OFFERS ,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.OZF_ADJUSTMENT_EXT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_ADJUSTMENT_EXT_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OZF_SCHEDULE_DENORM_PVT
12.1.1
-
PACKAGE BODY: APPS.OZF_SCHEDULE_DENORM_PVT
12.2.2
-
PACKAGE BODY: APPS.HZ_PURGE_GEN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_PURGE_GEN, status:VALID,
-
PACKAGE BODY: APPS.HZ_PURGE_GEN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_PURGE_GEN, status:VALID,
-
TABLE: OZF.OZF_NA_CUSTOMERS_TEMP
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_NA_CUSTOMERS_TEMP, object_name:OZF_NA_CUSTOMERS_TEMP, status:VALID,
-
TABLE: OZF.OZF_NA_CUSTOMERS_TEMP
12.2.2
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_NA_CUSTOMERS_TEMP, object_name:OZF_NA_CUSTOMERS_TEMP, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
APPS.OZF_ACCOUNT_MERGE_PKG SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.OZF_ACCOUNT_MERGE_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT
12.2.2
-
PACKAGE BODY: APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT
12.1.1
-
APPS.OZF_PARTY_MERGE_PVT SQL Statements
12.1.1
-
APPS.OZF_PARTY_MERGE_PVT SQL Statements
12.2.2