[Vtigercrm-developers] change to lead delivery?
Alex Martin
alex at theclearsource.com
Tue Oct 28 16:48:58 GMT 2014
Ok so a weird issue I’m having with this.
Setup the api and it works perfectly for several php scripts I have for lead delivery. Now if I try to use the same script in another vtiger 6.1 installation it just hangs on the vtws_create…..
Is there anything I should be looking for? There are no errors given etc.
Thanks
Alex
From: vtigercrm-developers-bounces at lists.vtigercrm.com [mailto:vtigercrm-developers-bounces at lists.vtigercrm.com] On Behalf Of Prasad
Sent: Wednesday, October 15, 2014 11:23 PM
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] change to lead delivery?
Alex,
I would suggest the use of Sever APIs <http://community.vtiger.com/help/vtigercrm/developers/server-apis.html> (if its from other app - refer here <http://community.vtiger.com/help/vtigercrm/developers/third-party-app-integration.html> ) for CRUD operation.
Connect with us on: <http://twitter.com/vtigercrm> Twitter I <http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> Facebook I <https://blogs.vtiger.com/> Blog I <http://wiki.vtiger.com/vtiger6/index.php/Main_Page> Wiki I <https://www.vtiger.com/> Website
On Thu, Oct 16, 2014 at 3:04 AM, Alex Martin <alex at theclearsource.com <mailto:alex at theclearsource.com> > wrote:
I used to use a basic php script to import leads from an xml source while processing some additional checks on our end prior to importing the lead to the crm, now it just seems to import the lead but the workflows are not triggered and any items after the “$lead->save("Leads");” are not completed. Any idea what has changed?
require_once('config.php');
require_once('modules/Leads/Leads.php');
require_once('include/database/PearDatabase.php');
require_once('include/utils/utils.php');
require_once('include/language/en_us.lang.php');
require_once('include/ComboStrings.php');
$lead = new Leads();
$lead->column_fields["firstname"] = $firstname;
$lead->column_fields["lastname"] = $lastname;
$lead->column_fields["assigned_user_id"] = '1';
$lead->column_fields["phone"] = $phone;
$lead->column_fields["lane"] = $street;
$lead->column_fields["city"] = $city;
$lead->save("Leads");
I also have to use an older version of the Leads.php file to make it work.
Any help would be greatly apprecieted.
Thanks
Alex
_______________________________________________
http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141028/bd6e2590/attachment.html>
More information about the vtigercrm-developers
mailing list