My Oracle Support Banner

Adding Revenue Owner To The Opty Sales Team (Doc ID 2398801.1)

Last updated on MAY 15, 2018

Applies to:

Oracle Fusion Sales Cloud Service - Version and later
Information in this document applies to any platform.


On : version, Opportunities

Adding revenue owner to the opty sales team

The groovy script we created under opportunity revenue to add the opportunity revenue owner to the opportunity sales team is not working and it is making the create opportunity screen become blank.
The groovy script used is:
def alreadyInTeam = false
def optyTeam = Opportunity?.OpportunityResource;

while(optyTeam.hasNext()) {
  def row =
  if(row.ResourceId == ResourcePartyId) {
  alreadyInTeam = true

if(alreadyInTeam == false) {
  def addRess = optyTeam.createRow();

What groovy script we should use to achieve this requirement?


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

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