Views:

Description

Returns the minimum value of the 'fieldname' for the records specified by the FetchXML.

e.g. Returns the value of the minimum Estimated Value field of all opportunities for a customer.

Signature

FindMinFD(
  'formuladetailname',
  'fieldname',
  'defaultvalue',
  'nolock', 
  'params',
  'noagg'
)

Note: The parameters 'nolock', 'params' and 'noagg' are optional

Example

FindMinFD(
  'OpenOpportunities', 
  'estimatedrevenue', 
  '0',
  false,
  SetParams('param1', 'param2'),
  false
)

Parameters

Name Type Description Required
formuladetailname xxxx xxxx xxxx
fieldname xxxx xxxx xxxx
defaultvalue xxxx xxxx xxxx