My Oracle Support Banner

Script To Make Lead Name Blank Is Not Working After R12 Upgrade (Doc ID 2313190.1)

Last updated on OCTOBER 02, 2017

Applies to:

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


On : version, Leads, Sales Campaigns

Script to make Lead Name Blank is not working after R12 upgrade

The customer requirement is to make Lead Name blank whenever we select the Contact while creating the Lead and whenever we create the Lead through the Contact screen.
It was working before but after upgrade to R12 it is not working. When they checked that in Prod environment which is still in R11 it works.

String varFirst = nvl(PrimaryContactPersonFirstName.toString(),"")
String varLast = nvl(PrimaryContactPersonLastName.toString(),"")

if(Name != null && varFirst != "" && varLast != "" ){
if( Name.contains(varFirst) && Name.contains(varLast) && Name.contains(","))
return false


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.