XML 74 R60.htm IDEA: XBRL DOCUMENT v3.10.0.1
Long - Term Debt - Additional Information (Detail) - USD ($)
12 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2016
Line of Credit Facility [Line Items]      
Line of credit, outstanding amount   $ 145,000,000  
Interest expense $ 5,187,000 9,730,000 $ 1,592,000
Fees to secure the facility, amortized amount $ 1,570,000 1,570,000 131,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, current borrowing capacity $ 500,000,000    
Line of credit, entitled expansion option 100,000,000    
Line of credit, outstanding amount $ 0 $ 145,000,000  
Line of credit, borrowing availability term Borrowing availability under the credit agreement is limited to the lesser of the facility total and the monthly calculated borrowing base    
Line of credit, covenant term The credit agreement has no financial covenant restrictions for borrowings as long as the Company has adjusted excess availability under the facility that exceeds 10% of the lesser of the line commitment or the borrowing base total, with a floor of $40,000.    
Line of credit, borrowing availability $ 495,657,000    
Weighted-average interest rate on borrowings 2.82% 2.34%  
Fees to secure the facility, amount incurred     7,850,000
Fees to secure the facility, unamortized amount $ 4,579,000 $ 6,149,000  
Asset-based revolving credit facility | Interest expense      
Line of Credit Facility [Line Items]      
Fees to secure the facility, amortized amount $ 1,570,000 1,570,000 $ 131,000
Asset-based revolving credit facility | Minimum      
Line of Credit Facility [Line Items]      
Line of credit, percentage of line commitment to be exceeded by the excess borrowing availability 10.00%    
Line of credit, borrowing base $ 40,000,000    
Asset-based revolving credit facility | Maximum      
Line of Credit Facility [Line Items]      
Fees to secure the facility, amortization period 5 years    
Asset-based revolving credit facility | LIBOR rate      
Line of Credit Facility [Line Items]      
Line of credit, outstanding amount   $ 145,000,000  
Line of credit, pricing spreads rate   1.50%  
Line of credit, effective interest rate   2.72%  
Asset-based revolving credit facility | LIBOR rate | Minimum      
Line of Credit Facility [Line Items]      
Line of credit, pricing spreads rate 1.25%    
Asset-based revolving credit facility | LIBOR rate | Maximum      
Line of Credit Facility [Line Items]      
Line of credit, pricing spreads rate 1.75%    
Asset-based revolving credit facility | Base rate | Minimum      
Line of Credit Facility [Line Items]      
Line of credit, pricing spreads rate 0.25%    
Asset-based revolving credit facility | Base rate | Maximum      
Line of Credit Facility [Line Items]      
Line of credit, pricing spreads rate 0.75%    
Asset-based revolving credit facility | LIBOR and base rate      
Line of Credit Facility [Line Items]      
Interest expense $ 1,939,000 $ 7,002,000