EcoResProductMasterStyle::checkExistByProductStyle Method
Indicates whether the specified record occurs in the EcoResProductMasterStyle table.
Syntax
client server public static boolean checkExistByProductStyle(
RefRecId _productMaster,
RefRecId _productDimensionAttribute,
EcoResStyleRecId _styleRecId,
[boolean _throwException])
Run On
Called
Parameters
- _productMaster
Type: RefRecId Extended Data Type
The record ID of an EcoResProductMaster record that is used as a filter.
- _productDimensionAttribute
Type: RefRecId Extended Data Type
The record ID of an EcoResProductDimensionAttribute record that is used as a filter.
- _styleRecId
Type: EcoResStyleRecId Extended Data Type
The record ID of an EcoResStyle 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.
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. |