• working on your posted query and works fine .

    Just one que is that in IsUserTransaction column whats mean for user transaction ? 0 or 1?