You need to sign in to do that
Don't have an account?
Marc Girod
I'm trying to create incidents (IR) in Perl. I set a RecordTypeId to 'Incident', $sforce->upsert(type => 'ADM_Work__c', key => '', $wi); yields error: statusCode of 'INVALID_CROSS_REFERENCE_KEY'.
I'm using as template code that works for Investigations.
$wi is a hash populated for this context.
Where should I look for the cause of the error?
Is it type => 'ADM_Work__c'? What are the other options?
$wi is a hash populated for this context.
Where should I look for the cause of the error?
Is it type => 'ADM_Work__c'? What are the other options?
--
Magulan Duraipandian
www.infallibletechie.com
Solved by switching to: type => 'Case'