Financial Instruments - Pre-tax Effect of Derivative Instruments Not Designated as Hedging Instruments on the Condensed Consolidated and Combined Statements of Earnings (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jul. 31, 2018 |
Jul. 31, 2017 |
Jul. 31, 2018 |
Jul. 31, 2017 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gains (Losses) Recognized in Earnings on Derivatives | $ 233 | $ (279) | $ 104 | $ (521) |
| Foreign currency contracts | Interest and other, net | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gains (Losses) Recognized in Earnings on Derivatives | 233 | (279) | 104 | (525) |
| Other derivatives | Interest and other, net | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gains (Losses) Recognized in Earnings on Derivatives | $ 0 | $ 0 | $ 0 | $ 4 |