EcoResProductMasterStyle.validateDimensionValueAndRelations Method
Validates the product dimension value and relation fields on the buffer.
Syntax
public boolean validateDimensionValueAndRelations(
EcoResProductRecId _productMaster,
RefRecId _productDimensionAttribute,
RefRecId _productDimensionValue,
[boolean _throwError])
Run On
Called
Parameters
- _productMaster
Type: EcoResProductRecId Extended Data Type
The EcoResProductRecId value of a product master.
- _productDimensionAttribute
Type: RefRecId Extended Data Type
The record ID of an EcoResProductDimensionAttribute record.
- _productDimensionValue
Type: RefRecId Extended Data Type
The record ID of the product dimension value record.
- _throwError
Type: boolean
A Boolean value that indicates whether to throw an exception if the dimension has been assigned to the product master.
Return Value
Type: boolean
true if the product dimension table value exists for the specified product; otherwise, false.