function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
EdZEdZ 

MAX Function with Date

Can I create a custom field that is the max of a Date field?  

 

Ed

Prashant.SakhujaPrashant.Sakhuja

Are you asking if you can find the max of a date from child object records and display on the parent object?

You can do that if you have a Master Detail relationship. If you have lookup, you can still do it but you will need to use apex.

Hope that helps..

EdZEdZ

I am looking to create a custom Contract object field that pulls in the MAX 'Contract End Date' field.

 

I hope this helps.

 

Ed

tawfik-haitawfik-hai

I need to a similar thing, did you figure it out?

 

Thanks