Mautic Sugar/Suite Contacts Integration Issue

I am facing issue while importing contacts from SuiteCRM to Mautic:

Enabled features

1- Triggered action push contacts to integration Checked

2- Pull contacts from integration Checked

3- Push contacts to this integration Checked



Choose SugarCRM objects to pull contacts from

1- Leads Checked

2- Contacts Checked

3- Accounts Checked



So when I run cron job like:

php console mautic:integration:fetchleads --fetch-all --integration=Sugarcrm



it return me this result


Command to fetch contacts from integration
Fetch contacts command is starting
PHP Notice: Undefined variable: RECORDS_LIST_NAME in /var/www/html/mautic/plugins/MauticCrmBundle/Integration/SugarcrmIntegration.php on line 724

0 contacts were updated and 0 contacts were created

Fetching companies
Fetch companies command is starting

0 companies were updated and 0 companies were created


So what I am doing wrong that contacts are not importing into Mautic?

I am facing issue while importing contacts from SuiteCRM to Mautic:
Enabled features
1- Triggered action push contacts to integration Checked
2- Pull contacts from integration Checked
3- Push contacts to this integration Checked

Choose SugarCRM objects to pull contacts from
1- Leads Checked
2- Contacts Checked
3- Accounts Checked

So when I run cron job like:
php console mautic:integration:fetchleads --fetch-all --integration=Sugarcrm

it return me this result

Command to fetch contacts from integration
Fetch contacts command is starting
PHP Notice: Undefined variable: RECORDS_LIST_NAME in /var/www/html/mautic/plugins/MauticCrmBundle/Integration/SugarcrmIntegration.php on line 724

0 contacts were updated and 0 contacts were created

Fetching companies
Fetch companies command is starting

0 companies were updated and 0 companies were created


So what I am doing wrong that contacts are not importing into Mautic?

I have fixed this issue by following this link:

https://github.com/mautic/mautic/pull/5244/files/cf916b6504b6a17702005922370f989c51f40b81

Thank You.

Hi,

SuiteCRM has been integrated successfully. Now Contacts, Leads and Accounts from SuiteCRM are successfully importing into Mautic.

Now the issue is only newly created/updated records importing into Mautic. I am using this cron job to fetch Leads/Contacts/Accounts:

mautic:integration:fetchleads --fetch-all --integration=Sugarcrm

so if I want to pull all existing contacts into Mautic then what should I do? If anyone knows then help me out.

Thank You,

[quote=27214:@pt_awais]I have fixed this issue by following this link:

https://github.com/mautic/mautic/pull/5244/files/cf916b6504b6a17702005922370f989c51f40b81

Thank You.[/quote]
Thanks for posting that link. I was finally able to get contacts to sync once implementing the code in that pull request.

@pt_awais When your contacts are synced from SugarCRM into Mautic are they showing the Company/Account Name? Everything is now pulling over for me except that the Company field in Mautic is blank and not populating with the Account Name value from SugarCRM. I have checked the mappings again and again but can’t seem to get this to work. Please let me know if it is working for you. Thanks in advance.