CatalogProductCategory::createCatalogProductCategory Method
Create a new catalog product category.
Syntax
client server public static CatalogProductCategory createCatalogProductCategory(
RefRecId catalogProductRecId,
EcoResCategoryHierarchyId _hierarchyId,
EcoResCategoryId _categoryId,
CatalogProductExcludeIncludeType _includeExcludeType)
Run On
Called
Parameters
- catalogProductRecId
Type: RefRecId Extended Data Type
The record ID of the catalog product.
- _hierarchyId
Type: EcoResCategoryHierarchyId Extended Data Type
The record ID of the category hierarchy.
- _categoryId
Type: EcoResCategoryId Extended Data Type
The category record ID.
- _includeExcludeType
Type: CatalogProductExcludeIncludeType Enumeration
A value that indicates whether to include or exclude the product category in the catalog.
Return Value
Type: CatalogProductCategory Table
The catalog product category that is created.