XML 81 R66.htm IDEA: XBRL DOCUMENT v3.10.0.1
COMMITMENTS AND CONTINGENCIES (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2016
Operating Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract]      
2019 $ 26,158    
2020 23,849    
2021 21,749    
2022 20,739    
2023 17,115    
Thereafter 12,718    
Total 122,328    
Operating leases, rent expense 19,000 $ 12,700 $ 7,600
Contract Manufacturer      
Loss Contingencies [Line Items]      
Purchase obligation 23,100    
Non-contract Vendors [Member]      
Loss Contingencies [Line Items]      
Purchase obligation $ 36,700