Reports
Create, update, delete, and query information on reports made in SuiteCRM.
Table Specific Information
Select
You can query the Reports table using any criteria in the WHERE clause. The add-in will use the SuiteCRM API to filter the results.
SELECT * FROM Reports WHERE Name = 'test'
Insert
Create a Report by specifying any writable column.
INSERT INTO Reports (Id, Name) VALUES ('id', 'Energy')
Update
You can update any Report column that is writable, by specifying the Id.
UPDATE Reports SET Name = 'new name', Description = 'Desc' WHERE Id = 'Test123'
Delete
Remove a Report by specifying the Id.
DELETE FROM Reports WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
The unique identifier of the report. |
Name | String | False |
Name assigned to the report |
DateEntered | Datetime | False |
The date the record was created. |
DateModified | Datetime | False |
The date the record was last modified. |
ModifiedUserId | String | False |
The Id of the user who last modified the record. |
ModifiedByName | String | True |
The name of the user who last modified the record. |
CreatedBy | String | False |
The Id of the user who created the record. |
CreatedByName | String | True |
The name of the user who created the record. |
Description | String | False |
Description for the report |
Deleted | Bool | False |
The record deletion indicator. |
CreatedByLink | String | True |
Link to the record who created it |
ModifiedUserLink | String | True |
Link to the record who modified it. |
AssignedUserId | String | False |
The Id of the user assigned to the record. |
AssignedUserName | String | True |
|
AssignedUserLink | String | True |
Link to the user which the record has been assigned to |
SecurityGroups | String | True |
The security group associated with the record. |
ReportModule | String | False |
The module the report has targeted |
GraphsPerRow | String | False |
|
FieldLines | String | False |
|
ConditionLines | String | False |
|
AorFields | String | True |
|
AorConditions | String | True |
|
AorCharts | String | True |
|
AorScheduledReports | String | True |
|