XML 102 R59.htm IDEA: XBRL DOCUMENT v3.23.3
INVENTORIES (Narrative) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Inventory Disclosure [Abstract]      
Raw materials $ 261,619 $ 271,756  
Inventory, Work in Process, Gross 6,844 9,446  
Inventory, Finished Goods, Net of Reserves 767,119 888,494  
Inventory, Net 1,035,582 1,169,696  
Write-down of inventory $ 11,286 $ 464 $ 384