XML 52 R40.htm IDEA: XBRL DOCUMENT v3.19.2
Nature of Operations and Accounting Policies - Additional Information (Detail) - Accounting Standards Update 2014-09 - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2019
Apr. 30, 2019
Aug. 01, 2018
Retained Earnings      
Nature Of Operations And Significant Accounting Policies [Line Items]      
Cumulative effect of the change in accounting principle, net of tax     $ (5,450)
Accrued Promotions and Rebates      
Nature Of Operations And Significant Accounting Policies [Line Items]      
Cumulative effect of the change in accounting principle, net of tax     7,127
Cumulative effect of change on equity or net assets on pre-tax basis $ 317 $ 1,823  
Deferred Income Tax Assets      
Nature Of Operations And Significant Accounting Policies [Line Items]      
Cumulative effect of the change in accounting principle, net of tax     $ 1,677