SUARCRM 5.0 Community Edition
I have created an „Opportunity“ with Sugar SOAP:
The problem is to assign this opportunity to a special account_name, the code in line 2 doesn´t work properly.PHP Code:$opp_params=array(array('name'=>'name','value'=>'00000'),
array('name'=>'account_name','value'=>'MyAccountName'),
array('name'=>'amount','value'=>'10000'),
array('name'=>'description','value'=>'blllll'),
array('name'=>'date_closed','value'=>'2007-10-01'),
array('name'=>'sales_stage','value'=>'Prospecting'),
array('name'=>'assigned_user_id','value'=>$assigned_user_id),
array('name'=>'account_id','value'=>$assigned_account_id)
);
$entry = $soapclient->call('set_entry', array('session'=>$session, 'module_name'=>'Opportunities', 'name_value_list'=>$opp_params));


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks