Hello,
Must an aggregate policy be set for each column retrieved or is there a simpler solution for this model:
invoices
invoice_line_item
clients
the typed list involves something like this:
invoice.number
invoice.date
clients.name
invoice_line_item.total_amount (this is defined as SUM aggregate in the llblgen designer)
There will be of course many more fields spanning many more tables, however only the line_item totals require the sum aggregate.
So in this situation, I will get a runtime error :
Column XYZ is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
Must an aggregate policy be applied for each field in this typed list?