JDBC Driver for SuiteCRM

Build 22.0.8462

ReportCharts

Create, update, delete, and query report charts.

Table Specific Information

Select

You can query the Report Charts table using any criteria in the WHERE clause. The driver will use the SuiteCRM API to filter the results.

SELECT * FROM [Report Charts] WHERE Type LIKE 'Bar Chart'

Insert

Create a Report Chart by specifying any writable column.LBL_X_FIELD and LBL_Y_FIELD must be equal to the order of the report fields selected for the reports to the report

INSERT INTO [Report Charts] (Name,LBL_X_FIELD,LBL_Y_FIELD,LBL_AOR_REPORT_ID) VALUES ('Yearly Report',0,1,'RecordId34')

Update

You can update any Report Chart entry column that is writable, by specifying the Id.

UPDATE [Report Charts] SET Type = 'Histogram' WHERE Id = 'Test123' 

Delete

Remove a Report Chart by specifying the Id.

DELETE FROM [Report Charts] WHERE Id = 10003

Columns

Name Type ReadOnly Description
ID [KEY] String False

The unique identifier of the inbound.

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 Report Chart

LBL_AOR_REPORT_ID String False

The report Id of the report the chart is built on

LBL_AOR_REPORT_NAME String True

The report name of the report the chart is built on

LBL_X_FIELD Int False

Label for the X coordinate in the report

LBL_Y_FIELD Int False

Label for the Y coordinate in the report

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 chart

Type String False

Type of the report chart

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.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462