Merge Contract In All Status
In this use case we will merge contract in all status.
Operation: mergeContractInAllStatus
Request Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/contracts/coreAuthoring/contractService/types/" xmlns:con="http://xmlns.oracle.com/apps/contracts/coreAuthoring/contractService/" xmlns:head="http://xmlns.oracle.com/apps/contracts/coreAuthoring/header/flex/header/" xmlns:par="http://xmlns.oracle.com/apps/contracts/coreAuthoring/parties/flex/partyContact/" xmlns:par1="http://xmlns.oracle.com/apps/contracts/coreAuthoring/parties/flex/party/" xmlns:lin="http://xmlns.oracle.com/apps/flex/contracts/coreAuthoring/lines/" xmlns:con1="http://xmlns.oracle.com/apps/projects/billing/contracts/contractPublicService/" xmlns:bil="http://xmlns.oracle.com/apps/projects/billing/contracts/flex/BilllPlanDff/" xmlns:con2="http://xmlns.oracle.com/apps/projects/billing/contracts/contractBillingService/"> <soapenv:Header/> <soapenv:Body> <typ:mergeContractInAllStatus> <typ:contractHeader> <con:Id>300100036627880</con:Id> <con:MajorVersion>3</con:MajorVersion> <con:StartDate>2008-01-01</con:StartDate> <con:EndDate>2020-12-31</con:EndDate> <con:AmendmentEffectiveDate>2017-11-02</con:AmendmentEffectiveDate> </typ:contractHeader> <typ:versionFlag>true</typ:versionFlag> </typ:mergeContractInAllStatus> </soapenv:Body> </soapenv:Envelope>
Response Body
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>JBO-27035: Attribute ContractTypeId is required.</faultstring>
<detail>
<tns:ServiceErrorMessage xsi:type="tns:ServiceAttrValErrorMessage" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tns:code>27035</tns:code>
<tns:message>JBO-27035: Attribute ContractTypeId is required.</tns:message>
<tns:severity>SEVERITY_ERROR</tns:severity>
<ns2:sdoObject xsi:type="ns1:ContractHeader" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns7="http://xmlns.oracle.com/apps/contracts/coreAuthoring/header/flex/header/" xmlns:ns5="http://xmlns.oracle.com/apps/projects/billing/contracts/contractPublicService/" xmlns:ns1="http://xmlns.oracle.com/apps/contracts/coreAuthoring/contractService/" xmlns:ns2="http://xmlns.oracle.com/adf/svc/errors/">
<ns1:Id>300100036627880</ns1:Id>
<ns1:MajorVersion>3</ns1:MajorVersion>
<ns1:StartDate>2008-01-01</ns1:StartDate>
<ns1:EndDate>2020-12-31</ns1:EndDate>
<ns1:AmendmentEffectiveDate>2017-11-02</ns1:AmendmentEffectiveDate>
</ns2:sdoObject>
<tns:exceptionClassName>oracle.jbo.AttrValException</tns:exceptionClassName>
<tns:attributeName>ContractTypeId</tns:attributeName>
<tns:objectName>ContractTypeIdCriteria</tns:objectName>
</tns:ServiceErrorMessage>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>