$ 0 0 Dear Nagarajan, Thanks for your reply, the query works fine. But i find some negative values are coming for opening balance value. Pls see the attached screen shot for reference and help me to sort out this issue.Thanks, Bhoopathi.K