XML 69 R54.htm IDEA: XBRL DOCUMENT v3.22.2.2
ACQUISITION -Additional Information (Details)
$ in Thousands
12 Months Ended
Apr. 25, 2022
USD ($)
market
Aug. 31, 2022
USD ($)
Aug. 31, 2021
USD ($)
Aug. 31, 2020
USD ($)
Business Acquisition [Line Items]        
Payments to acquire businesses, net of cash acquired   $ 552,449 $ 1,888 $ 18,137
Goodwill   249,009 66,137 64,321
Cost of goods and services sold   7,057,085 5,623,903 4,531,688
Amortization expense for intangible assets   10,000 2,100 $ 2,100
Cost of goods sold        
Business Acquisition [Line Items]        
Inventory adjustments   8,700    
Amortization expense for intangible assets   $ 6,400    
Minimum | Real Property        
Business Acquisition [Line Items]        
Estimated useful lives   5 years    
Minimum | Personal Property        
Business Acquisition [Line Items]        
Estimated useful lives   1 year    
Maximum | Real Property        
Business Acquisition [Line Items]        
Estimated useful lives   25 years    
Maximum | Personal Property        
Business Acquisition [Line Items]        
Estimated useful lives   15 years    
Tensar        
Business Acquisition [Line Items]        
Cash acquired from acquisition $ 19,600      
Payments to acquire businesses, net of cash acquired $ 550,000      
Number of Markets | market 80      
Assets for plan benefits, defined benefit plan $ 14,600      
Goodwill $ 187,861 $ 186,805    
Acquisition and integration expense   8,700    
Amortization expense for intangible assets   $ (8,100) (12,400)  
Tensar | Revision of Prior Period, Adjustment        
Business Acquisition [Line Items]        
Acquisition and integration expense     1,000  
Cost of goods and services sold     $ (8,700)