SDM_FORM_SECTION

This table stores all sections of form/journal templates.

Primary Key

Table 4-115 Primary Key Table

Constraint Name Columns
SDM_FRM_SECTION_PK FORM_SECTION_ID

Foreign Key

Table 4-116 Foreign Key Table

Table Foreign Table Foreign Key Columns
SDM_FORM_SECTION SDM_FORM_SECTION PARENT_SECTION_ID
SDM_FORM_SECTION SDM_DATA_SET DATA_SET_ID
SDM_FORM_SECTION SDM_FORM FORM_ID

Columns

Table 4-117 Column Details Table

Name Data Type Length Precision Scale Null Allowed Comments
FORM_SECTION_ID NUMBER   18 0 No Unique identifier of the record.
FORM_ID NUMBER   18 0 No Form template, to which, this section belongs. Refers to FORM_ID of SDM_FORM table.
DATA_SET_ID NUMBER   18 0 No Data Set, to which, this section belongs. Refers to DATA_SET_ID of SDM_DATA_SET table.
NAME VARCHAR2 80     No Name of the section.
DISPLAY_OPTION VARCHAR2 15     No Indicates whether data record in the form should be displayed as row or column.
SECTION_ORDER NUMBER   4 0 No Indicates the order, in which, sections should be displayed.
COLUMN_TOTAL_ROW_POS VARCHAR2 40     No Indicates position of total row in form data entry, for example,Top, Bottom, None.
GROUPBY_TOTAL_ROW_POS VARCHAR2 40     No Indicates position of total row in form summary, for example, Top, Bottom, None.
PARENT_SECTION_ID NUMBER   18 0 Yes When a section is for sub-collection, this field points to parent section id. Refers to FORM_SECTION_ID of SDM_FORM_SECTION table.
DISPLAY_COLUMN_COUNT NUMBER   1 0 Yes This indicates number of columns to display in UI for header display option.
MASTER_ID NUMBER   18 0 Yes During deploy, copy record is created. This field is populated in copy record to point to the master record. Refers to primary key of this same table.
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-118 Index Table

Index Uniqueness Columns
SDM_FRM_SECTION_PK UNIQUE FORM_SECTION_ID
SDM_FRM_SCTN_U1_FRM_NM UNIQUE FORM_ID, SYS_NC00020$
SDM_FRM_SCTN_U2_MSTR_DCP UNIQUE MASTER_ID, DCP_ID