Search Results hz_party_sites
Overview
AS_ACCESSES_ALL_ALL is a Sales Foundation (AS) table owned by the OSM schema that stores employee and partner access records for customers, sales leads, and opportunities. It functions as the central authorization and assignment registry for the Oracle Sales and Telesales modules, determining which salesforce resources, sales groups, and partners may view or work a given customer, address, lead, or opportunity. Each row ties an access holder (a salesforce resource, person, or partner contact) to a target entity (customer party, party site, or lead) together with role, relationship, and freeze or reassignment indicators.
The table carries 67 documented columns in ETRM 12.2.2 and a single-column surrogate primary key, AS_ACCESSES_ALL_PK, defined on ACCESS_ID. Two additional unique indexes, AS_ACCESSES_U1 (ACCESS_ID, ORG_ID) and AS_ACCESSES_U2 (SALESFORCE_ID, CUSTOMER_ID, SALES_GROUP_ID, ADDRESS_ID, LEAD_ID, SALES_LEAD_ID, ORG_ID, SALESFORCE_ROLE_CODE, DELETE_FLAG), act as business-key candidates. Under a heuristic Data Vault classification, the table leans toward a satellite: it is keyed by a surrogate ACCESS_ID and carries descriptive, versioned access attributes rather than serving purely as a hub or link, though its foreign keys to HZ_PARTIES and HZ_PARTY_SITES give it link-like characteristics as well.
Key Information Stored
The most significant columns include:
- ACCESS_ID – surrogate primary key and the value propagated to dependent tables.
- CUSTOMER_ID – the HZ_PARTIES (and RA_CUSTOMERS) record the access applies to.
- ADDRESS_ID – the HZ_PARTY_SITES (and RA_ADDRESSES_ALL) location in scope.
- SALESFORCE_ID – the salesforce resource (JTF_RS_RESOURCE_EXTNS) granted access.
- PERSON_ID – the person associated with the access record.
- SALES_GROUP_ID – the sales group (JTF_RS_GROUPS_B) holding access.
- LEAD_ID / SALES_LEAD_ID – the lead entities (AS_LEADS_ALL, AS_SALES_LEADS) in scope.
- PARTNER_CUSTOMER_ID / PARTNER_ADDRESS_ID / PARTNER_CONT_PARTY_ID – partner-side party and location references.
- ACCESS_TYPE, SALESFORCE_ROLE_CODE, SALESFORCE_RELATIONSHIP_CODE – classify the access grant and the holder's role.
- FREEZE_FLAG, FREEZE_DATE, REASSIGN_FLAG, REASSIGN_REASON – control whether access can be reassigned.
- OWNER_FLAG, CONTRIBUTOR_FLAG, TEAM_LEADER_FLAG – designate responsibility level.
- DELETE_FLAG, OBJECT_VERSION_NUMBER – soft-delete and optimistic-locking support.
- SECURITY_GROUP_ID, ORG_ID – multi-org and security-group partitioning.
- The ATTRIBUTE1–ATTRIBUTE15 flex columns for customer-specific extensions.
Common Use Cases and Queries
Typical scenarios include determining which sales representatives can see a customer, validating partner access to an address, and auditing reassignment or freeze history. Because the table references HZ_PARTY_SITES through ADDRESS_ID (and PARTNER_ADDRESS_ID), the user's search term "hz_party_sites" commonly appears in joins resolving access records to physical locations.
Example query returning all accesses for a given party site:
- SELECT a.ACCESS_ID, a.SALESFORCE_ID, a.SALESFORCE_ROLE_CODE, a.ACCESS_TYPE FROM AS_ACCESSES_ALL_ALL a WHERE a.ADDRESS_ID = :party_site_id AND NVL(a.DELETE_FLAG,'N') = 'N';
A join pattern linking accesses to the underlying party and site:
- SELECT hp.PARTY_NAME, hps.ADDRESS1, a.SALESFORCE_ROLE_CODE FROM AS_ACCESSES_ALL_ALL a JOIN HZ_PARTY_SITES hps ON a.ADDRESS_ID = hps.PARTY_SITE_ID AND a.ORG_ID = hps.ORG_ID JOIN HZ_PARTIES hp ON a.CUSTOMER_ID = hp.PARTY_ID AND a.ORG_ID = hp.ORG_ID WHERE NVL(a.DELETE_FLAG,'N') = 'N';
Reporting use cases include access coverage reports by sales group, partner access audits, reassignment tracking, and reconciliation of access records during territory realignment.
Related Objects
The following objects are most significant to AS_ACCESSES_ALL_ALL:
- HZ_PARTIES – joined via CUSTOMER_ID and PARTNER_CUSTOMER_ID.
- HZ_PARTY_SITES – joined via ADDRESS_ID and PARTNER_ADDRESS_ID.
- JTF_RS_RESOURCE_EXTNS – joined via SALESFORCE_ID.
- JTF_RS_GROUPS_B – joined via SALES_GROUP_ID.
- AS_LEADS_ALL – joined via LEAD_ID.
- AS_SALES_LEADS – joined via SALES_LEAD_ID.
- AS_TERRITORY_ACCESSES – references ACCESS_ID.
- PV_ACCESS_MIGRATION_LOG – references ACCESS_ID.
- FND_SECURITY_GROUPS – joined via SECURITY_GROUP_ID.
- RA_CUSTOMERS / RA_ADDRESSES_ALL – legacy joined via CUSTOMER_ID and ADDRESS_ID.
-
Lookup Type: ENTITY_NAME
12.1.1
product: AS - Sales Foundation , meaning: ENTITY_NAME , description: Entities that are supported by lead import to capture flex field info ,
-
Lookup Type: ENTITY_NAME
12.2.2
product: AS - Sales Foundation , meaning: ENTITY_NAME , description: Entities that are supported by lead import to capture flex field info ,
-
Table: AS_ACCESSES_ALL_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_ACCESSES_ALL_ALL, object_name:AS_ACCESSES_ALL_ALL, status:VALID, product: AS - Sales Foundation , description: Contains employee and partner access records for customers, sales leads and opportunities , implementation_dba_data: OSM.AS_ACCESSES_ALL_ALL ,
-
Table: AS_SALES_CREDITS_DENORM
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS_DENORM, object_name:AS_SALES_CREDITS_DENORM, status:VALID, product: AS - Sales Foundation , description: Denormalized table to store opportunity data denormalized from AS_LEADS_ALL, AS_LEAD_LINES_ALL, AS_SALES_CREDITS, AS_SALES_STAGE_ALL, AS_INTEREST_TYPES_ALL, AS_INTEREST_CODES_ALL, HZ_PARTIES, AS_SALES_GROUPS, PER_ALL_PEOPLR_F , implementation_dba_data: OSM.AS_SALES_CREDITS_DENORM ,
-
Table: AS_ACCESSES_ALL_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_ACCESSES_ALL_ALL, object_name:AS_ACCESSES_ALL_ALL, status:VALID, product: AS - Sales Foundation , description: Contains employee and partner access records for customers, sales leads and opportunities , implementation_dba_data: OSM.AS_ACCESSES_ALL_ALL ,
-
Table: AS_SALES_CREDITS_DENORM
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS_DENORM, object_name:AS_SALES_CREDITS_DENORM, status:VALID, product: AS - Sales Foundation , description: Denormalized table to store opportunity data denormalized from AS_LEADS_ALL, AS_LEAD_LINES_ALL, AS_SALES_CREDITS, AS_SALES_STAGE_ALL, AS_INTEREST_TYPES_ALL, AS_INTEREST_CODES_ALL, HZ_PARTIES, AS_SALES_GROUPS, PER_ALL_PEOPLR_F , implementation_dba_data: OSM.AS_SALES_CREDITS_DENORM ,
-
Table: AS_SALES_LEADS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEADS, object_name:AS_SALES_LEADS, status:VALID, product: AS - Sales Foundation , description: Holds sales leads , implementation_dba_data: OSM.AS_SALES_LEADS ,
-
Table: AS_SALES_LEADS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEADS, object_name:AS_SALES_LEADS, status:VALID, product: AS - Sales Foundation , description: Holds sales leads , implementation_dba_data: OSM.AS_SALES_LEADS ,
-
Table: AS_REF_SITES
12.1.1
product: AS - Sales Foundation , description: No Longer Used , implementation_dba_data: Not implemented in this database ,
-
Table: AS_REF_SITES
12.2.2
product: AS - Sales Foundation , description: No Longer Used , implementation_dba_data: Not implemented in this database ,
-
Table: AS_CHANGED_ACCOUNTS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_CHANGED_ACCOUNTS_ALL, object_name:AS_CHANGED_ACCOUNTS_ALL, status:VALID, product: AS - Sales Foundation , description: Contains changed accounts , implementation_dba_data: OSM.AS_CHANGED_ACCOUNTS_ALL ,
-
Table: AS_TERR_RESOURCES_TMP
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERR_RESOURCES_TMP, object_name:AS_TERR_RESOURCES_TMP, status:VALID, product: AS - Sales Foundation , description: Hold territory assignment results. , implementation_dba_data: OSM.AS_TERR_RESOURCES_TMP ,
-
Table: AS_TERR_RESOURCES_TMP
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERR_RESOURCES_TMP, object_name:AS_TERR_RESOURCES_TMP, status:VALID, product: AS - Sales Foundation , description: Hold territory assignment results. , implementation_dba_data: OSM.AS_TERR_RESOURCES_TMP ,
-
Table: AS_REF_ACT_LOCATIONS
12.1.1
product: AS - Sales Foundation , description: No Longer Used , implementation_dba_data: Not implemented in this database ,
-
Table: AS_CHANGED_ACCOUNTS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_CHANGED_ACCOUNTS_ALL, object_name:AS_CHANGED_ACCOUNTS_ALL, status:VALID, product: AS - Sales Foundation , description: Contains changed accounts , implementation_dba_data: OSM.AS_CHANGED_ACCOUNTS_ALL ,
-
Table: AS_REF_ACT_LOCATIONS
12.2.2
product: AS - Sales Foundation , description: No Longer Used , implementation_dba_data: Not implemented in this database ,
-
Table: AS_SALES_QUOTAS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_QUOTAS, object_name:AS_SALES_QUOTAS, status:VALID, product: AS - Sales Foundation , description: Defines sales quotas , implementation_dba_data: OSM.AS_SALES_QUOTAS ,
-
Table: AS_SALES_CREDITS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS, object_name:AS_SALES_CREDITS, status:VALID, product: AS - Sales Foundation , description: Holds sales credits , implementation_dba_data: OSM.AS_SALES_CREDITS ,
-
Table: AS_SALES_CREDITS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS, object_name:AS_SALES_CREDITS, status:VALID, product: AS - Sales Foundation , description: Holds sales credits , implementation_dba_data: OSM.AS_SALES_CREDITS ,
-
View: AS_TAP_ACCOUNTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_TAP_ACCOUNTS_V, object_name:AS_TAP_ACCOUNTS_V, status:VALID, product: AS - Sales Foundation , description: For TAP use , implementation_dba_data: APPS.AS_TAP_ACCOUNTS_V ,
-
Table: AS_CURRENT_ENVIRONMENT
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_CURRENT_ENVIRONMENT, object_name:AS_CURRENT_ENVIRONMENT, status:VALID, product: AS - Sales Foundation , description: This table stores information about the current environment of the , implementation_dba_data: OSM.AS_CURRENT_ENVIRONMENT ,
-
Table: AS_CURRENT_ENVIRONMENT
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_CURRENT_ENVIRONMENT, object_name:AS_CURRENT_ENVIRONMENT, status:VALID, product: AS - Sales Foundation , description: This table stores information about the current environment of the , implementation_dba_data: OSM.AS_CURRENT_ENVIRONMENT ,
-
View: AS_TAP_ACCOUNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_TAP_ACCOUNTS_V, object_name:AS_TAP_ACCOUNTS_V, status:VALID, product: AS - Sales Foundation , description: For TAP use , implementation_dba_data: APPS.AS_TAP_ACCOUNTS_V ,
-
Table: AS_SALES_QUOTAS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_QUOTAS, object_name:AS_SALES_QUOTAS, status:VALID, product: AS - Sales Foundation , description: Defines sales quotas , implementation_dba_data: OSM.AS_SALES_QUOTAS ,
-
Table: AS_SALES_LEAD_CONTACTS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEAD_CONTACTS, object_name:AS_SALES_LEAD_CONTACTS, status:VALID, product: AS - Sales Foundation , description: Holds contact information for the Lead. Records can be deleted. , implementation_dba_data: OSM.AS_SALES_LEAD_CONTACTS ,
-
Table: AS_SALES_LEAD_CONTACTS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEAD_CONTACTS, object_name:AS_SALES_LEAD_CONTACTS, status:VALID, product: AS - Sales Foundation , description: Holds contact information for the Lead. Records can be deleted. , implementation_dba_data: OSM.AS_SALES_LEAD_CONTACTS ,
-
Table: AS_LEAD_CONTACTS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_CONTACTS_ALL, object_name:AS_LEAD_CONTACTS_ALL, status:VALID, product: AS - Sales Foundation , description: Contains contacts linked to sales opportunities , implementation_dba_data: OSM.AS_LEAD_CONTACTS_ALL ,
-
Table: AS_LEAD_CONTACTS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_CONTACTS_ALL, object_name:AS_LEAD_CONTACTS_ALL, status:VALID, product: AS - Sales Foundation , description: Contains contacts linked to sales opportunities , implementation_dba_data: OSM.AS_LEAD_CONTACTS_ALL ,
-
Table: AS_INTERESTS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTERESTS_ALL, object_name:AS_INTERESTS_ALL, status:VALID, product: AS - Sales Foundation , description: Stores product interests, customer and opportunity classifications , implementation_dba_data: OSM.AS_INTERESTS_ALL ,
-
Table: AS_INTERESTS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTERESTS_ALL, object_name:AS_INTERESTS_ALL, status:VALID, product: AS - Sales Foundation , description: Stores product interests, customer and opportunity classifications , implementation_dba_data: OSM.AS_INTERESTS_ALL ,
-
Table: AS_LEADS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEADS_ALL, object_name:AS_LEADS_ALL, status:VALID, product: AS - Sales Foundation , description: Holds sales opportunities , implementation_dba_data: OSM.AS_LEADS_ALL ,
-
Table: AS_LEADS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEADS_ALL, object_name:AS_LEADS_ALL, status:VALID, product: AS - Sales Foundation , description: Holds sales opportunities , implementation_dba_data: OSM.AS_LEADS_ALL ,
-
View: AS_SITE_CLASSIFICATION_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SITE_CLASSIFICATION_V, object_name:AS_SITE_CLASSIFICATION_V, status:VALID, product: AS - Sales Foundation , description: Site Classification View , implementation_dba_data: APPS.AS_SITE_CLASSIFICATION_V ,
-
View: AS_SITE_CLASSIFICATION_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SITE_CLASSIFICATION_V, object_name:AS_SITE_CLASSIFICATION_V, status:VALID, product: AS - Sales Foundation , description: Site Classification View , implementation_dba_data: APPS.AS_SITE_CLASSIFICATION_V ,
-
View: AS_PARTY_ADDRESSES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_PARTY_ADDRESSES_V, object_name:AS_PARTY_ADDRESSES_V, status:VALID, product: AS - Sales Foundation , description: This view stores address information for organization, individual consumer or business contact, but without address_type column. , implementation_dba_data: APPS.AS_PARTY_ADDRESSES_V ,
-
View: AS_SALES_TEAM_PTR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SALES_TEAM_PTR_V, object_name:AS_SALES_TEAM_PTR_V, status:VALID, product: AS - Sales Foundation , description: Sales team view for partner , implementation_dba_data: APPS.AS_SALES_TEAM_PTR_V ,
-
View: AS_SALES_TEAM_PTR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SALES_TEAM_PTR_V, object_name:AS_SALES_TEAM_PTR_V, status:VALID, product: AS - Sales Foundation , description: Sales team view for partner , implementation_dba_data: APPS.AS_SALES_TEAM_PTR_V ,
-
View: AS_PARTY_ADDRESSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_PARTY_ADDRESSES_V, object_name:AS_PARTY_ADDRESSES_V, status:VALID, product: AS - Sales Foundation , description: This view stores address information for organization, individual consumer or business contact, but without address_type column. , implementation_dba_data: APPS.AS_PARTY_ADDRESSES_V ,
-
View: AS_SALES_TEAM_EMP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SALES_TEAM_EMP_V, object_name:AS_SALES_TEAM_EMP_V, status:VALID, product: AS - Sales Foundation , description: Sales team view for employee , implementation_dba_data: APPS.AS_SALES_TEAM_EMP_V ,
-
View: AS_ACCESSES_ACTIVE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_ACCESSES_ACTIVE_V, object_name:AS_ACCESSES_ACTIVE_V, status:VALID, product: AS - Sales Foundation , description: Contains active access records , implementation_dba_data: APPS.AS_ACCESSES_ACTIVE_V ,
-
View: AS_ACCESSES_ACTIVE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_ACCESSES_ACTIVE_V, object_name:AS_ACCESSES_ACTIVE_V, status:VALID, product: AS - Sales Foundation , description: Contains active access records , implementation_dba_data: APPS.AS_ACCESSES_ACTIVE_V ,
-
View: AS_SALES_TEAM_EMP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SALES_TEAM_EMP_V, object_name:AS_SALES_TEAM_EMP_V, status:VALID, product: AS - Sales Foundation , description: Sales team view for employee , implementation_dba_data: APPS.AS_SALES_TEAM_EMP_V ,
-
View: AS_SALES_CREDITS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SALES_CREDITS_V, object_name:AS_SALES_CREDITS_V, status:VALID, product: AS - Sales Foundation , description: Provide details about sales credits for an opportunity , implementation_dba_data: APPS.AS_SALES_CREDITS_V ,
-
View: AS_SALES_CREDITS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SALES_CREDITS_V, object_name:AS_SALES_CREDITS_V, status:VALID, product: AS - Sales Foundation , description: Provide details about sales credits for an opportunity , implementation_dba_data: APPS.AS_SALES_CREDITS_V ,
-
View: AS_OPPORTUNITY_DET_ADDR_V
12.2.2
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: AS_OPPORTUNITY_DET_ADDR_V
12.1.1
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: AS_OPPORTUNITY_DET_PRM_V
12.1.1
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: AS_OPPORTUNITY_DET_PRM_V
12.2.2
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,