queries for openclosed windows and all billing companies
last tests for billing company queries