Get an value from a Bean

Hi there,

Is this relationship a Many to many or One to many, by chance?

I think Many to Many may be harder as I believe you’d have to go through the Relationship Tables
So, i’m not sure if “$bean->como_miscinv_como_sitescomo_sites_ida” would work as that field may not exist in the Contact’s table, (as far as im aware)

It might be worth having a look at the documentation around Beans/Relationships:


It looks like “get_linked_beans” or “load_relationship” might allow you to grab related m2m records

I’ve found a thread elsewhere too, where some users were discussing getting it to work:

Hopefully anything of the above points in the right direction!

1 Like