Is there a way to query whether or not a map has a particular key and put them in a list?
I am trying to add together all the values only if they key contains a certain currency. For example, A4=10;A7=9;B3=2;D4=5. I would only like to pull the values that contain the letter A. And furthermore I would like to add up all the A values together and get a sum.
Reason I am doing this is because the controller for my quote pdf is coded to be dynamic. So all the products currencies and container types are in maps. I need to be able to total the values in the maps but for each currency
9 respuestas
@Amey Priolkar would it be possible to set up a call to discuss this? I really need help on this and I am at the end of my rope..