CatalogProduct::checkProductExists Method
Checks whether a product is already in the catalog.
Syntax
client server public static boolean checkProductExists(CatalogRefRecId _catalogId, EcoResProductRecId _productId)
Run On
Called
Parameters
- _catalogId
Type: CatalogRefRecId Extended Data Type
The catalog to check in.
- _productId
Type: EcoResProductRecId Extended Data Type
The ID of the product to check for.
Return Value
Type: boolean
true if the product is in the catalog; otherwise, false.
Remarks
This method checks for distinct products and product masters.