Cmdlets for SuiteCRM

Build 24.0.9060

Locations

Create, update, delete, and query locations in SuiteCRM

Table Specific Information

Select

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

SELECT * FROM Locations WHERE Name LIKE '%ville%' AND [Date Created] > '2017-10-09'

Insert

Create a Location by specifying any writable column.

INSERT INTO Locations (Name, Address, City, Country) VALUES ('Ballroom Event', 'Rose Street', 'Paris', 'France')

Update

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

UPDATE Locations SET Capacity = '4000' WHERE Id = 'Test123' 

Delete

Remove a Location by specifying the Id.

DELETE FROM Locations WHERE Id = 10003

Columns

Name Type ReadOnly Description
ID [KEY] String False

The unique identifier of the location.

Address String False

Street address of the location

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.

Capacity String False

Capacity estimated for the location

City String False

City of the location

Country String False

Country of the location

County String False

County of the location

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 location

ModifiedById String True

ModifiedByName String True

Name String False

Name assigned to the location

Postcode String False

Postal code of the location

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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060