Events
Create, update, delete, and query events registered in the SuiteCRM project
Table Specific Information
Select
You can query the Events table using any criteria in the WHERE clause. The driver will use the SuiteCRM API to filter the results.
SELECT * FROM Events WHERE Locations LIKE '%San Francisco%' AND [Start Date] < '2017-02-02'
Insert
Create an Event entry by specifying any writable column.
INSERT INTO Events (Name,[Start Date],[End Date]) VALUES ('Inauguration','2017-06-13','2017-06-14')
Update
You can update any Event column that is writable, by specifying the Id.
UPDATE Events SET Budget = 30000 WHERE Id = 'Test123'
Delete
Delete an Event by specifying the Id.
DELETE FROM Events WHERE Id = '10003'
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the event. |
AcceptRedirectURL | String | False |
The URL to redirect to if the event is accepted |
ActivityStatus | String | False |
Status type of the event activity |
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. |
Budget | Double | False |
Budget set for the event |
CreatedById | String | True |
The Id of the user who created the record. |
CreatedByName | String | True |
The name of the user who created the record. |
Currency | String | False |
Id of the currency used in the budget |
DateCreated | Datetime | True |
The date the record was created. |
DateModified | Datetime | True |
The date the record was last modified. |
DeclineRedirect_URL | String | False |
The URL to redirect to if the event is declined |
Deleted | Bool | False |
The record deletion indicator. |
Description | String | False |
Description given for the event |
Duration | String | True |
Complete duration of the event |
DurationHours | Int | False |
Number of hours the event lasts |
DurationMinutes | Int | False |
Number of minutes the event lasts |
EmailInviteTemplate | String | False |
Template for an email invite |
EndDate | Datetime | False |
Date the event ends |
LBL_RESPONSE_LINK | String | True |
Url that accepts the event invitation |
LBL_RESPONSE_LINK_DECLINED | String | True |
URL that declines the event invitation |
Locations | String | True |
Locations the event will take place |
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 |
Name given to the event |
StartDate | Datetime | False |
Date the event starts |
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. |