XML 67 R51.htm IDEA: XBRL DOCUMENT v3.10.0.1
Long - Term Debt - Additional Information (Detail) - USD ($)
3 Months Ended
Oct. 31, 2018
Oct. 31, 2017
Jul. 31, 2018
Line of Credit Facility [Line Items]      
Fees to secure the facility, amortized amount $ 393,000 $ 393,000  
Asset-based revolving credit facility      
Line of Credit Facility [Line Items]      
Line of credit, maturity period 5 years    
Line of credit, commencement date Jun. 30, 2016    
Line of credit, maturity date Jun. 30, 2021    
Line of credit, outstanding amount $ 0   $ 0
Line of credit, borrowing availability 495,657,000    
Asset-based revolving credit facility | Other Noncurrent Assets [Member]      
Line of Credit Facility [Line Items]      
Fees to secure the facility, unamortized amount 4,186,000   $ 4,579,000
Asset-based revolving credit facility | Interest expense      
Line of Credit Facility [Line Items]      
Fees to secure the facility, amortized amount $ 393,000 $ 393,000