asciisd / zoho-v3

Laravel Zoho API V3 Package
MIT License
17 stars 17 forks source link

Record::getRelatedListRecords() #9

Open BartCardan opened 1 year ago

BartCardan commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

any solution for this?

upsmod commented 1 year ago

20 Linked