POS_USER_ACCESS_VAL_REQUESTS
This is the staging table that will store the access attributes specified for users from User Account UI which are either in 1) to be approved state or 2) approved state but user account is not created by IDx engine. Both supplier and supplier site access data will be stored in this table. Since this is a staging table which holds unapproved data, data will be moved from this table to the main table (POS_USER_ACCESS_VALUES) on being approved.
Details
-
Schema: FUSION
-
Object owner: POS
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
POS_USER_ACCESS_VAL_REQ_PK |
ACCESS_REQUEST_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
ACCESS_REQUEST_ID | NUMBER | 18 | Yes | Surrogate Key | |
PER_PARTY_ID | NUMBER | 18 | Foreign Key to POZ_CONTACT_ATTRIBUTES ( PER_PARTY_ID). Person Party Id (for approved contact but user account not created by IDx) | ||
CONTACT_REQUEST_ID | NUMBER | 18 | Foreign Key to POZ_CONTACT_ATTRIBUTE_REQUEST (CONTACT_REQUEST_ID) for unapproved contact) | ||
ACCESS_CODE | VARCHAR2 | 30 | Yes | Value 'SUPPLIER' or 'SUPPLIER_SITE'. This value indicates the kind of access level (Restricted to Supplier or Supplier Site) | |
ACCESS_VALUE | NUMBER | 18 | Yes | Valid VENDOR_ID or VENDOR_SITE_ID. This depends on the value of the ACCESS_CODE i.e. if ACCESS_CODE value is 'SUPPLIER', then ACCESS_VALUE must have a valid VENDOR_ID and if ACCESS_CODE value is 'SUPPLIER_SITE', then ACCESS_VALUE must have a valid VENDOR_SITE_ID | |
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. | |
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_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of 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 |
---|---|---|
POS_USER_ACCESS_VAL_REQUESTS | hz_parties | PER_PARTY_ID |
POS_USER_ACCESS_VAL_REQUESTS | poz_contact_attribute_request | CONTACT_REQUEST_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
POS_USER_ACCESS_VAL_REQ_N1 | Non Unique | Default | PER_PARTY_ID, ACCESS_CODE |
POS_USER_ACCESS_VAL_REQ_N2 | Non Unique | Default | CONTACT_REQUEST_ID, ACCESS_CODE |
POS_USER_ACCESS_VAL_REQ_PK | Unique | Default | ACCESS_REQUEST_ID |