Updating The Opportunity With Creation Of Revenue Line Items
(Doc ID 2126683.1)
Last updated on DECEMBER 22, 2020
Applies to:
Oracle Fusion Sales Cloud Service - Version 11.1.10.0.0 to 11.1.11.1.0 [Release 1.0]Information in this document applies to any platform.
Symptoms
ACTUAL BEHAVIOR
---------------
Updating the opportunity with creation of revenue line items
When creating a new opportunity we want to create revenue line items too, but we are creating duplicate line items.
Here is the groovy used:
def revenue = nvl(ChildRevenue,0);
def row= revenue.createRow();
row.setAttribute('ProductType',"Item");
row.setAttribute('InventoryItemId', 100000000125434);
row.setAttribute('InventoryOrgId', 300000000939110);
println(row);
revenue.insertRow(row);
EXPECTED BEHAVIOR
-----------------------
The script should not create duplicate lines
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Application Composer --> Opportunity --> Opportunity Revenue --> Server scripts --> create a trigger with the above code of Before Update in the Database
BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot see duplicate revenue items on an opportunity.
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 |