POZ_CONTACT_ATTRIBUTE_REQUEST
This is the staging table that will store data pertaining to the kind of access level a particular contact has. At the UI level, the contact access will be restricted to either the Supplier level (default) or at the Supplier Site level. This is the table which records that selection but only for unapproved records i.e. when the contact is not approved or when the contact is approved but user account is not created by IDx. Since this is a staging table which holds unapproved data, data will be moved from this table to the main table (POZ_CONTACT_REQUESTS) on being approved.
Details
-
Schema: FUSION
-
Object owner: POZ
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
POZ_CONTACT_ATTRIBUTE_REQ_PK |
ACCESS_LEVEL_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
ACCESS_LEVEL_ID | NUMBER | 18 | Yes | Surrogate Key | |
PER_PARTY_ID | NUMBER | 18 | Foreign Key to HZ_PARTIES (PER_PARTY_ID). Represents the person id of an approved contact for which the user account is still not created by OID. | ||
CONTACT_REQUEST_ID | NUMBER | 18 | Foreign key to POZ_CONTACT_REQUESTS. Represents the request id of an unapproved contact. | ||
ACCESS_LEVEL | VARCHAR2 | 30 | Yes | Indicates the kind of access (Supplier or Supplier Site) a particular contact has. Valid values are 'SUPPLIER' or 'SUPPLIER_SITE' | |
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 |
---|---|---|
POZ_CONTACT_ATTRIBUTE_REQUEST | hz_parties | PER_PARTY_ID |
POZ_CONTACT_ATTRIBUTE_REQUEST | poz_contact_requests | CONTACT_REQUEST_ID |
pos_user_access_val_requests | poz_contact_attribute_request | CONTACT_REQUEST_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
POZ_CONTACT_ATTRIBUTE_REQ_N1 | Non Unique | Default | PER_PARTY_ID, ACCESS_LEVEL |
POZ_CONTACT_ATTRIBUTE_REQ_N2 | Non Unique | Default | CONTACT_REQUEST_ID, ACCESS_LEVEL |
POZ_CONTACT_ATTRIBUTE_REQ_PK | Unique | ACCESS_LEVEL_ID |