SVC_SELF_SERVICE_ROLES

This table is used to store self service roles created by users. ROLE_ID is primary / unique key in this table.

Details

  • Schema: FUSION

  • Object owner: FUSION

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

SVC_SELF_SERVICE_ROLES_PK

ROLE_ID

Columns

Name Datatype Length Precision Not-null Comments
ROLE_ID NUMBER 18 Yes Auto-generated number and primary key for this table
REGISTRATION_ID NUMBER 18 Foreign Key to Registration Object(SVC_SELF_REGISTRATION (REGISTRATION_ID))
ACCOUNT_PARTY_ID NUMBER 18 Foreign Key to Account Object(HZ_PARTIES (PARTY_ID)).
CONTACT_PARTY_ID NUMBER 18 Foreign Key to Contact Object(HZ_PARTIES (PARTY_ID))
RELATIONSHIP_TYPE_CD VARCHAR2 320 This column is stores relationship type System Look up
REQUEST_TYPE_CD VARCHAR2 30 Lookup code for type of registration request. Possible values include B2B and B2C
LOGIN_ID VARCHAR2 320 Login Id specified by the user to be used as userName of the ldap account, if not provided, the username would be determined by the profile option
INITIAL_IDP_CD VARCHAR2 30 Name of the Initial Identity Provider where this self service role was created. The value of the provider will be in the form of a LOV.
CURRENT_IDP_CD VARCHAR2 30 Name of the Current Identity Provider where this self service role resides. The value of the provider will be in the form of a LOV.
START_DATE DATE START_DATE will be stamped when a role is created.
END_DATE DATE END_DATE will be stamped when a role is deleted from DB. Delete role is soft delete here.
DELETE_FLAG VARCHAR2 1 DELETE_FLAG will store the value of whether roles deleted (also called as soft delete)
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update 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.
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.

Foreign Keys

Table Foreign Table Foreign Key Column
SVC_SELF_SERVICE_ROLES svc_self_registrations REGISTRATION_ID
SVC_SELF_SERVICE_ROLES hz_parties CONTACT_PARTY_ID
SVC_SELF_SERVICE_ROLES hz_parties ACCOUNT_PARTY_ID

Indexes

Index Uniqueness Tablespace Columns
SVC_SELF_SERVICE_ROLES_F1 Non Unique Default REGISTRATION_ID
SVC_SELF_SERVICE_ROLES_F3 Non Unique Default CONTACT_PARTY_ID
SVC_SELF_SERVICE_ROLES_PK Unique Default ROLE_ID
SVC_SELF_SERVICE_ROLES_U1 Unique Default LAST_UPDATE_DATE, ROLE_ID
SVC_SELF_SERVICE_ROLES_U2 Unique Default ACCOUNT_PARTY_ID, CONTACT_PARTY_ID, RELATIONSHIP_TYPE_CD, DECODE("DELETE_FLAG",'N','N',"ROLE_ID")