I have created smartform for delivery document.
My requirement is: For all the line items which ever printed on particular page, should get added the sub total on the same.
I am getting this for some deliverys. But some times am getting in correct sub total.
For eg: if there are total 8 line items, price 100 USD for each, it should print subtotal as 800 and Total as 800 on the same page or else it should print what ever items fit for particular page and rest in the next page.
But it is printing details all the 8 line items in the first page, subtotal as 700 and in the next page again subtotal as 100 and Total as 800 with out any line items.
My observation is 100 USR for the last item is getting carried to next page.
Please let me know is there any solution for this problem.