Very strange. Following fails while being executed inside Accounts bean.
$bean->load_relationship(âaccount_leadsâ);
I double checked the relationship name in studio and vardefs too. Any idea why this may be happening?
Update:
I used the relationship name as just âleadsâ instead of âaccount_leadsâ and it worked. This is super confusing⌠When should we use the relationship name as opposed to rhs table?
The correct value would have been the very top KEY name, which is âleadsâ, my mistake was using the ârelationshipâ keyâs value, which is âaccount_leadsâ