How to refresh child revenue items rows for Opportunity
I have a use case where I want to refresh child product lines for the opportunity. I am using the following groovy script to refresh the Opportunity View object but it is not refreshing the child revenue items.
The following line is returning the ChildRevenue object but it is a RowIterator and does not have a executeQuery() method.
Does anybody know how to refresh the child records?