Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM OroCRM – Programming Questions use activity in grid

This topic contains 1 reply, has 1 voice, and was last updated by golriz.nourani golriz.nourani 2 years, 8 months ago.

  • Creator
    Topic
  • #25107
    golriz.nourani
    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
  • #25108
    golriz.nourani
    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.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for oroinc.frsso for marketplace.orocommerce.comsso for marketplace.orocrm.com