Views:

Description

Returns the average value of the 'outputfieldname' for the records specified by the input parameters.

e.g Returns the value of the average estimatedvalue of all opportunities for a customer.

Signature

FindAvg('entitylogicalname', 'inputfieldname', 'inputfieldvalue', 'outputfieldname', 'defaultvalue')

Example

FindAvg('opportunity', 'customerid', [account.accountid], 'estimatedvalue', '0', false)

Parameters

NameTypeDescriptionRequired
entitylogicalnamexxxxxxxxxxxx
inputfieldnamexxxxxxxxxxxx
inputfieldvaluexxxxxxxxxxxx
outputfieldnamexxxxxxxxxxxx
defaultvaluexxxxxxxxxxxx

Notes: