XML 54 R42.htm IDEA: XBRL DOCUMENT v3.8.0.1
Property, Plant and Equipment - Additional Information (Detail) - USD ($)
$ in Thousands
Apr. 30, 2018
Jul. 31, 2017
Property, Plant and Equipment [Line Items]    
Property, plant and equipment $ 683,067 $ 590,675
Accumulated depreciation 192,453 165,437
Assets Held under Capital Leases    
Property, Plant and Equipment [Line Items]    
Property, plant and equipment 6,527 6,527
Accumulated depreciation $ 1,632 $ 1,224