Tasks
Create, update, delete, and query tasks in SuiteCRM.
テーブル固有の情報
Select
WHERE 句で任意の条件を使用して、Tasks テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。
SELECT * FROM Tasks WHERE Status = 'In Progress'
Insert
書き込み可能なカラムを指定して、Task を作成します。
INSERT INTO Tasks (Subject, Priority, [Due Date]) VALUES ('Urgent Task', 'High', '2017-10-30')
Update
Id を指定して、書き込み可能なTask カラムを更新できます。
UPDATE Tasks SET Status = 'Completed' WHERE Id = 'Test123'
Delete
Id を指定して、Task を削除します。
DELETE FROM Tasks WHERE Id = 10003
Columns
| Name | Type | ReadOnly | Description |
| ID [KEY] | String | False |
The unique identifier of the record. |
| Assignedto | String | True |
The name of the user assigned to the record. |
| AssignedUserId | String | False |
The Id of the user assigned to the record. |
| ContactID | String | False |
The Id of the associated contact. |
| ContactName | String | True |
The name of the associated contact. |
| ContactPhone | String | True |
The phone of the associated contact. |
| 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 |
The full text of the note. |
| DueDate | Datetime | False |
The due date of the task. |
| DueTime | Datetime | True |
The time the task is due. |
| EmailAddress | String | True |
The email of the associated contact. |
| 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. |
| NoDueDate | Bool | False |
Whether the task has a due date. |
| NoStartDate | Bool | False |
Whether the flag has a start date. |
| ParentID | String | False |
The Id of the Sugar item to which the call is related. |
| ParentType | String | False |
The type of the Sugar item to which the call is related. |
| Priority | String | False |
The priority of the task. |
| Relatedto | String | True |
The name of the Sugar item to which the call is related. |
| StartDate | Datetime | False |
The start date of the task. |
| Status | String | False |
The status of the task. |
| Subject | String | False |
The name of the task. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |