CatUserReviewComputedProductRating::computeAggregateByProduct Method
Computes the average rating and the total number of ratings of the corresponding EcoResProduct object.
Syntax
client server public static void computeAggregateByProduct(RefRecId _product, [CatUserReviewCutoffDate _cutOffDate])
Run On
Called
Parameters
- _product
Type: RefRecId Extended Data Type
The record ID of the corresponding EcoResProduct object.
- _cutOffDate
Type: CatUserReviewCutoffDate Extended Data Type
A CatUserReviewCutoffDate value that specifies the date before to filter user review ratings.