Search Results ozf_cust_trd_prfls
Overview
APPS.OZF_CUST_TRD_PRFLS_V is a reporting and integration view in the Oracle E-Business Suite Trade Management (formerly Oracle Trade Management / OZF) module. It exposes customer trade profiles — the configuration records that determine how a customer account is treated for trade management, claims, settlements, and payment activities. The view denormalizes the base trade profile table by joining it to Oracle Receivables and Oracle Payables master data, so that a single query returns human-readable customer, account, site, and vendor context alongside the operational trade profile attributes.
In EBS 12.1.1 and 12.2.2 the view is owned by APPS and is typically consumed by concurrent programs, OAF/Forms-based trade management screens, BI Publisher reports, and outbound integration extracts. Because it is a view rather than a table, it is read-only and inherits the security and multi-org behavior of its underlying tables, most notably the ORG_ID column sourced from OZF_CUST_TRD_PRFLS for operating unit (Multi-Org) filtering.
Underlying Base Objects
The view is defined over five documented base objects, joined as follows:
- OZF_CUST_TRD_PRFLS (synonym to the base trade profile table) — the driving table, aliased OTP. It supplies all profile-specific attributes and the primary key TRADE_PROFILE_ID.
- HZ_CUST_ACCOUNTS (HCA) — joined on CUST_ACCOUNT_ID to retrieve ACCOUNT_NUMBER.
- HZ_CUST_SITE_USES (HCSU) — joined on SITE_USE_ID to retrieve SITE_USE_CODE and LOCATION.
- HZ_PARTIES (HP) — joined on PARTY_ID to retrieve PARTY_NAME (selected twice in the view text).
- PO_VENDORS (a view, aliased PV) — outer-joined on VENDOR_ID to retrieve VENDOR_NAME, so profiles without an associated vendor are still returned.
The join chain therefore requires a valid customer account and site use for each trade profile row; only the vendor relationship is optional.
Key Columns
- TRADE_PROFILE_ID — primary identifier of the customer trade profile.
- PARTY_ID / PARTY_NAME, CUST_ACCOUNT_ID / ACCOUNT_NUMBER, CUST_ACCT_SITE_ID, SITE_USE_ID / SITE_USE_CODE / LOCATION — the customer and site identity, resolved from HZ_PARTIES, HZ_CUST_ACCOUNTS, and HZ_CUST_SITE_USES.
- DAYS_DUE, PAYMENT_METHOD — settlement terms applied to the profile.
- VENDOR_ID / VENDOR_NAME, VENDOR_SITE_ID, VENDOR_SITE_CODE — the supplier used for claims or payment routing.
- AUTOPAY_FLAG, AUTOPAY_PERIODICITY, AUTOPAY_PERIODICITY_TYPE — automated payment configuration.
- CLAIM_THRESHOLD, CLAIM_CURRENCY, DISCOUNT_TYPE — claim and discounting controls.
- POS_WRITE_OFF_THRESHOLD, NEG_WRITE_OFF_THRESHOLD — positive and negative write-off limits.
- UN_EARNED_PAY_ALLOW_TO, UN_EARNED_PAY_THOLD_TYPE, UN_EARNED_PAY_THOLD_AMOUNT, UN_EARNED_PAY_THOLD_FLAG — unearned payment thresholds.
- HEADER_TOLERANCE_OPERAND, HEADER_TOLERANCE_CALC_CODE, LINE_TOLERANCE_OPERAND, LINE_TOLERANCE_CALC_CODE — claim tolerance calculation parameters.
- INTERNET_DEAL_VIEW_FLAG, INTERNET_CLAIMS_FLAG, PRINT_FLAG, LAST_PAID_DATE — operational and portal flags.
- ORG_ID — operating unit, used for Multi-Org security.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–15, CONTEXT — the standard DFF extensibility columns.
- WHO columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID, PROGRAM_UPDATE_DATE, OBJECT_VERSION_NUMBER) — standard audit and concurrency fields.
Common Use Cases and Queries
Typical uses include listing customers configured for autopay, auditing claim and write-off thresholds by operating unit, and feeding vendor payment or claims extracts. A representative query restricts to a single operating unit and returns the profile with its customer, site, and vendor context:
SELECT TRADE_PROFILE_ID, PARTY_NAME, ACCOUNT_NUMBER, SITE_USE_CODE, DAYS_DUE, PAYMENT_METHOD, VENDOR_NAME, AUTOPAY_FLAG, CLAIM_THRESHOLD, CLAIM_CURRENCY, ORG_ID FROM APPS.OZF_CUST_TRD_PRFLS_V WHERE ORG_ID = :p_org_id AND AUTOPAY_FLAG = 'Y';SELECT TRADE_PROFILE_ID, ACCOUNT_NUMBER, POS_WRITE_OFF_THRESHOLD, NEG_WRITE_OFF_THRESHOLD, HEADER_TOLERANCE_OPERAND, LINE_TOLERANCE_OPERAND FROM APPS.OZF_CUST_TRD_PRFLS_V WHERE CUST_ACCOUNT_ID = :p_cust_account_id;SELECT SITE_USE_CODE, COUNT(*) FROM APPS.OZF_CUST_TRD_PRFLS_V WHERE ORG_ID = :p_org_id GROUP BY SITE_USE_CODE ORDER BY 2 DESC;
Because the view relies on inner joins to HZ_CUST_ACCOUNTS, HZ_CUST_SITE_USES, and HZ_PARTIES, trade profiles lacking complete customer or site setup will not appear; reports requiring orphan profiles should query OZF_CUST_TRD_PRFLS directly. All queries should respect ORG_ID to honor Multi-Org access controls.
-
VIEW: APPS.OZF_CUST_TRD_PRFLS_V
12.1.1
-
APPS.OZF_RESALE_WF_PVT SQL Statements
12.1.1
-
VIEW: APPS.OZF_CUST_TRD_PRFLS_V
12.2.2
-
APPS.OZF_RESALE_WF_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OZF_TRADE_PROFILE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_TRADE_PROFILE_PVT, status:VALID,
-
SYNONYM: APPS.OZF_CUST_TRD_PRFLS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_CUST_TRD_PRFLS, status:VALID,
-
PACKAGE BODY: APPS.OZF_RESALE_WF_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_RESALE_WF_PVT, status:VALID,
-
APPS.OZF_TRADE_PROFILE_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OZF_AUTOPAY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_AUTOPAY_PVT, status:VALID,
-
SYNONYM: APPS.OZF_CUST_TRD_PRFLS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_CUST_TRD_PRFLS, 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_ACCOUNT_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_ACCOUNT_MERGE_PKG, status:VALID,
-
View: OZF_CUST_TRD_PRFLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OZF.OZF_CUST_TRD_PRFLS_V, object_name:OZF_CUST_TRD_PRFLS_V, status:VALID, product: OZF - Trade Management , implementation_dba_data: APPS.OZF_CUST_TRD_PRFLS_V ,
-
APPS.OZF_TRADE_PROFILE_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OZF_TRADE_PROFILE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_TRADE_PROFILE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_CLAIM_ACCRUAL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_CLAIM_ACCRUAL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_AUTOPAY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_AUTOPAY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_CLAIM_SETTLEMENT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_CLAIM_SETTLEMENT_PVT, status:VALID,
-
APPS.OZF_AUTOPAY_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OZF_RESALE_WF_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_RESALE_WF_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_CLAIM_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_CLAIM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_CLAIM_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_CLAIM_PVT, status:VALID,
-
APPS.OZF_AUTOPAY_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OZF_CLAIM_SETTLEMENT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_CLAIM_SETTLEMENT_PVT, status:VALID,
-
View: OZF_CUST_TRD_PRFLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OZF.OZF_CUST_TRD_PRFLS_V, object_name:OZF_CUST_TRD_PRFLS_V, status:VALID, product: OZF - Trade Management , implementation_dba_data: APPS.OZF_CUST_TRD_PRFLS_V ,
-
PACKAGE BODY: APPS.OZF_CLAIM_ACCRUAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_CLAIM_ACCRUAL_PVT, status:VALID,
-
VIEW: OZF.OZF_CUST_TRD_PRFLS_ALL#
12.2.2
owner:OZF, object_type:VIEW, object_name:OZF_CUST_TRD_PRFLS_ALL#, status:VALID,
-
VIEW: APPS.OZF_CUST_TRD_PRFLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OZF.OZF_CUST_TRD_PRFLS_V, object_name:OZF_CUST_TRD_PRFLS_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.OZF_CUST_TRD_PRFLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OZF.OZF_CUST_TRD_PRFLS_V, object_name:OZF_CUST_TRD_PRFLS_V, status:VALID,
-
APPS.OZF_ACCOUNT_MERGE_PKG SQL Statements
12.1.1
-
APPS.OZF_ACCOUNT_MERGE_PKG SQL Statements
12.2.2
-
APPS.OZF_CLAIM_ACCRUAL_PVT SQL Statements
12.1.1
-
APPS.OZF_CLAIM_PVT SQL Statements
12.1.1
-
APPS.OZF_CLAIM_SETTLEMENT_PVT SQL Statements
12.1.1
-
TABLE: OZF.OZF_CUST_TRD_PRFLS_ALL
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_CUST_TRD_PRFLS_ALL, object_name:OZF_CUST_TRD_PRFLS_ALL, status:VALID,
-
APPS.OZF_CLAIM_ACCRUAL_PVT SQL Statements
12.2.2
-
APPS.OZF_CLAIM_SETTLEMENT_PVT SQL Statements
12.2.2
-
APPS.OZF_CLAIM_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OZF_ACCOUNT_MERGE_PKG
12.2.2
-
APPS.OZF_AUTOPAY_PVT dependencies on OZF_CUST_TRD_PRFLS
12.2.2
-
PACKAGE BODY: APPS.OZF_ACCOUNT_MERGE_PKG
12.1.1
-
APPS.OZF_CLAIM_ACCRUAL_PVT dependencies on OZF_CUST_TRD_PRFLS
12.1.1
-
APPS.OZF_CLAIM_PVT dependencies on OZF_CUST_TRD_PRFLS
12.2.2
-
APPS.OZF_TRADE_PROFILE_PVT dependencies on OZF_CUST_TRD_PRFLS
12.2.2
-
APPS.OZF_CLAIM_ACCRUAL_PVT dependencies on OZF_CUST_TRD_PRFLS
12.2.2
-
APPS.OZF_CLAIM_SETTLEMENT_PVT dependencies on OZF_CUST_TRD_PRFLS
12.2.2
-
APPS.OZF_RESALE_WF_PVT dependencies on OZF_CUST_TRD_PRFLS
12.1.1
-
APPS.OZF_CLAIM_SETTLEMENT_PVT dependencies on OZF_CUST_TRD_PRFLS
12.1.1