Search Results object_class
Overview
The table OZF.OZF_ACTIVITY_CUSTOMERS is a transaction data table in the Oracle EBS 12.1.1 and 12.2.2 Oracle Trade Management (OZF) schema. Per the ETRM metadata, it stores the denormalized market eligibility for an Offer and a Campaign Schedule of type Deal or Trade Promotion. In practical terms, the table materializes the resolved intersection between marketing activities (offers, deals, trade promotions) and the customer hierarchy against which those activities are eligible to be executed. The denormalized design avoids repeated runtime evaluation of complex qualifier rules by persisting the outcome of eligibility resolution into rows keyed by activity and customer.
Using a heuristic Data Vault lens, the physical design of the table suggests a link classification. The presence of two non-unique secondary indexes bound to surrogate foreign keys (OBJECT_CLASS/OBJECT_ID and SITE_USE_ID) and the reference to HZ_PARTIES, HZ_CUST_ACCOUNTS, and HZ_CUST_ACCT_SITES_ALL is consistent with an associative structure capturing relationships between marketing activities and trading partners rather than a pure descriptive hub or a slowly changing satellite.
Key Information Stored
The table's surrogate primary key is ACTIVITY_CUSTOMER_ID, defined by the constraint OZF_ACTIVITY_CUSTOMERS_PK. Two secondary non-unique indexes provide the principal access paths: OZF_ACTIVITY_CUSTOMERS_N1 on (OBJECT_CLASS, OBJECT_ID) and OZF_ACTIVITY_CUSTOMERS_N2 on SITE_USE_ID. No documented unique business key exists beyond the surrogate, so business-key candidacy is expressed through the object and customer identifiers and the associated qualifier columns.
OBJECT_CLASSandOBJECT_ID— the code and unique identifier of the object being denormalized, typically an Offer or Campaign Schedule.OBJECT_TYPE,OBJECT_DESC,OBJECT_STATUS— descriptive and status attributes of the referenced object.PARENT_CLASS,PARENT_ID,PARENT_DESC,PARENT_TYPE,PARENT_STATUS— attributes of the parent object, supporting hierarchical reporting.PARTY_ID,CUST_ACCOUNT_ID,CUST_ACCT_SITE_ID,SITE_USE_ID,SITE_USE_CODE— the customer identification and site usage chain, tying eligibility to a specific trading partner and customer site use.QUALIFIER_CONTEXT,QUALIFIER_ATTRIBUTE,QP_QUALIFIER_ID,QP_QUALIFIER_GROUP— the market qualifier context and attribute used to define the eligibility rule set.ACTIVITY_ID,ACTIVITY_TYPE_CODE,MARKETING_MEDIUM_ID,OFFER_CODE— attributes of the marketing activity itself.START_DATE,END_DATE— the effective date range during which the eligibility applies.ACTUAL_UNITS,ACTUAL_REVENUE,ACTUAL_COSTS,ACTUAL_ROI,FORECAST_UNITS,FORECAST_REVENUE,FORECAST_COSTS,FORECAST_ROI— denormalized actual and forecast performance measures for the activity–customer pair.ACTIVE_FLAG,CONFIDENTIAL_FLAG,PROD_INDICATOR— state and classification indicators used to filter rows in reporting.CURRENCY_CODE,ACTUAL_UOM,FORECAST_UOM— currency and unit of measure for the associated measures.
Common Use Cases and Queries
The table is the primary source for determining which customers are eligible for a given offer or promotion, and for reporting realized versus forecast performance by customer. Typical access patterns use the (OBJECT_CLASS, OBJECT_ID) index to retrieve all eligible customers for an activity, or the SITE_USE_ID index to retrieve all activities for a specific customer site use.
- Eligibility lookup:
SELECT * FROM OZF_ACTIVITY_CUSTOMERS WHERE OBJECT_CLASS = 'OFFER' AND OBJECT_ID = :offer_id AND ACTIVE_FLAG = 'Y'; - Customer activity history:
SELECT OBJECT_ID, OFFER_CODE, START_DATE, END_DATE FROM OZF_ACTIVITY_CUSTOMERS WHERE SITE_USE_ID = :site_use_id AND SYSDATE BETWEEN START_DATE AND END_DATE; - Performance rollup: aggregate
ACTUAL_REVENUEandFORECAST_REVENUEgrouped byACTIVITY_IDandCURRENCY_CODE, typically restricted byPROD_INDICATORto exclude non-production rows. - Qualifier-driven reporting: filter by
QUALIFIER_CONTEXT,QUALIFIER_ATTRIBUTE, andQP_QUALIFIER_GROUPto reproduce the eligibility rule set applied to each customer.
Related Objects
The ETRM relationship metadata documents foreign keys that anchor this table to the trading partner and marketing activity models. The principal related objects are:
OZF_OFFERS— referenced viaOBJECT_ID, providing the offer definition that eligibility is resolved against.HZ_PARTIES— referenced viaHZ_PARTIES_PARTY_ID, supplying the trading partner identity.HZ_CUST_ACCOUNTS— referenced viaCUST_ACCOUNT_ID, providing the customer account.HZ_CUST_ACCT_SITES_ALL— referenced viaCUST_ACCT_SITE_ID, providing the customer account site.AMS_CUSTOM_SETUPS_B— referenced viaCUSTOM_SETUP_ID, linking the row to a defined custom setup.OZF_ACTIVITY_CUSTOMERS_PK— the primary key constraint used by dependent objects and by the Oracle Trade Management application layer.
-
APPS.FND_TS_SIZE SQL Statements
12.2.2
-
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.FND_TS_SIZE SQL Statements
12.1.1
-
APPS.OZF_SCHEDULE_DENORM_PVT SQL Statements
12.1.1
-
VIEW: OZF.OZF_ACTIVITY_CUSTOMERS#
12.2.2
-
PACKAGE BODY: APPS.FND_TS_SIZE
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,
-
VIEW: OZF.OZF_ACTIVITY_PRODUCTS_TEMP#
12.2.2
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT SQL Statements
12.1.1
-
VIEW: OZF.OZF_ACTIVITY_CUSTOMERS_TEMP#
12.2.2
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT SQL Statements
12.2.2
-
VIEW: OZF.OZF_ACTIVITY_PRODUCTS#
12.2.2
-
VIEW: OZF.OZF_NA_CUSTOMERS_TEMP#
12.2.2
-
APPS.OZF_SCHEDULE_DENORM_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.FND_TS_SIZE
12.2.2
-
TABLE: OZF.OZF_ACTIVITY_PRODUCTS_TEMP
12.2.2
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_PRODUCTS_TEMP, object_name:OZF_ACTIVITY_PRODUCTS_TEMP, status:VALID,
-
PACKAGE BODY: APPS.OZF_SCHEDULE_DENORM_PVT
12.1.1
-
PACKAGE BODY: APPS.OZF_SCHEDULE_DENORM_PVT
12.2.2
-
TABLE: OZF.OZF_ACTIVITY_PRODUCTS_TEMP
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_PRODUCTS_TEMP, object_name:OZF_ACTIVITY_PRODUCTS_TEMP, status:VALID,
-
VIEW: OZF.OZF_NA_CUSTOMERS_TEMP#
12.2.2
owner:OZF, object_type:VIEW, object_name:OZF_NA_CUSTOMERS_TEMP#, status:VALID,
-
TABLE: OZF.OZF_ACTIVITY_PRODUCTS
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_PRODUCTS, object_name:OZF_ACTIVITY_PRODUCTS, status:VALID,
-
TABLE: OZF.OZF_ACTIVITY_CUSTOMERS_TEMP
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_CUSTOMERS_TEMP, object_name:OZF_ACTIVITY_CUSTOMERS_TEMP, status:VALID,
-
VIEW: OZF.OZF_ACTIVITY_CUSTOMERS#
12.2.2
owner:OZF, object_type:VIEW, object_name:OZF_ACTIVITY_CUSTOMERS#, status:VALID,
-
VIEW: OZF.OZF_ACTIVITY_PRODUCTS_TEMP#
12.2.2
owner:OZF, object_type:VIEW, object_name:OZF_ACTIVITY_PRODUCTS_TEMP#, status:VALID,
-
VIEW: OZF.OZF_ACTIVITY_PRODUCTS#
12.2.2
owner:OZF, object_type:VIEW, object_name:OZF_ACTIVITY_PRODUCTS#, status:VALID,
-
VIEW: OZF.OZF_ACTIVITY_CUSTOMERS_TEMP#
12.2.2
owner:OZF, object_type:VIEW, object_name:OZF_ACTIVITY_CUSTOMERS_TEMP#, status:VALID,
-
TABLE: OZF.OZF_ACTIVITY_CUSTOMERS_TEMP
12.2.2
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_CUSTOMERS_TEMP, object_name:OZF_ACTIVITY_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,
-
TABLE: OZF.OZF_ACTIVITY_PRODUCTS
12.2.2
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_ACTIVITY_PRODUCTS, object_name:OZF_ACTIVITY_PRODUCTS, 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,
-
PACKAGE BODY: APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT
12.2.2
-
TYPE: MGDSYS.MGD_EPCTYPE
12.1.1
owner:MGDSYS, object_type:TYPE, object_name:MGD_EPCTYPE, status:VALID,
-
PACKAGE BODY: APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT
12.1.1
-
TYPE: MGDSYS.MGD_EPCTYPE
12.2.2
owner:MGDSYS, object_type:TYPE, object_name:MGD_EPCTYPE, status:VALID,
-
APPS.OZF_NET_ACCRUAL_ENGINE_PVT SQL Statements
12.1.1
-
APPS.OZF_NET_ACCRUAL_ENGINE_PVT SQL Statements
12.2.2
-
APPS.OZF_ACCOUNT_MERGE_PKG SQL Statements
12.2.2
-
APPS.OZF_ACCOUNT_MERGE_PKG SQL Statements
12.1.1
-
APPS.OZF_ADJUSTMENT_EXT_PVT SQL Statements
12.2.2
-
APPS.OZF_ADJUSTMENT_EXT_PVT SQL Statements
12.1.1
-
APPS.FND_TS_SIZE dependencies on FND_TS_MIG_UTIL
12.2.2
-
APPS.FND_TS_SIZE dependencies on FND_TS_MIG_UTIL
12.1.1
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT dependencies on OZF_ACTIVITY_CUSTOMERS_TEMP
12.1.1
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT dependencies on OZF_ACTIVITY_CUSTOMERS
12.1.1
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT dependencies on OZF_ACTIVITY_PRODUCTS_TEMP
12.1.1
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT dependencies on OZF_ACTIVITY_CUSTOMERS_TEMP
12.2.2
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT dependencies on OZF_ACTIVITY_CUSTOMERS
12.2.2
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT dependencies on OZF_ACTIVITY_PRODUCTS_TEMP
12.2.2
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT dependencies on OZF_ACTIVITY_PRODUCTS
12.2.2
-
APPS.OZF_OFFR_ELIG_PROD_DENORM_PVT dependencies on OZF_ACTIVITY_PRODUCTS
12.1.1