My Oracle Support Banner

Getting Error Message"CS_SERVICEREQUEST_UTIL.CONTRACTS_CROSS_VAL" While Trying To Update Service Request Through API CS_SERVICEREQUEST_PUB.Update_ServiceRequest (Doc ID 2988683.1)

Last updated on NOVEMBER 21, 2023

Applies to:

Oracle Teleservice - Version 12.2.9 and later
Information in this document applies to any platform.

Symptoms

Users are getting following error message while trying to update Service Request(SR) through cs_servicerequest_pub.Update_ServiceRequest API

ERROR
-----------------------
API Error (CS_SERVICEREQUEST_UTIL.contracts_cross_val): The contract is not valid. Please check the values for the following: service request type, inventory item, instance, account and install site.


The issue can be reproduced at will with the following steps:
1.Run the API cs_servicerequest_pub.Update_ServiceRequest to remove an existing instance from the SR and update with a new instance.
Sample code provided below for reference.Please replace with correct values from your instance:

 

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.