SDM_FORM_ACCESS
This table stores all user information for data collection units of form and journal template.
Primary Key
Table 4-67 Primary Key Table
Constraint Name | Columns |
---|---|
SDM_FRM_ACCESS_PK | FORM_ACCESS_ID |
Foreign Key
Table 4-68 Foreign Key Table
Table | Foreign Table | Foreign Key Columns |
---|---|---|
SDM_FORM_ACCESS | SDM_FORM_DCU | FORM_DCU_ID |
SDM_FORM_ACCESS | SDM_FORM | FORM_ID |
Columns
Table 4-69 Column Details Table
Name | Data Type | Length | Precision | Scale | Null Allowed | Comments |
---|---|---|---|---|---|---|
FORM_ACCESS_ID | NUMBER | 18 | 0 | No | Unique identifier of the record. | |
FORM_ID | NUMBER | 18 | 0 | No | Form template, to which, this user belongs. Refers to FORM_ID of SDM_FORM table. | |
FORM_DCU_ID | NUMBER | 18 | 0 | No | Data Collection Unit, to which, this user belongs. Refers to FORM_DCU_ID of SDM_FORM_DCU table. | |
USER_ID | VARCHAR2 | 255 | No | ID of specific user. | ||
ACCESS_TYPE | VARCHAR2 | 30 | No | Indicates type of the user, for example, Preparer, Approver, Integrator, Viewer | ||
USER_TYPE | CHAR | 1 | No | Indicates type of the user. U=User, G=Group, T=Team | ||
ACCESS_LEVEL | NUMBER | 3 | 0 | Yes | Indicates the order, in which, user need to take action on the form. It starts with 0. | |
VIEW_OPTION | VARCHAR2 | 40 | Yes | Indicates when viewer type of user can view the data, for example, Always, After Submission, After Approval | ||
DCP_ID | NUMBER | 18 | 0 | Yes | Data Collection Period, to which, this copy record belongs. Refers to DCP_ID of SDM_DATA_COLLECTION_PERIOD table. | |
APP_ID | NUMBER | 1 | 0 | No | Identifier for the application to which the row corresponds to, for example, SDM:4. | |
OBJECT_VERSION_NUMBER | NUMBER | 9 | 0 | No | 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_LOGIN | VARCHAR2 | 255 | Yes | Who column: indicates the session login associated to the user who last updated the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 255 | No | Who column: indicates the user who last updated the row. | ||
LAST_UPDATE_DATE | DATE | No | Who column: indicates the date and time of the last update of the row. | |||
CREATED_BY | VARCHAR2 | 255 | No | Who column: indicates the user who created the row. | ||
CREATION_DATE | DATE | No | Who column: indicates the date and time of the creation of the row. |
Indexes
Table 4-70 Index Table
Index | Uniqueness | Columns |
---|---|---|
SDM_FRM_ACCESS_PK | UNIQUE | FORM_ACCESS_ID |
SDM_FRM_ACES_N1_FRMID | NONUNIQUE | FORM_ID |