JDBC Driver for SuiteCRM

Build 22.0.8462

BusinessHours

Create, update, delete, and query business hours information in SuiteCRM

Table Specific Information

Select

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

SELECT * FROM [Business Hours] WHERE [Closing Hours] LIKE '23:%' 

Insert

Create a Business Hours entity by specifying any writable column.

INSERT INTO [Business Hours] (Name,[Opening Hours],[Closing Hours]) VALUES ('Part Timer Hours','9:00','16:00')

Update

You can update any Business Hours column that is writable, by specifying the Id.

UPDATE [Business Hours] SET [Opening Hours] = '13' WHERE Id = 'Test123' 

Delete

Delete a Business Hours entry by specifying the Id.

DELETE FROM [Business Hours] WHERE Id = '10003'

Columns

Name Type ReadOnly Description
ID [KEY] String False

The unique identifier of the business hour.

ClosingHours String False

Time the business hours ends

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.

Day String False

Which day of the week is the business hour applied for

Deleted Bool False

The record deletion indicator.

Description String False

Description for the business hour

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 business hour

Open Bool False

Whether the business hour is open

OpeningHours String False

Time the business hour 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.

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