XML 39 R28.htm IDEA: XBRL DOCUMENT v3.8.0.1
Revenue from Contracts with Customers - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2018
Jan. 31, 2018
Apr. 30, 2017
Jan. 31, 2017
Revenue From Contract With Customer [Abstract]        
Payment terms of customers 30 days      
Contract receivables, net of allowance for doubtful accounts $ 88,936 $ 76,962 $ 83,949 $ 54,505
Gift cards expected redemption period 2 years      
Contract liabilities $ 34,543 $ 56,637 $ 49,926 $ 59,013
Revenue recognized included in contract liability $ 14,541