ScheduledReports
Create, update, delete, and query information on SuiteCRM scheduled reports.
Table Specific Information
Select
You can query the Scheduled Reports table using any criteria in the WHERE clause. The adapter will use the Suite CRM API to filter the results.
SELECT * FROM "Scheduled Reports" WHERE "Last Run" < '2014-11-15'
Insert
Create a Scheduled Report by specifying any writable column.
INSERT INTO "Scheduled Reports" (Name, LBL_AOR_REPORT_ID, Schedule) VALUES ('Monthly Earnings Reporting', 'ReportId91', 'ScheduleId20')
Update
You can update any Scheduled Report column that is writable, by specifying the Id.
UPDATE "Scheduled Reports" SET "Email Recipients" = 'emailaddress1,emailaddress2' WHERE Id = 'Test123'
Delete
Remove a Scheduled Report by specifying the Id.
DELETE FROM "Scheduled Reports" WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the scheduled report. |
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. |
Deleted | Bool | False |
The record deletion indicator. |
Description | String | False |
Description for the scheduled report |
EmailRecipients | String | False |
List of email addresses the schedule results will be sent to |
Lastrun | String | True |
Date of last run of the schedule |
LBL_AOR_REPORT_ID | String | False |
Report Id of the report that is generated |
Reports | String | True |
The name of the report being scheduled to run |
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 assigned to the schedule |
Schedule | String | False |
The schedule expressed in cron language |
Status | String | False |
Status of the schedule The allowed values are Active, Inactive. |
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. |