I apologize if this is an elementary question, but I'm having trouble figuring it out and a search has been somewhat fruitless.
I have a form for my Opportunity Entity that has a grid which lists related Custom Entity (1:N hsl_solution). What I would like to do is spin through all related rows and have a custom action based on if specific Solution is listed (hsl_product on the Solution entity).
For Example, Opportunity A may have 3 different Solutions (with Products Alpha, Beta, and Kappa) and Opportunity B has 2 Solutions (with products Beta and Omega). Basically, I want to unhide a tab if Omega is the product listed for the related Solution. I have code to do this if there is a field on the form that I want to check against, but going through multiple related records is just not working.
An example of Javascript code that would pull related solutions and loop through them would be very helpful or alternate thoughts would be appreciated if you have them.
Thanks in advance!
*This post is locked for comments
I have the same question (0)