Skip to Content
Former Member
Sep 21, 2016 at 10:04 AM

Passing the value of Owner Sales (Marketing Lead) to Owner in Account


Hi All,

Here is my requirement.

I want to pass the value of Owner Sales (Marketing Lead) to the field Owner of the Account when the Lead is converted to an account via "Associate Account and Contact".

I am writing the code in On Save event of the account.

However I am not able to retrieve the data of Lead in the On save event of account.

Can you guys guide me on this one?

Also when I am trying to pass a hard coded value to the field (this.EmployeeResponsibleSales.EmployeeID.content), it is giving me an error that "NO access possible via NULL data reference".

I know I am missing something, but I am unable to figure it out.

Kindly see the attached document.


Nikhil Moghe


Event.JPG (15.9 kB)
Marketing Lead.JPG (25.3 kB)
Prospect.JPG (21.8 kB)