EcoResProductMasterSize::checkExistByProductSize Method
Validates whether the specified record exists in the EcoResProductMasterSize table.
Syntax
client server public static boolean checkExistByProductSize(
RefRecId _productMaster,
RefRecId _productDimensionAttribute,
EcoResSizeRecId _sizeRecId,
[boolean _throwException])
Run On
Called
Parameters
- _productMaster
Type: RefRecId Extended Data Type
The ID of the EcoResProductMaster record to use as a filter.
- _productDimensionAttribute
Type: RefRecId Extended Data Type
The ID of the EcoResProductDimensionAttribute record to use as a filter.
- _sizeRecId
Type: EcoResSizeRecId Extended Data Type
The ID of the EcoResSize record to use as a filter.
- _throwException
Type: boolean
A Boolean value that indicates whether a message is displayed or if an exception is thrown.
If true, an exception is thrown; otherwise, 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. |
Remarks
If the specified record does not exist, an error message is displayed or an exception is thrown.