updated code for calculate netamount and settext dynamically. Need to be
improved this code.