Question
I noticed a difference when getting Quote Line Item (QLI) via api.stream()
vs. api.getCalculableLineItemCollection()
.
...
In my case, I need to use Filters so I use stream. Is there any way to get the "outputs" data too while using stream with Filters?
...
hidden | true |
---|
...
Answer
You can pull the values in fields = ["outputs.MyOutPut.result","inputs.MyInput.value"]
You can also directly construct filters on such values, you do not need to iterate over all items and check them in Groovy.
This applies to the header level too.