+ Start a Discussion
s_k_as_k_a 

how to populate a field on account with status of Most recent Contract of Account

How to populate a field on account object with status of most recent contract (based on contract Start Date value)? contract object has look up relation with account.

 

To do this Apex code is required? or is there any way using formula field. 

Best Answer chosen by Admin (Salesforce Developers) 
@anilbathula@@anilbathula@

Hi

 

You need to write a trigger on contract after update,after insert,after delete.

Then the account will be update with recent values of contract.

 

 

All Answers

@anilbathula@@anilbathula@

Hi

 

You need to write a trigger on contract after update,after insert,after delete.

Then the account will be update with recent values of contract.

 

 

This was selected as the best answer
s_k_as_k_a

Thanks Anil.