You need to sign in to do that
Don't have an account?
Shubham 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.
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.
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!