function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bclapperbclapper 

Aggregate List Question

I wrote a controller extension to create an aggregate list but I want to include a field that is neither an aggregate field or a group by field.  I have a custom object called Comm Rec and a child called Order Entry.  On the Order Entry I have a Sales Rep, Invoice Number, Invoice Date, Sales & Comm field.  I wrote the aggregate list to SUM the Sales & Comm fields and Group by Rollup on the Sales Rep, Invoice Number fields.  This works and displays the information as you would expect but I need to display the Invoice Date as well.  What would be the best way to go about it?