Grant
February 8th, 2005, 10:26 AM
I tried adding a sample of the data but this forum would not accept various characters that were including in the text...
This is what the report looks like...
07/02/04 08:48 Accrual Wage Summary from 06/13/04 to 06/30/04 Page: 1
--------------------------------------------------------------------------------
Date Full Name Emp. # GLCode Div TOT TOT$ OT1 OT1$
================================================== ==============================
Dep #: 100
================================================== ==============================
06/25/04 XXXXXX, XXX X. 5120000 5600 512 67.50 592.65 0.00 0.00
06/29/04 XXXXXXXX, XXXXXXX 5040000 5600 504 30.25 321.56 0.00 0.00
06/27/04 XXXXX, XXXXXX 5101111 5600 510 91.50 900.65 0.00 0.00
06/30/04 XXXXXX, XXXXXXX 5070000 5600 507 98.50 1,119.79 2.50 42.19
06/30/04 XXXXXX, XXXXXX X. 5090000 5653 509 96.50 1,337.65 6.50 130.75
---------------------------------------
Department Total: ??????? ????????? 293.50 4,944.50
--------------------------------------------------------------------------------
Dep #: 131
================================================== ==============================
06/26/04 XXXXXXXX, XXXXXX 5093640 5600 501 82.00 0.00 2.25 0.00
---------------------------------------
Department Total: 82.00 0.00 2.25 0.00
--------------------------------------------------------------------------------
Dep #: 200
================================================== ==============================
06/28/04 XXXXXXXX, XXXXXXXXX 5040000 5601 504 96.00 921.60 0.00 0.00
06/27/04 XXXXXX, XXXXXXXXXXXXXX 5012222 5601 501 105.00 1,218.00 0.00 0.00
07/02/04 08:48 Accrual Wage Summary from 06/13/04 to 06/30/04 Page: 5
--------------------------------------------------------------------------------
Date Full Name Emp. # GLCode Div TOT TOT$ OT1 OT1$
================================================== ==============================
06/24/04 XXXXX, XXXXX 5031111 5601 503 80.00 841.60 0.00 0.00
06/29/04 XXXXX, XXXXXXXXXX 5041111 5601 504 88.00 844.80 0.00 0.00
06/30/04 XXXXXX, XXXXXXX 5051111 5601 505 95.50 953.09 0.00 0.00
06/28/04 XXXXXXX, XXXXXX 5011111 5601 501 103.75 1,141.25 0.00 0.00
06/30/04 XXXXXXX, XXXXXXXX 5041111 5601 508 120.00 1,107.20 0.00 0.00
06/30/04 XXXXXX, XXXXXX 5011111 5601 501 64.25 706.75 0.00 0.00
Dep #: 140
================================================== ==============================
06/26/04 XXXXXXXX, XXXXXX 5093640 5600 501 82.00 0.00 2.25 0.00
---------------------------------------
Department Total: 82.00 0.00 2.25 0.00
--------------------------------------------------------------------------------
Dep #: 280
================================================== ==============================
06/28/04 XXXXXXXX, XXXXXXXXX 5040000 5601 504 96.00 921.60 0.00 0.00
06/27/04 XXXXXX, XXXXXXXXXXXXXX 5012222 5601 501 105.00 1,218.00 0.00 0.00
This is the output I need from it..
D,G,FP,502,5652,,,,,19770.57,Accrue salary costs for Dept 400,
D,G,FP,502,5662,,,,,547.64,Accrue EI costs for Dept 400,
D,G,FP,502,5663,,,,,978.64,Accrue CPP costs for Dept 400,
D,G,FP,502,5665,,,,,395.41,Accrue Payroll Tax costs for Dept 400,
D,G,FP,502,5656,,,,,14008.13,Accrue salary costs for Dept 500,
D,G,FP,502,5662,,,,,388.03,Accrue EI costs for Dept 500,
D,G,FP,502,5663,,,,,693.40,Accrue CPP costs for Dept 500,
D,G,FP,502,5665,,,,,280.16,Accrue Payroll Tax costs for Dept 500,
D,G,FP,502,5654,,,,,3001.06,Accrue salary costs for Dept 600,
D,G,FP,502,5662,,,,,83.13,Accrue EI costs for Dept 600,
D,G,FP,502,5663,,,,,148.55,Accrue CPP costs for Dept 600,
D,G,FP,502,5665,,,,,60.02,Accrue Payroll Tax costs for Dept 600,
D,G,FP,502,5655,,,,,3816.57,Accrue salary costs for Dept 700,
D,G,FP,502,5662,,,,,105.72,Accrue EI costs for Dept 700,
D,G,FP,502,5663,,,,,188.92,Accrue CPP costs for Dept 700,
D,G,FP,502,5665,,,,,76.33,Accrue Payroll Tax costs for Dept 700,
D,G,FP,502,1711,,,,,-44542.28,Total Payroll Costs Accrued for Division 502,
D,G,FP,503,5600,,,,,10136.60,Accrue salary costs for Dept 100,
The model I have in monarch takes the report text and exports a spreadsheet containing 3 columns...
Division, Department and Total Dollars....
Divis dept TotDollars
501 100 17185.05
501 131 0.00
501 200 32440.78
501 300 2772.84
501 800 4547.26
501 970 146.78
502 400 19770.57
My excel macro then processes these columns and applies rules for GL coding etc. and outputs the report in .csv report for upload with header lines, etc.
Feel free to have a look and let me know of any suggestions...
Thanks,
Grant
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.