Locations
Create, update, delete, and query locations in SuiteCRM
テーブル固有の情報
Select
WHERE 句で任意の条件を使用して、Locations テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。
SELECT * FROM Locations WHERE Name LIKE '%ville%' AND [Date Created] > '2017-10-09'
Insert
書き込み可能なカラムを指定して、Location を作成します。
INSERT INTO Locations (Name, Address, City, Country) VALUES ('Ballroom Event', 'Rose Street', 'Paris', 'France')
Update
Id を指定して、書き込み可能なLocation カラムを更新できます。
UPDATE Locations SET Capacity = '4000' 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. |
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
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |