Map within a For-Each
Summary
Map within a For-EachContent
We have a requirement in which we are receiving a list (getPriceIndexValue) of an object (PriceIndexQueryLine) in which we need to iterate and perform an invocation to a stored procedure in a database and return the updated list in which I add the result in each of the objects.
I'm able to iterate with the For Each correctly and reviewing the instance I can see if does do that correctly, I then tired to set the values back in to the object but at the end the response only returns the last object in the
2