FND_SAVED_SEARCH_B

The primary table for storing Saved Searches.

Details

  • Schema: SEARCH

  • Object owner: FND

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

FND_SAVED_SEARCH_B_PK

SAVED_SEARCH_ID

Columns

Name Datatype Length Precision Not-null Comments
SAVED_SEARCH_ID NUMBER 18 Yes SAVED_SEARCH_ID - Unique internal id for primary key.
SAVED_SEARCH_CODE VARCHAR2 30 Yes SAVED_SEARCH_CODE - A Unique code for the saved searches.
SEARCH_TYPE VARCHAR2 30 Yes SEARCH_TYPE: The type of saved search. Values 'SAVED' and 'RECENT'.
VERSION VARCHAR2 30 Yes VERSION - Semantic version of the saved search object.
CONTEXT_CODE VARCHAR2 30 Yes CONTEXT_CODE - A striping attribute that keeps one set of saved searches distinct from another. Example: 'CRM', 'HCM'
OBJECT_TYPE VARCHAR2 30 Yes OBJECT_TYPE - a sub classification of CONTEXT_CODE for striping saved searches.
APPLIED_TYPE VARCHAR2 30 Yes APPLIED_TYPE - The level the saved search will be applied to - one of: USER - a USER Saved Search. The username will be in the APPLIED_NAME field. ROLE - a Saved search for users with a given Role. The role will be in he APPLIED_NAME field. SYSTEM - a system saved search, all users will see it. The APPLIED_NAME field will contain 'SYSTEM'.
APPLIED_NAME VARCHAR2 2000 Yes APPLIED_NAME - Who saved search be applied to - dependent on the APPLIED_TYPE.
OWNER_TYPE VARCHAR2 30 Yes OWNER_TYPE - The owner type of the saved search - one of: USER - a USER Saved Search. The username will be in the OWNER_NAME field. ROLE - a Saved search for users with a given Role. The role will be in he OWNER_NAME field. SYSTEM - a system saved search, all users will see it. The OWNER_NAME field will contain 'SYSTEM'.
OWNER_NAME VARCHAR2 2000 Yes OWNER_NAME - dependent on the OWNER_TYPE.
ENABLED_FLAG VARCHAR2 1 Yes ENABLED_FLAG - Is this saved search enabled (Y/N).
DEFAULT_FLAG VARCHAR2 1 Yes DEFAULT_FLAG - Is this the default Saved Search? The USER saved search will be run in preference to a default ROLE or SYSTEM saved search.
VISIBLE_FLAG VARCHAR2 1 Yes VISIBLE_FLAG - Is the Saved Search shown in UI to users?
AUTO_RUN_FLAG VARCHAR2 1 Yes AUTO_RUN_FLAG - Is the Saved Search automatically executed? Some saved searches should not be run blind and require users to provide keywords before execution.
SAVED_SEARCH CLOB Yes SAVED_SEARCH - A CLOB of data representing the saved search.
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.
USER_DATA VARCHAR2 255 USER_DATA - Provides optional ability to store additional user data about the saved search.
MODULE_ID VARCHAR2 32 Seed Data Framework: indicates the module that owns the row. A module is an entry in Application Taxonomy such as a Logical Business Area. When the MODULE_ID column exists and the owner of the row is not specified, then the Seed Data Framework will not extract the row as seed data.
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 Seed data file from which the row originates.
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
fnd_saved_search_tl fnd_saved_search_b SAVED_SEARCH_ID

Indexes

Index Uniqueness Tablespace Columns
FND_SAVED_SEARCH_B_N1 Non Unique Default CONTEXT_CODE, OBJECT_TYPE
FND_SAVED_SEARCH_B_U1 Unique Default SAVED_SEARCH_ID, ORA_SEED_SET1
FND_SAVED_SEARCH_B_U11 Unique Default SAVED_SEARCH_ID, ORA_SEED_SET2
FND_SAVED_SEARCH_B_U2 Unique Default SAVED_SEARCH_CODE, ORA_SEED_SET1
FND_SAVED_SEARCH_B_U21 Unique Default SAVED_SEARCH_CODE, ORA_SEED_SET2