Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record::getRelatedListRecords() #9

Open
BartCardan opened this issue Dec 22, 2022 · 3 comments
Open

Record::getRelatedListRecords() #9

BartCardan opened this issue Dec 22, 2022 · 3 comments

Comments

@BartCardan
Copy link

BartCardan commented Dec 22, 2022

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?

@aemaddin
Copy link
Contributor

I'm very sorry about that. Maybe it's because the Zoho original package changed. Let me check for the ability to add this again.

@jayomayan
Copy link

any solution for this?

@upsmod
Copy link
Contributor

upsmod commented Jul 9, 2023

#20 Linked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants