My Oracle Support Banner

Service: CS_ServiceRequest_UTIL.Validate_Type Error using CS_SERVICEREQUEST_PUB (Doc ID 298496.1)

Last updated on JANUARY 12, 2024

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
CS_SERVICEREQUEST_PUB

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 responsibilities 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 responsibility 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 responsibility above assigned, verify that manually creating a SR with the specific user_id, responsibility and SR type does work from the Service Request form.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.