XML 89 R69.htm IDEA: XBRL DOCUMENT v3.19.3
DEBT - Net Carrying Value of the Notes (Detail) - USD ($)
Jul. 31, 2019
Jul. 31, 2018
Debt Instrument [Line Items]    
Carrying amount of equity component (net of allocated debt issuance costs) $ 8,200,000  
Long-term debt 375,937,000 $ 397,367,000
SPHG Holdings | Convertible Notes Payable    
Debt Instrument [Line Items]    
Principal amount of Notes 14,940,000  
Unamortized debt discount (7,508,000)  
Long-term debt $ 7,432,000