My Oracle Support Banner

Error While Creating Contract From Rest Service The party role is invalid for contract type (OKC-195720) (Doc ID 2711533.1)

Last updated on SEPTEMBER 25, 2020

Applies to:

Oracle Fusion Enterprise Contracts Management Cloud Service - Version 11.13.20.07.0 and later
Information in this document applies to any platform.

Symptoms

On : NA version, Webservice

Error while creating contract from Rest service

Creation of Contract from Rest service gives error. But with same Data value, there will be no error from SOAP service while creating contracts.

Sample Rest Payload.
{
  "OrgName": "WWWWW",
  "ContractTypeName": "Non-Award Contract Type",
  "ContractNumber": "Test_Contract",
  "Cognomen": "Gift Contract Temp MSH",
  "CurrencyCode": "USD",
  "StartDate": "2019-11-06",
  "InvTrxTypeId": 37,
  "EstimatedAmount":0,
  "OwningOrgName": "Mount Sinai Hospital",
  "AuthoringPartyCode": "INTERNAL",
  "ContractParty": [
  {
  "PartyRoleCode": "CUSTOMER",
  "PartyName": "WWWWW"
  },
  {
  "PartyRoleCode": "SUPPLIER",
  "PartyName": "QQQQQQQ",
  "ContractPartyContact": [
  {
  "Role": "Contract administrator",
  "PartyContactName": "XXXXXXX",
  "AccessLevelName": "Full",
  "OwnerFlag": "true"
  }
  ]
  }

  ]
}

ERROR
-----------------------
"The party role is invalid for contract type. (OKC-195720)".



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. REST Service
2. Create Contract
3. Response in Error

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot Create Contract.

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
Cause
Solution


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