Products
Create, update, delete, and query the products registered for the SuiteCRM project
テーブル固有の情報
Select
WHERE 句で任意の条件を使用して、Products テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。
SELECT * FROM Products WHERE [Product Name] LIKE '%test%'
Insert
書き込み可能なカラムを指定して、Product を作成します。
INSERT INTO Products ([Product Name], [Product Code]) VALUES ('Prod', 'CODE1')
Update
Id を指定して、書き込み可能なProduct カラムを更新できます。
UPDATE Products SET [Product Code] = 'Test', [Part Number] = '2part' WHERE Id = 'Test123'
Delete
Id を指定して、Product を削除します。
DELETE FROM Products WHERE Id = '10003'
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the ACL Action. |
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. |
Category | String | False |
Name of the product's category. |
Contact | String | True |
Product's point of contact name. |
contact_id | String | False |
Product's point of contact id. |
Cost | Double | False |
Cost of the product. |
Cost(DefaultCurrency) | Double | False |
Cost of the product in USD. |
CreatedById | String | True |
The Id of the user who created the record. |
CreatedByName | String | True |
The name of the user who created the record. |
Currency | String | False |
The Id of the currency used for the product. |
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 action description. |
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. |
PartNumber | String | False |
Part number of the product. |
Price | Double | False |
Price of the product. |
Price(DefaultCurrency) | Double | False |
Price of the product in USD. |
ProductCategory | String | True |
Name of the product's category. |
ProductCategoryID | String | False |
Id of the product's category. |
ProductCode | String | False |
The code assigned to the product |
ProductImage | String | False |
Image uploaded for the product. |
ProductName | String | False |
The action name. |
Type | String | False |
Type of the product. |
URL | String | False |
Url where the product can be seen. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |