run entity\sumRelated from an other entity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zerosix
    Member
    • Jan 2024
    • 45

    run entity\sumRelated from an other entity

    in the formula we can launch entity\sumRelated for the current entity A (the link is opportunities) is like
    entity\sumRelated('opportunities', 'amountConverted', 'won') but how can we do this from an other entity to run this
  • yuri
    Member
    • Mar 2014
    • 8562

    #2
    There's no such function. Options:

    * Implement a custom function.
    * Run another workflow rule switching the target entity.
    * Utilize BPM sub-processes, switch the target entity.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...