Skip to content

Record::getRelatedListRecords()  #9

@BartCardan

Description

@BartCardan

In old version asciisd/zoho I could use getRelatedListRecords to get all related contacts to an account.
In zoho-v3 I get the following error

Call to undefined method com\zoho\crm\api\record\Record::getRelatedListRecords()

Simplified version of my code:

$zoho_accounts = ZohoManager::useModule('Accounts');
$accounts=$zoho_accounts->searchRecordsByCriteria('(Dashboard:equals:true) and (Dashboard_not_exists:equals:true)');

foreach($accounts as $account) {
    $contacts=$account->getRelatedListRecords('Contacts');
}

Is the function getRelatedListRecords replaced with a new function?
How to get my related contacts from a specific account?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions