Error "Select a valid Contact by clicking the Find button" while creating Service Contract using API
I am trying to create contracts using the API oks_contracts_pub.create_contract_header. When I run the API for my data, I get the error "Select a valid Contact by clicking the Find button."
I am working on R12.1.3.
As per one metalink note, the reason may be usage of custom contact role. I am using a custom contact role in my API. The same custom contact role works fine when I create a contract from front-end and then try to copy the contract into a new contract. However, the API fails.
If anyone has any idea about the reason of this error, please help.