Sum more than two fields

Hello Sir, I declared a global variable “Total Amount” and I want to assign the summation of the following fields “Line Amount”+“Service Tax Amount”+“KK Cess Amount”.how can I do that?

I’m try to do the summation btween “KK Cess Amount” & “Ser. Tax SBC Amount” as an example but there have an error that "Decimal Value :=Boolean " this conversion is not possible.
Total:=“Sales Invoice Line”.CALCSUMS(“Sales Invoice Line”.“KK Cess Amount”,“Sales Invoice Line”.“Service Tax SBC Amount”);

Hello,
“Sales Invoice Line”.CALCSUMS(“Sales Invoice Line”.“KK Cess Amount”,“Sales Invoice Line”.“Service Tax SBC Amount”);
Total:=“Sales Invoice Line”.“KK Cess Amount”+“Sales Invoice Line”.“Service Tax SBC Amount”

I think this should work. Not sure. Never tried it.

best regards,

No it’s not working…
Thanks for your replay sir

Thank you sir …I have solve this problem and your suggestion help me for that thank you once again sir…