RetailCatalogChannelProductValidation::updateErrorType Method
Update the error type for a catalog product and adds the error details.
Syntax
client server public static void updateErrorType(
CatalogRefRecId _catalogId,
RefRecId _catalogProductId,
RetailCatalogValidationError _errorType,
str _errorMessage,
[RefRecId _catalogChannelId])
Run On
Called
Parameters
- _catalogId
Type: CatalogRefRecId Extended Data Type
The catalog rec id.
- _catalogProductId
Type: RefRecId Extended Data Type
The catalog product rec id.
- _errorType
Type: RetailCatalogValidationError Enumeration
The error type.
- _errorMessage
Type: str
The error message to be added.
- _catalogChannelId
Type: RefRecId Extended Data Type
The retail catalog channel record id. If no value is provided the error is valid for all the channels in the catalog.