Description of changes:
Move multiple outer joins to a subquery join, also change some of the outer joins into inner joins
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-pay license (Apache 2.0).
Issue #: https://github.com/bcgov/entity/issues/21979
Description of changes: Move multiple outer joins to a subquery join, also change some of the outer joins into inner joins
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-pay license (Apache 2.0).