ZCA_USER_SALES_ACCOUNTS
Stores key customers for a user.
Details
-
Schema: FUSION
-
Object owner: ZCA
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
ZCA_USER_SALES_ACCOUNTS_PK |
USER_SALES_ACCOUNT_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| USER_SALES_ACCOUNT_ID | NUMBER | 18 | Yes | This is the Primary key. Auto-generated. | |
| RATING | NUMBER | sales account user rating | |||
| USER_PARTY_ID | NUMBER | 18 | Yes | FK To HZ_PARTIES. Identifier of the user who stores the contact in this record. | |
| SALES_ACCOUNT_ID | NUMBER | 18 | Yes | FK To ZCA_SALES_ACCOUNTS. Identifier of the sales account selected as key customer by the user. | |
| 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 |
|---|---|---|
| ZCA_USER_SALES_ACCOUNTS | hz_parties | USER_PARTY_ID |
| ZCA_USER_SALES_ACCOUNTS | zca_sales_accounts | SALES_ACCOUNT_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZCA_USER_SALES_ACCOUNTS_PK | Unique | Default | USER_SALES_ACCOUNT_ID |
| ZCA_USER_SALES_ACCOUNTS_U1 | Unique | Default | USER_PARTY_ID, SALES_ACCOUNT_ID |