CatalogProduct::createCatalogProduct Method
Creates a new catalog product.
Syntax
client server public static CatalogProduct createCatalogProduct(
CatalogRefRecId _catalogRecId,
EcoResProductRecId _productRecId,
NoYes _useHierarchy)
Run On
Called
Parameters
- _catalogRecId
Type: CatalogRefRecId Extended Data Type
The catalog record ID.
- _productRecId
Type: EcoResProductRecId Extended Data Type
The product record ID.
- _useHierarchy
Type: NoYes Enumeration
A value that indicates whether to use the hierarchy to determine the product category in the catalog.
Return Value
Type: CatalogProduct Table
The catalog product that is created.