I have a child records of a custom type attached to a customer. I'd like to iterate over all customers and process these records but I'm not sure how to proceed.
can I use things like record.getLineItemCount()? If so, how do I find the "group name" associated with these records.
Alternatively, do I have to do some kind of join?