XML 107 R87.htm IDEA: XBRL DOCUMENT v3.10.0.1
Schedule II Valuation of Qualifying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2016
Allowance for Doubtful Accounts [Member]      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balances at beginning of period $ 4,629 $ 5,144 $ 3,585
Additions — Charged to expense 752 732 1,904
Deductions - written off (910) (1,247) (345)
Balances at end of period 4,471 4,629 5,144
Inventory Valuation Reserve [Member]      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balances at beginning of period 14,322 15,083 13,269
Additions — Charged to expense 2,797 4,608 4,950
Deductions - written off (4,537) (5,369) (3,136)
Balances at end of period 12,582 14,322 15,083
Valuation Allowance of Deferred Tax Assets [Member]      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balances at beginning of period 38,563 37,992 39,922
Additions — Charged to expense 24,184 2,004 2,614
Deductions - written off (5,881) (1,433) (4,544)
Balances at end of period $ 56,866 $ 38,563 $ 37,992