HZ_USER_FAVORITE_PARTIES_

This table is store the association between Users and Parties. The table supports the feature that allows sales reps to associate parties (A/C/H) to themselves. Once the association is made, it is leveraged for productivity improvements when selecting parties of all 3 types.

Details

  • Schema: FUSION

  • Object owner: HZ

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

HZ_USER_FAVORITE_PARTIES_PK_

LAST_UPDATE_DATE, LAST_UPDATED_BY, USER_FAVORITE_PARTY_ID

Columns

Name Datatype Length Precision Not-null Comments
USER_FAVORITE_PARTY_ID NUMBER 18 Yes This is the Primary key. Auto-generated.
USER_PARTY_ID NUMBER 18 FK To HZ_PARTIES. Identifier of the user who stores the party in this record.
PARTY_ID NUMBER 18 FK To HZ_PARTIES. Identifier of the party who was selected as My Favorite by the user.
RATING NUMBER 1 party user rating
OBJECT_VERSION_NUMBER NUMBER 9 Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
CREATED_BY VARCHAR2 64 Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
AUDIT_ACTION_TYPE_ VARCHAR2 10 Action Type - have values like INSERT, UPDATE and DELETE.
AUDIT_CHANGE_BIT_MAP_ VARCHAR2 1000 Used to store a bit map of 1s and 0s for each column in the table.
AUDIT_IMPERSONATOR_ VARCHAR2 64 Original Impersonator User.

Indexes

Index Uniqueness Tablespace Columns
HZ_USER_FAVORITE_PARTIESN1_ Non Unique Default USER_FAVORITE_PARTY_ID
HZ_USER_FAVORITE_PARTIES_PK_ Unique Default LAST_UPDATE_DATE, LAST_UPDATED_BY, USER_FAVORITE_PARTY_ID
HZ_USER_FAVORITE_PARTIES_U1_ Unique Default LAST_UPDATE_DATE, LAST_UPDATED_BY, USER_PARTY_ID, PARTY_ID