SavedSearches
Query any saved searches
Table Specific Information
Select
You can query the Saved Searches table using any criteria in the WHERE clause. The driver will use the SuiteCRM API to filter the results.
SELECT * FROM [Saved Searches] WHERE Contents LIKE '%account%' AND [Date Created] > '2017-08-09'
Insert
Create a Saved Search by specifying any writable column.
INSERT INTO [Saved Searches] (Name, Module, Contents) VALUES ('Search 1', 'Opportunities', 'growth chance')
Update
You can update any Saved Search column that is writable, by specifying the Id.
UPDATE [Saved Searches] SET Contents = 'ideas' WHERE Id = 'Test123'
Delete
Remove a Saved Search by specifying the Id.
DELETE FROM [Saved Searches] WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
The unique identifier of the saved search. |
AssignedUserId | String | False |
User Id assigned to the record. |
AssignedUserName | String | True |
The user name of the user assigned to the record. |
Contents | String | False |
The contents of the saved search. |
LBL_CREATED_BY | Bool | False |
The record deletion indicator. |
DateCreated | Datetime | True |
The date the record was created. |
DateModified | Datetime | True |
The date the record was last modified. |
Description | String | False |
The description of the role. |
Module | String | False |
The search's target module. |
Name | String | False |
The name of the saved search. |
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description |
Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |