Share via


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

  • _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.

See Also

Reference

RetailCatalogChannelProductValidation Table