When I generate the vendor statement, it shows an opening balance of zero even though I have configured it under settings.
This is because your opening balance is configured and displayed at organization level and not at customer/vendor level.
FAQ
This is because your opening balance is configured and displayed at organization level and not at customer/vendor level.