cancel
Showing results for 
Search instead for 
Did you mean: 

Report sub total clearing issue

Former Member
0 Kudos

THis is first time not summing by running totals.

I have one summary field as this, but this report shows sales according to sales person and 'sales codes' that is all parts of the sale, that is, chat online, web mail, etc.

we have break by such codes and then a total per rep. it is doing first one  fine but not clearing rep total. number correct but no clear.

this is the display rep total:

shared numbervar userLevelTotal:=userLevelTotal;

userLevelTotal;

it is used here: this is:TranccodeInc:

shared numbervar trnccnt:=trnccnt;

shared numbervar trncsum:=trncsum;

shared numbervar userLevelTotal:=userLevelTotal;

shared numbervar grandtotal:=grandtotal;

trnccnt:=trnccnt+1;

trncsum:=trncsum+{CLSPAYTP.OHTTN$};

userLevelTotal:=userLevelTotal+{CLSPAYTP.OHTTN$};

grandtotal:=grandtotal+{CLSPAYTP.OHTTN$};

the basic init is:

shared numbervar trnccnt:=0;

shared numbervar trncsum:=0;

Totals for sales codes is displayed in Group footer 2. for rep in GF 1

the GROUPS here are the rep, sales codes, order #. out put is like this:

OCSORDER CANCEL SAVES05/13/20150550933,819.80
TotalOCS44,767.63
RQURETENTION QUOTE CONVERSION05/08/20150548572,090.52
RQURETENTION QUOTE CONVERSION05/11/2015055749208.58
RQURETENTION QUOTE CONVERSION05/09/2015054230627.45
TotalRQU32,926.55
RRFRETENTION FOLLOWUP05/08/2015055147225.00
RRFRETENTION FOLLOWUP05/13/20150558851,247.80
RRFRETENTION FOLLOWUP05/12/2015050911336.23
RRFRETENTION FOLLOWUP05/12/20150555553,426.75
RRFRETENTION FOLLOWUP05/12/2015055043284.97
RRFRETENTION FOLLOWUP05/13/2015055549369.69
RRFRETENTION FOLLOWUP05/14/2015055215279.51
TotalRRF76,169.95
JOTALBERTO2222,753.42

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor
0 Kudos

Hi Paul,

You would also need a 'reset' formula for the userLevel Totals depending on what group that is.

-Abhilash

Answers (0)