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 |
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 | Yes | FK To HZ_PARTIES. Identifier of the user who stores the party in this record. | |
| PARTY_ID | NUMBER | 18 | Yes | 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 | Yes | 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 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| HZ_USER_FAVORITE_PARTIES | hz_parties | USER_PARTY_ID |
| HZ_USER_FAVORITE_PARTIES | hz_parties | PARTY_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| HZ_USER_FAVORITE_PARTIES_PK | Unique | Default | USER_FAVORITE_PARTY_ID |
| HZ_USER_FAVORITE_PARTIES_U1 | Unique | Default | USER_PARTY_ID, PARTY_ID |