0% found this document useful (0 votes)
48 views1 page

HZ Architecture

This document outlines the relationships between different tables in a database that store party, customer account, contact, location and relationship information. It shows that parties can have multiple customer accounts and contacts, customer accounts can be associated with multiple parties and locations, and that there are tables to store profiles for parties, customer accounts and relationships between entities. Relationships between tables are defined using primary and foreign keys like PARTY_ID, CUST_ACCOUNT_ID and LOCATION_ID.

Uploaded by

Vinayak Pai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views1 page

HZ Architecture

This document outlines the relationships between different tables in a database that store party, customer account, contact, location and relationship information. It shows that parties can have multiple customer accounts and contacts, customer accounts can be associated with multiple parties and locations, and that there are tables to store profiles for parties, customer accounts and relationships between entities. Relationships between tables are defined using primary and foreign keys like PARTY_ID, CUST_ACCOUNT_ID and LOCATION_ID.

Uploaded by

Vinayak Pai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

PARTRY_ID of Relationship

OBJECT_ID

Party & Relationship


HZ_PARTIES
PARTY_ID

PARTY_ID

HZ_CUST_ACCOUNTS
CUST_ACCOUNT_ID
PARTY_ID

PARTY_ID

OWNER_TABLE_ID = PARTY_ID

PARTY_ID

HZ_CONTACT_POINTS
CONTACT_POINT_ID
OWNER_TABLE_ID
OWNER_TABLE_TYPE

SUBJECT_ID

OWNER_TABLE_ID = PARTY_ID

PARTY_SITE_ID

HZ_PARTY_SITES
PARTY_SITE_ID
LOCATION_ID
PARTY_ID

CUST_ACCT_SITE_ID

HZ_CUST_SITE_USES_ALL
SITE_USE_ID
CUST_ACCT_SITE_ID

LOCATION_ID

HZ_LOCATIONS
LOCATION_ID

SITE_USE_ID
HZ_CUST_ACCT_RELATE_ALL
CUST_ACCOUNT_ID
RELATED_CUST_ACCOUNT_ID

HZ_CUSTOMER_PROFILES
CUST_ACCOUNT_PROFILE_ID
CUST_ACCOUNT_ID
SITE_USE_ID
PROFILE_CLASS_ID
COLLECTOR_ID

HZ_RELATIONSHIPS
RELATIONSHIP_ID
SUBJECT_ID
OBJECT_ID
PARTY_ID

OWNER_TABLE_ID = PARTY_SITE_ID

CUST_ACCOUNT_ID

HZ_CUST_ACCT_SITES_ALL
CUST_ACCT_SITE_ID
CUST_ACCOUNT_ID
PARTY_SITE_ID

HZ_ORGANIZATION_PROFILES
ORGANIZATION_PROFILE_ID
PARTY_ID

CUST_ACCOUNT_PROFILE_ID

HZ_CUST_PROFILE_AMTS
CUST_ACCT_PROFILE_AMT_ID
CUST_ACCOUNT_PROFILE_ID

HZ_PARTIES(ContactPerson)
PARTY_ID

PARTY_ID

HZ_PERSON_PROFILES
PERSON_PROFILE_ID
PARTY_ID

You might also like