Need help for Custom script which sum up Amount in Last Row of Grid


doctype : payment_reconcialiation_payment
field : amount

Thanks in advance.


@Suresh_Thakor I suggest to only add a normal field to the parent doctype that hold the sum of amounts . (if it’s not already there) .

@bahaou, Thanks a lot for reply.

but how to get sum up while click on button not on load of form.

@Suresh_Thakor using custom scripts you can add buttons . calculate anything at any time and any event.
check it here