XML 16 R6.htm IDEA: XBRL DOCUMENT v3.25.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Millions
9 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Cash flows from operating activities:    
Net earnings $ 1,734 $ 1,869
Adjustments to reconcile net earnings to net cash provided by operating activities:    
Depreciation, amortization and impairment 708 622
Stock-based compensation expense 432 367
Restructuring and other charges 302 180
Deferred taxes on earnings (67) 69
Other, net 103 (24)
Changes in operating assets and liabilities, net of acquisitions:    
Accounts receivable 54 (447)
Inventory (671) (953)
Accounts payable 94 1,442
Net investment in leases related to integrated financing (71) (123)
Taxes on earnings (360) (89)
Restructuring and other (238) (204)
Other assets and liabilities 53 (583)
Net cash provided by operating activities 2,073 2,126
Cash flows from investing activities:    
Investment in property, plant, equipment and purchased intangible (700) (439)
Purchases of available-for-sale securities and other investments (23) 0
Maturities and sales of available-for-sale securities and other investments 69 0
Collateral posted for derivative instruments (343) (60)
Payment made in connection with business acquisitions, net of cash acquired (116) (15)
Net cash used in investing activities (1,113) (514)
Cash flows from financing activities:    
Proceeds from debt, net of issuance costs 1,248 266
Payment of debt (1,312) (153)
Stock-based award activities and others (113) (67)
Repurchase of common stock (350) (1,200)
Cash dividends paid (818) (812)
Settlement of cash flow hedges 6 0
Net cash used in financing activities (1,339) (1,966)
Decrease in cash, cash equivalents and restricted cash (379) (354)
Cash, cash equivalents and restricted cash at beginning of period 3,253 3,232
Cash, cash equivalents and restricted cash at end of period $ 2,874 $ 2,878