Method

findDealsValue — Returns the total deal’s value for a Lead, Contact or Account.

Description

This method is used to calculate Deals total value for a Lead, Contact, Account on a certain stage/pipeline.

Minimum number of arguments for this method is four.

Structure of the method:

findDealsValue ('entity name', 'stage', 'pipeline', entity id)

Parameters

entity name — the name of the entity

stage — the Deal stage can be won, lost, pending or ‘*’ for all stages . Stage pending will consider all stages beside the won/lost stages.

pipeline — The pipeline name or ‘*’ for all pipelines

Examples

In the example below, we will show all the findDealsValue calculates the total Deals value for a given Lead

To stay updated with the latest features, news and how-to articles and videos, please join our group on Facebook, Flexie CRM Academy and subscribe to our YouTube channel Flexie CRM.