Share via


EcoResProductMasterColor::checkExistByProductColor Method

Checks whether the specified record exists in the EcoResProductMasterColor table; if not, an error message is displayed or an exception thrown.

Syntax

client server public static boolean checkExistByProductColor(
    RefRecId _productMaster, 
    RefRecId _productDimensionAttribute, 
    EcoResColorRecId _colorRecId, 
   [boolean _throwException])

Run On

Called

Parameters

  • _productDimensionAttribute
    Type: RefRecId Extended Data Type
    The ID of the EcoResProductDimensionAttribute record that is used as a filter.
  • _throwException
    Type: boolean
    A Boolean value that indicates whether a message is displayed or an exception is thrown.
    If true an exception is thrown; if false, a message is displayed.

Return Value

Type: boolean
true if the specified record exists; otherwise, false.

Exceptions

Exception Condition
Error

The _throwException parameter is true and the record does not exist.

See Also

Reference

EcoResProductMasterColor Table