Error In Creating Records In Opportunity Custom Child Object (Doc ID 2220360.1)

Last updated on JANUARY 05, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.11.1.0 to 11.1.11.1.0 [Release 1.0]
Information in this document applies to any platform.

Symptoms

1) created custom child object: VGS Transaction Info under "Opportunity" object

2) use web service "mergeOpportunity" to create records for custom child object: VGS Transaction Info

get error
---
JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000003068290 ] in VGSTransactionInfo_cError acquiring next auto number value for entity sessiondef.oracle.apps.sales.custExtn.entities.VGSTransactionInfo_c: no table usage: ORA-20001: 1

ORA-06512: at line 17
---

3) a) SOAP UI

https://ecbe.crm.em2.oraclecloud.com:443/opptyMgmtOpportunities/OpportunityService

b) Request XML

300000003061153
<NS3:VGSTransactionInfoCollection_c xmlns:NS3="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/">
AED
01/12/2016
<NS3:VGSSaleItemId_c>16987D4E-4633-ED65-54BA-0158BBB1BBDC
<NS3:VGSPNRNumber_c>0J0J2Y2T
<NS3:VGSLocationCode_c>HUBZERO
<NS3:VGSLocationName_c>Hub Zero
<NS3:VGSTicketId_c>391113C0-A0E1-99C3-56FE-0158BBB4D2D3
<NS3:VGSProductId_c>A5337D74-E8FC-4217-5E81-0154D422D77B
<NS3:VGSProductCode_c>41002
<NS3:VGSProductName_c>Chicken Fillet
<NS3:Quantity_c>1
<NS3:UnitAmount_c>0.0000
<NS3:TotalAmount_c>35.0000
<NS3:OpAreaName_c>Hub Cafe
<NS3:ChannelName_c>POS
<NS3:Approved_c>1
<NS3:Paid_c>1
<NS3:Encoded_c>1
<NS3:Printed_c>1
<NS3:Validated_c>1
<NS3:PrintGroup_c>Food
<NS3:FinanceGroup_c>Food
<NS3:AdmissionGroup_c>Food
<NS3:TransTicketId_c>391113C0-A0E1-99C3-56FE-0158BBB4D2D3
<NS3:TransactionId_c>95E71795-B559-DC0C-56D6-0158BBB4D240
<NS3:Type_c>P
<NS3:VGSLocationId_c>BEAC9C24-EA48-A7D9-267F-0154A48CFF4F

<NS4:VGSTransactionInfoCollection_c xmlns:NS4="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/">
AED
01/12/2016
<NS4:VGSSaleItemId_c>E22399B8-0B44-0BF6-54C5-0158BBB1BC2F
<NS4:VGSPNRNumber_c>0J0J2Y2T
<NS4:VGSLocationCode_c>HUBZERO
<NS4:VGSLocationName_c>Hub Zero
<NS4:VGSTicketId_c>9DDABE26-3B23-2FEB-5713-0158BBB4D3F2
<NS4:VGSProductId_c>40DD33A0-485D-806A-60E3-0154D422EB1D
<NS4:VGSProductCode_c>82002
<NS4:VGSProductName_c>Fanta Orange
<NS4:Quantity_c>1
<NS4:UnitAmount_c>0.0000
<NS4:TotalAmount_c>10.0000
<NS4:OpAreaName_c>Hub Cafe
<NS4:ChannelName_c>POS
<NS4:Approved_c>1
<NS4:Paid_c>1
<NS4:Encoded_c>1
<NS4:Printed_c>1
<NS4:Validated_c>1
<NS4:PrintGroup_c>Beverage
<NS4:FinanceGroup_c>Beverage
<NS4:AdmissionGroup_c>Beverage
<NS4:TransTicketId_c>9DDABE26-3B23-2FEB-5713-0158BBB4D3F2
<NS4:TransactionId_c>95E71795-B559-DC0C-56D6-0158BBB4D240
<NS4:Type_c>P
<NS4:VGSLocationId_c>BEAC9C24-EA48-A7D9-267F-0154A48CFF4F

c) Response XML

env:VersionMismatch
Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/
http://schemas.xmlsoap.org/soap/actor/next

************************************************
We have created a custom child object of Opportunity called VGS Transaction Info. We are pushing new records into this custom object through web services, but we are getting the following error in response:
---
JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000003068290 ] in VGSTransactionInfo_cError acquiring next auto number value for entity sessiondef.oracle.apps.sales.custExtn.entities.VGSTransactionInfo_c: no table usage: ORA-20001: 1

ORA-06512: at line 17


4) the error is coming even when creating opportunity records from Simplified UI


Please note that the same web service was working fine in other environment with same customization of object.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms