Locations
Create, update, delete, and query locations in SuiteCRM
テーブル固有の情報
Select
WHERE 句で任意の条件を使用して、Locations テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。
SELECT * FROM Locations WHERE Name = 'test'
Insert
書き込み可能なカラムを指定して、Location を作成します。
INSERT INTO Locations (Id, Name) VALUES ('id', 'Energy')
Update
Id を指定して、書き込み可能なLocation カラムを更新できます。
UPDATE Locations SET Name = 'new name', Description = 'Desc' WHERE Id = 'Test123'
Delete
Id を指定して、Location を削除します。
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 |