neeraj_vasudeva
18th December 2002, 19:53
Hello,
I a new to BaaN. I have the following set of data i.e. Cost Price , which is being picked up after doing certain calculaion in report script.
Item Cost Price
A 100
B 20
C 40
D 60
--------
Total 220
--------
I have to calculate Cumalative Value %
Item Cost Price Cumalative Value %
A 100 45.45
B 20 9.09
C 40 18.18
D 60 27.27
--------
Total 220
--------
Formaulae for Cumalative Value % is :
Cost Price / Sum of Cost Price * 100
Now I have written in after.field of item in report script to do calculation for cost price so that i could send
data on report, problem is how do i calculate Cumalative Value % because for that i need Cost Price Total. I can only know at the end of all records...
how should i proceed with this problem.....???
which events should i use ? which sections should i use ?
for better indentation of data i am also attaching a text file, please open it in notepad with word wrap ON
I a new to BaaN. I have the following set of data i.e. Cost Price , which is being picked up after doing certain calculaion in report script.
Item Cost Price
A 100
B 20
C 40
D 60
--------
Total 220
--------
I have to calculate Cumalative Value %
Item Cost Price Cumalative Value %
A 100 45.45
B 20 9.09
C 40 18.18
D 60 27.27
--------
Total 220
--------
Formaulae for Cumalative Value % is :
Cost Price / Sum of Cost Price * 100
Now I have written in after.field of item in report script to do calculation for cost price so that i could send
data on report, problem is how do i calculate Cumalative Value % because for that i need Cost Price Total. I can only know at the end of all records...
how should i proceed with this problem.....???
which events should i use ? which sections should i use ?
for better indentation of data i am also attaching a text file, please open it in notepad with word wrap ON