XML 80 R67.htm IDEA: XBRL DOCUMENT v3.23.3
Inventories (Narrative) (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Inventory Disclosure [Abstract]    
Inventories $ 178,521 $ 216,094
Inventories, net 155,932 193,776
LIFO, basis amount 800 77,800
FIFO, basis amount 113,800 $ 138,300
Decrease to cost of goods sold related to liquidation of LIFO inventory quantities $ 1,200  
Decrease to cost of goods sold per diluted share related to liquidation of LIFO inventory quantities $ 0.11