ProductCategories
Create, update, delete, and query the product categories.
Table Specific Information
Select
You can query the Product Categories table using any criteria in the WHERE clause. The add-in will use the SuiteCRM API to filter the results.
SELECT * FROM [Product Categories] WHERE Name = 'Clothing'
Insert
Create a Product Category by specifying any writable column.
INSERT INTO [Product Categories] (Name, [Is Parent Category]) VALUES ('Color', true)
Update
You can update any Product Category column that is writable, by specifying the Id.
UPDATE [Product Categories] SET Name = 'Changed' WHERE Id = 'Test123'
Delete
Delete a Product Category by specifying the Id.
DELETE FROM [Product Categories] WHERE Id = '10003'
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the inbound. |
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. |
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 category |
Isparentcategory | Bool | False |
Whether this category will be a parent for other categories |
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. |
Name | String | False |
Name assigned to the category |
ParentCategoryID | String | False |
Id of the category's parent category |
ParentCategory | String | True |
Name of the parent category |
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description |
Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |