Accessing Account information

Hi

I have created a new module that is connected to the accounts and the contacts module, similarly how a quote for example has an account and a contact associated with it.

Now I want to “extract” the account name in a logic hook. I have tried different versions of $bean->accounts, $bean->Accounts, etc. but couldn’t get any results.

Any hints how I can access the account/contact info in the hook?

Best
Jan

Hi creaJan,

Apologies for the historic reply. You may have found a solution. Have you tried account_name/accounts_name?

Thanks,

Will.