OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions Multiple contacts for B2B Customers

This topic contains 11 replies, has 7 voices, and was last updated by  vfox1136 4 years, 10 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #28416

    Ahmad Golzar
    Participant

    Hi

    Currently you can define only one contact for B2B customers. I know you can have multiple contacts for its related account. But sometimes you need to have multiple contacts for only one B2B customer. Why have you restricted the number of directly connected accounts of B2B Customers to one? Any special reason?

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • Author
    Replies
  • #28417

    Artem Liubeznyi
    Spectator

    Hi Ahmad,

    There is no particular reason for such a limit, guess we just overlooked it. Thanks for the correction, we will fix this in the upcoming release.

    #28418

    Ahmad Golzar
    Participant

    Excellent. Thanks.

    #28419

    baroso
    Participant

    What is the status on this?

    #28420

    Artem Liubeznyi
    Spectator

    Still in our backlog I’m afraid. We had to reconsider our priorities and moved this issue down the line.

    I will try to get it back to the priorities list and will post an update here as soon as anything is clearly decided.

    Thank you for your patience.

    #28421

    baroso
    Participant

    Ok, thanks!

    #28422

    Martin
    Participant

    Did anything change on this? As of 2.5 this is not available but we more and more see use cases for this feature. For example, bigger companies often have multiple contacts involved in project decision making on department level (which we treat as b2b customers). We could actually assign them to the same account but in big company structures not all contacts necessarily belong to the same ‘customer’, often not even to the same field of business.

    We’re currently implementing marketing Tools but can’t propperly segment because of this limitation. With the currently data structure, a lot of contacts would be missed in mailing campaigns because the company relation and therefore industry and other relevant b2b customer data is not available.

    As far as we can see from the entity class files this should be quite easy to implement by changing the b2b(n) <->(1)contact relationship to a m-n one?

    This feature is a must have in b2b crm and we would really appreciate to see this in a upcoming release.

    Best Regards
    Martin

    #28423

    Artem Liubeznyi
    Spectator

    Hi Martin,

    Thank you for your suggestions. We agree that this use case is valid and important but unfortunately our current development priorities will not allow us to release this feature in the upcoming 3.0 LTS release.

    #28424

    Martin
    Participant

    Hi Artem,
    thanks for your reply!
    Glad to hear, that it’s at least still in the backlog.

    We tried to implement a workaround by extending the b2bcustomer entity within the gui, adding a many-to-many field. Our Concept is to use the entities ‘contact’ field for the primary contact at a specific b2bcustmer and thus having other related contact in the extended field.

    This works in terms of creating the field and relations as well as the gui items.
    We flushed and warmed the cache and did a entitiy extend cache flush.

    However, after doing this, its not possible to create or modify email notifications for the b2bcustomer entitiy anymore. The following exception is thrown:

    Field “Oro\Bundle\ContactBundle\Entity\Contact::b2bcustomer_b2bcustomercontacts” is not configurable
    500 Internal Server Error – RuntimeException

    However, doctrine shows no entity errors in symfony profiler..

    Is this a bug or did we do it wrong?

    Kind Regards
    Martin

    Config in Gui for reference:
    config

    #28425

    Andrey Yatsenko
    Moderator

    Hi Martin,

    Just reproduced the issue. This is definitely a bug, the problem that bi-directional field doesn’t work as expected from the Contact side when relation created from UI.

    As a workaround, you can create this relation using migration, this should work, something like

    to apply migration, just run php bin/console oro:migration:load --force

    Best regards.

    #28426

    diglin
    Participant

    Pity, it’s in backlog since three years so it will never come, I have also a similar need for one to many Customer to contacts. The idea behind is not have to enter for each contact the same address if he belongs to the same Customer

    #38887

    vfox1136
    Participant

    It’s a shame that this feature still seems not to be fixed. It would be a great help for those using OroCRM.

Viewing 11 replies - 1 through 11 (of 11 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top