Reports and Current Entity as variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • david.strejc
    Member
    • Jul 2016
    • 38

    Reports and Current Entity as variable

    Hi,

    when we are creating Reports - we need to somehow tell Espo to count totals on "current entity".

    For example if we have projects with tasks, than we need to calculate totals on current project without having to create Report for every project.

    With user this is obvious:


    env\userAttribute('id')


    But is this possible with "current entity"?

  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    maybe with this :

    create a report type grid for task and make sum. (contact in my screenshot)
    create a "report panel" in admin section : entity type Project ... then select you created task report..
    add the report panel to layout project

    make a clearCache/rebuild

    Regards
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    Working...