Hi All,
I have run into a situation where I need to group by pieces of a list field. This is a sales commission report and in the invoice record, there are two list fields, one for the sales rep code and one for the actual commission dollar amount. I found a formula to split the codes out into five individual fields and the same with the corresponding commission amounts.
My problem now is how to group by a particular code because the code could occur in any of the five "split out" fields. And I need to keep the corresponding commission amount with the sale rep code for totaling by rep code.
I have created a field that concatenates the rep code and the commission amount but trying to group on that was not any help.
The report looks like this right now:
Inv_No Inv_Dt Inv_Amt RepCode_1 Commission_Code 1
RepCode_2 Commission_Code_2
' '
RepCode_5 Commission_Code_5
Any help would be greatly appreciated.
Rob
I have run into a situation where I need to group by pieces of a list field. This is a sales commission report and in the invoice record, there are two list fields, one for the sales rep code and one for the actual commission dollar amount. I found a formula to split the codes out into five individual fields and the same with the corresponding commission amounts.
My problem now is how to group by a particular code because the code could occur in any of the five "split out" fields. And I need to keep the corresponding commission amount with the sale rep code for totaling by rep code.
I have created a field that concatenates the rep code and the commission amount but trying to group on that was not any help.
The report looks like this right now:
Inv_No Inv_Dt Inv_Amt RepCode_1 Commission_Code 1
RepCode_2 Commission_Code_2
' '
RepCode_5 Commission_Code_5
Any help would be greatly appreciated.
Rob