XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Cash flows from operating activities:    
Net income $ 359,715 $ 371,854
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 80,637 75,242
Non-cash stock compensation 17,067 23,404
Deferred income taxes (930) (11,094)
Other non-cash expense 762 43,325
Loss on sale of property, plant and equipment 1,624 (707)
Changes in operating assets and liabilities 19,197 (162,333)
Net cash provided by operating activities 478,072 339,691
Cash flows from investing activities:    
Additions to property, plant and equipment (24,244) (39,373)
Proceeds from sale of property, plant and equipment 91 415
Acquisition of business, net of cash acquired (377,843) (171,613)
Net cash used in investing activities (401,996) (210,571)
Cash flows from financing activities:    
Proceeds from long-term debt 1,279,151 63,067
Repayment of long-term debt (1,205,195) (40,162)
Repayment of finance lease obligations (4,769) (3,726)
Issuance of common shares 18,449 8,845
Purchase of treasury shares (78,163) (233,767)
Dividends paid (111,547) (88,675)
Net cash used in financing activities (102,074) (294,418)
Effect of exchange rate changes on cash 5,679 (5,937)
Decrease in cash and cash equivalents (20,319) (171,235)
Cash and cash equivalents at beginning of period 163,457 299,972
Cash and cash equivalents at end of period $ 143,138 $ 128,737