XML 22 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Cash flows from (used by) operating activities:      
Net earnings $ 1,217,262 $ 412,865 $ 279,503
Adjustments to reconcile net earnings to net cash flows from operating activities:      
Depreciation and amortization 175,024 167,613 165,758
Deferred income taxes and other long-term taxes 86,175 (39,873) 49,580
Stock-based compensation 46,978 43,677 31,850
Amortization of acquired unfavorable contract backlog 0 (6,035) (29,367)
Asset impairments 4,926 6,784 7,611
Net gain on disposals of subsidiaries, assets and other (275,422) (8,807) (4,213)
Loss on debt extinguishment 16,052 16,841 1,778
Other 2,553 541 2,643
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable (257,607) (228,026) 146,375
Inventories (255,175) (316,316) 78,903
Other operating assets and liabilities (64,356) (15,591) 15,065
Accounts payable, accrued expenses and other payables 3,899 194,801 45,718
Net cash flows from operating activities 700,309 228,474 791,204
Cash flows from (used by) investing activities:      
Capital expenditures (449,988) (184,165) (187,618)
Acquisitions, net of cash acquired (552,449) (1,888) (18,137)
Proceeds from the sale of property, plant and equipment and other 315,148 26,424 11,843
Proceeds from insurance 3,081 0 0
Other (507) (2,500) 974
Net cash flows used by investing activities (684,715) (162,129) (192,938)
Cash flows from (used by) financing activities:      
Proceeds from issuance of long-term debt, net 743,391 309,279 62,539
Repayments of long-term debt (328,594) (368,527) (246,523)
Proceeds from accounts receivable facilities 440,236 296,586 234,482
Repayments under accounts receivable facilities (433,936) (269,858) (237,828)
Treasury stock acquired (161,880) 0 0
Dividends (67,749) (57,766) (57,056)
Tax withholdings related to share settlements, net of purchase plans (9,457) (3,166) (3,420)
Debt extinguishment costs (13,642) (13,128) 0
Debt issuance costs (3,064) (2,830) 0
Proceeds from Noncontrolling Interests 0 20 16
Net cash flows from (used by) financing activities 165,305 (109,390) (247,790)
Effect of exchange rate changes on cash (2,785) (790) 759
Increase (decrease) in cash and cash equivalents 178,114 (43,835) 351,235
Cash, restricted cash and cash equivalents at beginning of period 501,129 544,964 193,729
Cash, restricted cash and cash equivalents at end of period 679,243 501,129 544,964
Supplemental information:      
Cash paid for income taxes 229,316 140,950 44,499
Cash paid for interest 47,329 58,325 59,711
Noncash activities:      
Liabilities related to additions of property, plant and equipment 55,648 39,899 25,100
Cash and cash equivalents 672,596 497,745 542,103
Restricted cash $ 6,647 $ 3,384 $ 2,861