Triggers On Lead object

(Doc ID 2204925.1)

Last updated on NOVEMBER 17, 2016

Applies to:

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


On : version, Leads, Sales Campaigns

Trigger on Lead Contact

Trying to create a trigger before modify that change the contact type of lead from Contact to Customer.

Here is the script:
def a=lContactPerson?.SalesProfileType

The trigger is saved successfully,but it doesn't work properly.


 ""The script gives errors on Leads server scripts which are Error(1,16) : The variable [ContactPerson] is undeclared.
Error(3,1) : Illegal argument to get/setAttribute variable: SalesProfileType

The issue can be reproduced at will with the following steps:
1. Navigator>Leads>
2. Open Leads objects

The issue has the following business impact:
Due to this issue, users cannot fire up the trigger as per their business desires.


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