Results for “role_type”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
AMS_ORG_ACCT_ROLES_V is a read-only view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the AMS (Marketing) product family. Its stated purpose in the ETRM documentation is to expose the "Roles that parties perform in customer accounts." The view is defined as a restricted projection over the Oracle Receivables / Trading Community Architecture (TCA) customer account role tables, filtered to return only active organizations and active customer accounts. Because it draws from the same TCA foundation used across Order Management, Receivables, and Marketing, the view functions as a lightweight, marketing-oriented access point for account role data without requiring the consuming process to join or filter the base tables directly.
The view is catalogued as VALID in both Oracle EBS 12.1.1 and 12.2.2. The user search term "current_role_state_effective" corresponds to one of its exposed columns, CURRENT_ROLE_STATE_EFFECTIVE, which is derived from HZ_CUST_ACCOUNT_ROLES.
Underlying Base Objects
The documented ETRM metadata lists three referenced base objects, all accessed through APPS synonyms:
- HZ_CUST_ACCOUNT_ROLES (aliased HCAR) — the primary driver table, holding one row per party-role assignment on a customer account.
- HZ_CUST_ACCOUNTS (aliased HCA) — joined on CUST_ACCOUNT_ID and filtered to STATUS = 'A'.
- HZ_PARTIES (aliased HP) — joined on PARTY_ID and filtered to STATUS = 'A' and PARTY_TYPE = 'ORGANIZATION'.
The joins are inner equi-joins, so any role whose account or party is not active, or whose party is not an organization, is excluded from the result set. This makes the view narrower than the underlying HZ_CUST_ACCOUNT_ROLES table and explains its marketing focus on organizational customer accounts.
Key Columns
The view exposes eleven columns, projected directly from HZ_CUST_ACCOUNT_ROLES:
- CUST_ACCOUNT_ROLE_ID — primary key of the role assignment in the base table.
- PARTY_ID — the party (organization) performing the role.
- CUST_ACCOUNT_ID — the customer account to which the role applies.
- BEGIN_DATE / END_DATE — the effective date range of the role assignment.
- CUST_ACCT_SITE_ID — the specific account site associated with the role, where applicable.
- ROLE_TYPE — the classification of the role (for example, bill-to, ship-to, or other configured role meanings).
- PRIMARY_FLAG — indicates whether the role is the primary one for the account or site.
- CURRENT_ROLE_STATE — the current lifecycle state of the role record.
- CURRENT_ROLE_STATE_EFFECTIVE — the effective state value used to interpret whether the role is presently active, resolution of this column is keyed to the CURRENT_ROLE_STATE and the date window. This is the column referenced by the search term.
- SOURCE_CODE — identifies the origin of the role assignment record.
Common Use Cases and Queries
Typical uses include marketing segmentation, account hierarchy reporting, and integration feeds that need the currently effective role for an organization account. Because the view already enforces active account and active organization filters, queries can be simpler than against the base tables.
Listing all roles for an account:
SELECT cust_account_role_id, party_id, role_type, primary_flag, current_role_state_effective FROM ams_org_acct_roles_v WHERE cust_account_id = :p_account_id;
Filtering for currently effective roles within a date window:
SELECT party_id, cust_account_id, role_type FROM ams_org_acct_roles_v WHERE current_role_state_effective = 'A' AND TRUNC(SYSDATE) BETWEEN begin_date AND NVL(end_date, TRUNC(SYSDATE)+1);
Identifying primary roles per account:
SELECT cust_account_id, party_id, role_type FROM ams_org_acct_roles_v WHERE primary_flag = 'Y';
Because the view is a projection with no aggregation, it can be safely joined to other TCA-based views on CUST_ACCOUNT_ID or PARTY_ID. Note that its organization-only filter means it is unsuitable for reporting on person-type parties; those must be sourced from HZ_CUST_ACCOUNT_ROLES directly.
-
Lookup Type: ROLE_TYPE 12.1.1
Role type
-
Lookup Type: ROLE_TYPE 12.2.2
Role type
-
View: AMS_ORG_ACCT_ROLES_V 12.2.2
Roles that parties perform in customer accounts
APPS.AMS_ORG_ACCT_ROLES_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_PARTIES·Explore AMS module →
-
View: OKX_CUST_CONTACTS_V 12.2.2
Customer contacts
APPS.OKX_CUST_CONTACTS_V·↳ ARP_ADDR_LABEL_PKG·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_CUST_ACCT_SITES·Explore OKX module →
-
View: OKE_CUST_CONTACTS_V 12.1.1
APPS.OKE_CUST_CONTACTS_V·↳ HZ_CUST_ACCOUNTS_ALL·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_ORG_CONTACTS·Explore OKE module →
-
TCA import table for HZ_ORG_CONTACT_ROLES
-
View: AST_LM_CKEY_ACCT_V 12.2.2
APPS.AST_LM_CKEY_ACCT_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore AST module →
-
Roles that persons perform in customer accounts.
APPS.AMS_PERSON_ACCT_ROLES_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_PARTIES·Explore AMS module →
-
Roles that persons perform in customer accounts.
APPS.AMS_PERSON_ACCT_ROLES_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_PARTIES·Explore AMS module →
-
View: OKE_CUST_CONTACTS_V 12.2.2
APPS.OKE_CUST_CONTACTS_V·↳ HZ_CUST_ACCOUNTS_ALL·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_ORG_CONTACTS·Explore OKE module →
-
View: JTF_RS_ROLE_DETAILS_VL 12.1.1
This View shows Roles and its details like Role type, Role name, etc.
APPS.JTF_RS_ROLE_DETAILS_VL·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ JTF_RS_ROLES_VL·Explore JTF module →
-
View: OE_CUST_SITE_PHONE_V 12.2.2
APPS.OE_CUST_SITE_PHONE_V·↳ HZ_CONTACT_POINTS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES·Explore ONT module →
-
View: AST_LM_CKEY_ACCT_V 12.1.1
APPS.AST_LM_CKEY_ACCT_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore AST module →
-
JTF_CUST_ACCOUNT_ROLES retrieves information about the roles that parties perform in customer accounts.
APPS.JTF_CUST_ACCOUNTS_ROLES_V·↳ HZ_CUST_ACCOUNT_ROLES·Explore JTF module →
-
Interface table to hold contact roles information to be imported.
-
View: AMS_ORG_ACCT_ROLES_V 12.1.1
Roles that parties perform in customer accounts
APPS.AMS_ORG_ACCT_ROLES_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_PARTIES·Explore AMS module →
-
Roles played by organization contacts
APPS.AMS_ORG_CONTACT_ROLES_V·↳ HZ_ORG_CONTACTS·↳ HZ_ORG_CONTACT_ROLES·↳ HZ_PARTIES·Explore AMS module →
-
View: PQH_ROLES_V 12.2.2
APPS.PQH_ROLES_V·↳ HR_GENERAL·↳ PQH_ROLES·Explore PQH module →
-
View: PQH_ROLES_V 12.1.1
APPS.PQH_ROLES_V·↳ HR_GENERAL·↳ PQH_ROLES·Explore PQH module →
-
View: OKX_CUST_ROLE_RESP_V 12.1.1
Customer contacts
APPS.OKX_CUST_ROLE_RESP_V·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_CUST_ACCT_SITES·↳ HZ_PARTIES·Explore OKX module →
-
View: OKX_CUST_ROLE_RESP_V 12.2.2
Customer contacts
APPS.OKX_CUST_ROLE_RESP_V·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_CUST_ACCT_SITES·↳ HZ_PARTIES·Explore OKX module →
-
APPS.AST_CUST_ACCOUNTS_ROLES_V·↳ AR_LOOKUPS·↳ FND_TERRITORIES_TL·↳ HZ_CUST_ACCOUNTS·Explore AST module →
-
View: AMS_ACT_RESOURCES_V 12.1.1
This view returns information on associations of resources to marketing objects like Events, Campaigns.
APPS.AMS_ACT_RESOURCES_V·↳ AMS_ACT_RESOURCES·↳ AMS_LOOKUPS·↳ AMS_USER_STATUSES_V·Explore AMS module →
-
View: AMS_ACT_RESOURCES_V 12.2.2
This view returns information on associations of resources to marketing objects like Events, Campaigns.
APPS.AMS_ACT_RESOURCES_V·↳ AMS_ACT_RESOURCES·↳ AMS_LOOKUPS·↳ AMS_USER_STATUSES_V·Explore AMS module →
-
View: OKX_CUST_CONTACTS_V 12.1.1
Customer contacts
APPS.OKX_CUST_CONTACTS_V·↳ ARP_ADDR_LABEL_PKG·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_CUST_ACCT_SITES·Explore OKX module →
-
Interface table to hold contact roles information to be imported.
-
TCA import table for HZ_ORG_CONTACT_ROLES
-
Roles played by organization contacts
APPS.AMS_ORG_CONTACT_ROLES_V·↳ HZ_ORG_CONTACTS·↳ HZ_ORG_CONTACT_ROLES·↳ HZ_PARTIES·Explore AMS module →
-
This table stores the information of a customer account role from HZ_CUST_ACCOUNT_ROLES table before the account merge happens. The primary key for this table is CUST_ACCOUNT_ROLE_ID, CUSTOMER_MERGE_HEADER_ID.
-
View: JTF_RS_ROLE_DETAILS_VL 12.2.2
This View shows Roles and its details like Role type, Role name, etc.
APPS.JTF_RS_ROLE_DETAILS_VL·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ JTF_RS_ROLES_VL·Explore JTF module →
-
Roles that parties perform in customer accounts
-
This view retrieves the list of contacts for a given account
APPS.CSC_CUST_ACCOUNTS_ROLES_V·↳ AR_LOOKUPS·↳ FND_TERRITORIES_TL·↳ HZ_CUST_ACCOUNTS·Explore CSC module →
-
This view retrieves the list of contacts for a given account
APPS.CSC_CUST_ACCOUNTS_ROLES_V·↳ AR_LOOKUPS·↳ FND_TERRITORIES_TL·↳ HZ_CUST_ACCOUNTS·Explore CSC module →
-
Roles played by organization contacts
-
Roles played by organization contacts
-
JTF_CUST_ACCOUNT_ROLES retrieves information about the roles that parties perform in customer accounts.
APPS.JTF_CUST_ACCOUNTS_ROLES_V·↳ HZ_CUST_ACCOUNT_ROLES·Explore JTF module →
-
APPS.AST_ORG_CONTACT_ROLES_V·↳ AR_LOOKUPS·↳ HZ_ORG_CONTACT_ROLES·Explore AST module →
-
APPS.OE_CUSTOMER_SITE_CONTACTS_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore ONT module →
-
APPS.OE_CUSTOMER_SITE_CONTACTS_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore ONT module →
-
APPS.AST_ORG_CONTACT_ROLES_V·↳ AR_LOOKUPS·↳ HZ_ORG_CONTACT_ROLES·Explore AST module →
-
APPS.AST_CUST_ACCOUNTS_ROLES_V·↳ AR_LOOKUPS·↳ FND_TERRITORIES_TL·↳ HZ_CUST_ACCOUNTS·Explore AST module →
-
View: OE_CUST_SITE_PHONE_V 12.1.1
APPS.OE_CUST_SITE_PHONE_V·↳ HZ_CONTACT_POINTS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES·Explore ONT module →
-
This table stores the information of a customer account role from HZ_CUST_ACCOUNT_ROLES table before the account merge happens. The primary key for this table is CUST_ACCOUNT_ROLE_ID, CUSTOMER_MERGE_HEADER_ID.
-
Roles that parties perform in customer accounts
-
This view lists the details of organization contacts
APPS.AMS_ORG_CONTACT_DETAILS_V·↳ AR_LOOKUPS·↳ HZ_CONTACT_POINTS·↳ HZ_ORG_CONTACTS·Explore AMS module →
-
This view lists the details of organization contacts
APPS.AMS_ORG_CONTACT_DETAILS_V·↳ AR_LOOKUPS·↳ HZ_CONTACT_POINTS·↳ HZ_ORG_CONTACTS·Explore AMS module →
-
Contact Report