on 06-09-2007 7:48 AM
hi friends,
1.i am using sum statment to add net amount.here i have 5 materials
two with minus sign [10.00,20.00,05.00-,30.00,10.00-]
my result should be 45.00.but minus amount is getting subtracted
twice i get 30.00 has result
plz if anyone have any idea wat will be wrong
regards
soorya
hi soorya,
just like this,
in samrtforms global definations u can define one field for total, go to currency/quantity tab and define reference field for that,
go to itab loop in smartforms,
on calculations tab just define u field and select total after the loop check box,
save and activate then it works properly.
regards points if useful,
regards,
seshu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi soorya,
Instead of using SUM statement...do one thing define a global variable in smartform...
and go on adding the net amount with each materials net amnt value...
u must have used a loop node in ur smartforms i suppose...
so just insert program lines in ur loop node...
the code will be...in smartform
before this...
CLEAR gv_net_amnt.
LOOP node.
Program lines will be ...
gv_net_amnt = gv_net_amnt + net amnt field.
ENDLOOP.
hope this will surely help u out...
please reward points in case usefull...
Regards,
prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.