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
Shubham Joge 9Shubham Joge 9 

Trigger for dsiplaying record wit date filter

Hello People.
I want to write one trigger can anyone help me with that.

I am Having 2 custome Object 

1.Interaction .
filed:Inateraction name

2. Movie 
Fileds :1. Name 
            2. Release Date .

Movies object is having interaction lookup.
I want the Movies list (movie record for that interaction record) which displayed on the Interaction object .
Filter should be applied on a release date it should show only latest and updated movie record over the interaction object.
Like i am having movie list for years 2001, 2002, 2003,
It should display only the 2003 record and if i add any other movie to list with further dates 2004 then it must update .&if i add movie with date 1994 still it shows the latest movie  record of 2004 record as per date.
AbhishekAbhishek (Salesforce Developers) 
Hi Shubham,

Try the code as suggested in the below blogs,

https://developer.salesforce.com/forums/?id=906F0000000BPBNIA4

https://developer.salesforce.com/forums/?id=906F000000098VwIAI

It might help you.

Thanks!

 
Shubham Joge 9Shubham Joge 9
@Abhishek  Thankyou .But i want help in triggers.
AbhishekAbhishek (Salesforce Developers) 
The above blogs have the trigger code too with many suggestions can you please check it.
hsd ssdshsd ssds
There is some vital info about playback music in films and it turned into very crucial to know. I am satisfied that there was also name referred to about drama (https://tellystory.com/star-plus/yeh-hai-chahatein/) who're working on those tremendous offerings. They are the satisfactory without a doubt.