Custom Fields
Re-Envisioned
Support MB Relationships Need help planning relationships

  • Creator
    Topic
  • #20859
    Resolved Nick
    Participant

    I have a project tracking contact (phone, email, etc) activity related to sales. I have 3 CPTs: Activities, Contacts, and Companies.

    When I create a new Activity, it will be associated with Contacts, a Company, or both. An Activity can be associated with none, one, or multiple Contacts. An activity can be associated with none or one Company.

    Companies have contacts, but not every contact has a company.

    Do I want to create relationships between Activity and Contacts and Activity and Companies and a sibling relationship between Contacts and Companies?

    What’s going to be the best way to set up these relationships?

    Thanks!

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #20866
    Long Nguyen
    Moderator

    Hi Nick,

    I think you need three relationships:
    – Activity to Contact
    – Activity to Company
    – Company to Contact

    So when you edit a post type, you can choose 2 other post types as the relation.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.