ssossossossosso

Forums

Forums OroCRM OroCRM – Programming Questions use activity in grid

This topic contains 1 reply, has 1 voice, and was last updated by  golriz.nourani 1 year, 11 months ago.

  • Creator
    Topic
  • #22487

    golriz.nourani
    Participant

    I want to show call activity which is related to opportunity in a grid
    so in yml I use a join like below
    – { join: OroActivityListBundle:ActivityList , alias: activity , conditionType: WITH , condition: “activity.opportunity_c8bd867a = opportunituAlias” }
    but I have error:
    Error: Invalid PathExpression. StateFieldPathExpression or SingleValuedAssociationField expected.”
    could you help me?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #22488

    golriz.nourani
    Participant

    it is solved
    – { join: OroActivityListBundle:ActivityList , alias: activity , conditionType: WITH , condition: “op MEMBER OF activity.opportunity_c8bd867a AND activity.relatedActivityClass=’OroCRM\Bundle\CallBundle\Entity\Call’ ” }

    but is there any easier way?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.