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 driver will use the SuiteCRM API to filter the results.
SELECT * FROM Locations WHERE Name = 'test'
Insert
Create a Location by specifying any writable column.
INSERT INTO Locations (Id, Name) VALUES ('id', 'Energy')
Update
You can update any Location column that is writable, by specifying the Id.
UPDATE Locations SET Name = 'new name', Description = 'Desc' 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. |
Name | String | False |
Name assigned to the location |
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 location |
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. |
FpEventLocationsFpEvents1 | String | True |
|
Address | String | False |
Street address of the location |
AddressCity | String | False |
|
AddressCountry | String | False |
|
AddressPostalcode | String | False |
|
AddressState | String | False |
|
Capacity | String | False |
Capacity estimated for the location |