Skip to main content
Answer

report relationship

  • March 15, 2023
  • 1 reply
  • 65 views

Forum|alt.badge.img+1

Hello,

how do I relate these three: CRActivity, Users, EPEmployee? Thanks!

I want to filter by the ownerid

 

Best answer by Naveen Boga

Hi @paula012 Here is the joins with the conditions and hope this helps

 

  • EPEmployee(UserID) Join with Users (PKID)
  • EPEmployee(BAccountID and OwnerID)  Join with BAccount (BAccount ID and DefContactID)
  • EPEmployee (BAccountID, OwnerID) Join with CRActivity (BAccountID, OwnerID)

1 reply

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • Answer
  • March 17, 2023

Hi @paula012 Here is the joins with the conditions and hope this helps

 

  • EPEmployee(UserID) Join with Users (PKID)
  • EPEmployee(BAccountID and OwnerID)  Join with BAccount (BAccount ID and DefContactID)
  • EPEmployee (BAccountID, OwnerID) Join with CRActivity (BAccountID, OwnerID)