XML 75 R60.htm IDEA: XBRL DOCUMENT v3.21.2
INVENTORIES - Additional Information (Detail) - USD ($)
$ in Thousands
Jul. 31, 2021
Jul. 31, 2020
Inventory [Line Items]    
Inventories $ 1,444,274 $ 763,264
LIFO    
Inventory [Line Items]    
Subsidiaries valued inventory in last-in, first-out method 497,507 251,099
FIFO    
Inventory [Line Items]    
Subsidiaries valued inventory in first-in, first-out method $ 946,767 $ 512,165