ENQ_QUALITY_TYPES_B

Base table that stores Information about Quality Types

Details

  • Schema: FUSION

  • Object owner: ENQ

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

ENQ_QUALITY_TYPES_B_PK

QUALITY_TYPE_ID

Columns

Name Datatype Length Precision Not-null Comments
QUALITY_TYPE_ID NUMBER 18 Yes Quality Type Id is a Primary Key which will be system generated Application Unique 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.
PARENT_QUALITY_TYPE_ID NUMBER 18 Parent Quality Type ID is a self referenced foreign key to store the parent Quality Type ID
OBJECT_TYPE VARCHAR2 30 Yes Indicates the Quality type being either Issue or Action. The supported types are defined in the Lookup type with the name ORA_ENQ_OBJECT_TYPE and the lookup codes are ORA_ISSUE, ORA_ACTION.
IS_ACTIVE VARCHAR2 30 Yes Indicates Quality type is active or not. Valid values are defined in the LookupType with the name ORA_ENQ_YES_NO and the lookup codes are ORA_YES,ORA_NO
INSTANTIATION_ALLOWED VARCHAR2 30 Yes Indiacates whether instantiation is allowed on the selected Quality Type. Valid values are defined in the LookupType with the name ORA_ENQ_YES_NO and the lookup codes are ORA_YES,ORA_NO
SOURCE VARCHAR2 30 Indicates the source of Quality Type (e.g.Manufacturing, Receiving, Other ...). The supported types are defined in the Lookup type with the name ORA_ENQ_SOURCE and the lookup codes are e.g. ORA_MANUFACTURING, ORA_RECEIVING, ORA_OTHER ...
CODE VARCHAR2 30 Yes Indicates internal unique name for a Quality Type.
IS_SEEDED VARCHAR2 30 This flag will be used to restrict users from editing the seeded values in this table. The valid values for this column is defined in the Lookup type 'ORA_ENQ_YES_NO'. The lookup codes are ORA_YES,ORA_NO
DISPLAY_ORDER NUMBER 5 Indicates the display order for Quality Types
NUMBER_GENERATION_METHOD VARCHAR2 30 Yes Number generation used to generate the quality event number
DEFAULT_ASSIGNEE_ID VARCHAR2 64 Default assignee of the quality event.
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.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
ENQ_QUALITY_TYPES_B enq_quality_types_b PARENT_QUALITY_TYPE_ID
enq_qlty_type_supp_entities enq_quality_types_b QUALITY_TYPE_ID
enq_quality_types_b enq_quality_types_b PARENT_QUALITY_TYPE_ID
enq_quality_types_tl enq_quality_types_b QUALITY_TYPE_ID
enq_auto_seq_metadata enq_quality_types_b QUALITY_TYPE_ID
enq_issues_b enq_quality_types_b QUALITY_TYPE_ID

Indexes

Index Uniqueness Tablespace Columns
ENQ_QUALITY_TYPES_B_N1 Non Unique Default PARENT_QUALITY_TYPE_ID
ENQ_QUALITY_TYPES_B_N2 Non Unique Default OBJECT_TYPE
ENQ_QUALITY_TYPES_B_N3 Non Unique Default SOURCE
ENQ_QUALITY_TYPES_B_U1 Unique Default QUALITY_TYPE_ID, ORA_SEED_SET1
ENQ_QUALITY_TYPES_B_U11 Unique Default QUALITY_TYPE_ID, ORA_SEED_SET2
ENQ_QUALITY_TYPES_B_U2 Unique Default CODE, ORA_SEED_SET1
ENQ_QUALITY_TYPES_B_U21 Unique Default CODE, ORA_SEED_SET2