EcoResProductMasterDimensionValue.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 reference to the product master.
- _productDimensionAttribute
Type: RefRecId Extended Data Type
An ID of the EcoResProductDimensionAttribute table buffer.
- _productDimensionValue
Type: RefRecId Extended Data Type
The reference to the product dimension value table buffer.
- _throwError
Type: boolean
A Boolean value that indicates whether an exception is thrown, in case the dimension has been assigned to the product master.
Return Value
Type: boolean
true if the product dimension value exists for a specified product; otherwise false.
Exceptions
Exception | Condition |
---|---|
Error | This method should be overridden on the sub type tables. |