Share via


EcoResProductDimensionGroupProduct::checkDimensionGroupValidForProduct Method

Checks whether the specified product dimension group is valid for the given product.

Syntax

client server public static boolean checkDimensionGroupValidForProduct(EcoResProduct _ecoResProduct, EcoResProductDimensionGroupRecId _productDimensionGroupRecId)

Run On

Called

Parameters

Return Value

Type: boolean
true if the product dimension group is valid for the product; otherwise, false.

Remarks

If the product is a product master, then the product dimension group must have at least one product dimension active. If the set of active dimensions is changed, then validate that no product variants exist. If a dimension is disabled, then validate that no product dimensions have been specified for that dimension.

See Also

Reference

EcoResProductDimensionGroupProduct Table