v3.26.3
SEGMENT INFORMATION (External Net Sales from Continuing Operations by Geographic Area) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items]      
Net sales $ 9,393,904 $ 7,798,480 $ 7,925,972
United States      
Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items]      
Net sales 7,613,968 6,216,096 6,465,388
Poland      
Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items]      
Net sales 678,924 617,623 583,320
Other      
Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items]      
Net sales $ 1,101,012 $ 964,761 $ 877,264