republiccommando
Technical User
Hello,
I am trying to create a subreport that will give me outstanding balances for the year by dept.
My difficulty is summarizing the gl data based on the sample data below. Instead of me babbling the details, I know sample data works better, then questions if any comes later. Any assistance is greatly appreciated. Using CR2008. Thanks.
Paid To Date Month: August, 2009
Filter for Accounts 1020, 1030, 1090
Data:
TABLE1 - Transaction Detail
GROUP LINE DEPT ACCOUNT AMOUNT
1 1 6080 5040 100.00
1 2 9999 1020 -100.00
2 1 6070 5040 100.00
2 2 9998 1030 -250.00
2 3 6080 5050 150.00
3 1 9999 1080 -100.00
3 2 6080 5040 100.00
4 1 6060 5020 100.00
4 3 6060 5030 100.00
4 5 6080 5040 100.00
4 6 9997 1090 -300.00
TABLE2 - Transaction Schedule
GROUP PRDBEG YRBEG PRDEND YREND
1 3 2008 11 2009
2 1 2008 12 2010
3 7 2008 6 2010
4 1 2006 10 2010
Desired Result for 2009 Outstanding Balance:
GROUP DEPT ACCOUNT AMOUNT
1 6080 5040 300.00
2 6070 5040 400.00
2 6080 5050 600.00
4 6060 5020 400.00
4 6060 5030 400.00
4 6080 5040 400.00
I am trying to create a subreport that will give me outstanding balances for the year by dept.
My difficulty is summarizing the gl data based on the sample data below. Instead of me babbling the details, I know sample data works better, then questions if any comes later. Any assistance is greatly appreciated. Using CR2008. Thanks.
Paid To Date Month: August, 2009
Filter for Accounts 1020, 1030, 1090
Data:
TABLE1 - Transaction Detail
GROUP LINE DEPT ACCOUNT AMOUNT
1 1 6080 5040 100.00
1 2 9999 1020 -100.00
2 1 6070 5040 100.00
2 2 9998 1030 -250.00
2 3 6080 5050 150.00
3 1 9999 1080 -100.00
3 2 6080 5040 100.00
4 1 6060 5020 100.00
4 3 6060 5030 100.00
4 5 6080 5040 100.00
4 6 9997 1090 -300.00
TABLE2 - Transaction Schedule
GROUP PRDBEG YRBEG PRDEND YREND
1 3 2008 11 2009
2 1 2008 12 2010
3 7 2008 6 2010
4 1 2006 10 2010
Desired Result for 2009 Outstanding Balance:
GROUP DEPT ACCOUNT AMOUNT
1 6080 5040 300.00
2 6070 5040 400.00
2 6080 5050 600.00
4 6060 5020 400.00
4 6060 5030 400.00
4 6080 5040 400.00