TargetLists
Create, update, delete, and query the saved target lists.
Table Specific Information
Select
You can query the Target Lists table using any criteria in the WHERE clause. The add-in will use the SuiteCRM API to filter the results.
SELECT * FROM [Target Lists] WHERE [Targets in List] > 2
Insert
Create a Target List by specifying any writable column.
INSERT INTO [Target Lists] (Name, Type, [Assigned User Id]) VALUES ('Test Account', 'Default', 'UserId42')
Update
You can update any Target List column that is writable, by specifying the Id.
UPDATE [Target Lists] SET [Domain Name] = 'New Domain', Type = 'seed' WHERE Id = 'Test123'
Delete
Remove a Target List by specifying the Id.
DELETE FROM [Target Lists] WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The Id of the target list. |
Assignedto | String | True |
The user name of the user assigned to the record. |
AssignedUserId | String | False |
The Id of the user assigned to the record. |
CreatedBy | Bool | False |
The record deletion indicator. |
CreatedById | String | True |
The Id of the user who created the record. |
CreatedByName | String | True |
The name of the user who created the record. |
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 target list. |
DomainName | String | False |
The domain name of the target list. |
MarketingId | String | True |
The marketing Id of the target list. |
MarketingName | String | True |
The marketing name of the target list. |
ModifiedById | String | True |
The Id of the user who last modified the record. |
ModifiedByName | String | True |
The name of the user who last modified the record. |
Name | String | False |
The name of the target list. |
TargetsinList | Int | True |
The entry count of the prospect list. |
Type | String | False |
The type of the target list. |
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. |