You need to sign in to do that
Don't have an account?
monkey
Updating Task Dates
I'm having trouble updating a task in Salesforce using the Salesforce.pm module. I have tried setting the date field to be:
2004-12-31
2004-12-31T00:00:00
2004-12-31T00:00:00+00:00Z
all of which result in the same error:
ActivityDate: value not of required type:
Any ideas on how I should format the item: Here is what I'm doing right now.
$$task{'type'} = 'Task';
$$task{'ActivityDate'} = '2004-12-31';
$result = $sforce->update(%$task);
The $task variable is from a previous query.
2004-12-31
2004-12-31T00:00:00
2004-12-31T00:00:00+00:00Z
all of which result in the same error:
ActivityDate: value not of required type:
Any ideas on how I should format the item: Here is what I'm doing right now.
$$task{'type'} = 'Task';
$$task{'ActivityDate'} = '2004-12-31';
$result = $sforce->update(%$task);
The $task variable is from a previous query.
$$task{'ActivityDate'} = Soap:ate->type('xsd:date' => "2004-12-31");
And this works great.