• jhagen
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

When converting a lead to an account I created a custom field to allow the lead source to be mapped to the account lead source. I noticed there is no way to map the lead campaign to an account campaign. Has any one been able to do this?

  • November 07, 2011
  • Like
  • 0

Hello,

 

I'm sure we're missing something blindingly obvious here. We have a trivial little perl script using WWW::Salesforce::Simple, to update a custom object.

 

We have a test case setup, as follows:

 

 

 

$WWW::Salesforce::Constants::TYPES{Data_Questionnaire__c}->{Custom_Number__c} = 'xsd:double'; $WWW::Salesforce::Constants::TYPES{Data_Questionnaire__c}->{Custom_Results__c} = 'xsd:string'; my %data = ( id => $id, Custom_Number__c => 5, Custom_Results__c => 'http://someurl.com' ); my $result = $sf->update(type => 'Data_Questionnaire__c', %data);

 

We receive the following error, despite ensuring the the type is of 'xsd::double', and the custom field 'Custom__Number__c' is of type Numeric:

Custom Number: value not of required type: 5

 


Has anyone experienced this issue before? Any information would be greatly appreciated.

 

  • February 18, 2009
  • Like
  • 0