Service: CS_ServiceRequest_UTIL.Validate_Type Error using CS_SERVICEREQUEST_PUB

(Doc ID 298496.1)

Last updated on SEPTEMBER 06, 2016

Applies to:

Oracle Teleservice - Version 11.5 to 12.2 [Release 11.5 to 12.2]
Information in this document applies to any platform.
Oracle Service - Version: 11.5 to 11.5.10
CS CS_SERVICEREQUEST_PUB

***Checked for relevance on 10-Sep-2013***


Symptoms

When trying to create a Service request by using API, from APPS user the following error occurs:

Return Status : E
Inserted request id:
Inserted request number:
ERROR MESSAGE CODE - Current operations cannot be performed.Possible reasons are :
- Responsibility does not have access to the SR Type
- Given SR Type is invalid API Programming Error: CS_ServiceRequest_UTIL.Validate_Type

-- Ensure that the incident type is defined, use parameter from API, l_service_request_rec.type_id
select name, INCIDENT_TYPE_ID from CS_INCIDENT_TYPES_VL ;
-- Check which resposibilities the Incident type is mapped to
SELECT INCIDENT_TYPE_ID,START_DATE,END_DATE,SEEDED_FLAG,RESPONSIBILITY_ID
FROM CS_SR_TYPE_MAPPING
where INCIDENT_TYPE_ID = <incident_type_id>

-- Check resposnibility name
SELECT R.RESPONSIBILITY_NAME
FROM FND_RESPONSIBILITY_VL R
WHERE R.RESPONSIBILITY_ID = <responsibility_id used in API>

--Check username.
select user_id, name from fnd_user
where user_id=<userID used in API>

Manually check if user has responsibiility above assigned, verified that manually creating a SR with the spesfic user_id, responsibility and SR type does work from the Service Request form

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms