extend views relationships to school entity based on bcode field!

fixes #3945