XML 59 R48.htm IDEA: XBRL DOCUMENT v3.19.1
NEW ACCOUNTING PRONOUNCEMENTS Effect of ASU 2016-15 adoption - Adjustments in Cash flow (Details) - USD ($)
$ in Millions
6 Months Ended
Apr. 30, 2019
Apr. 30, 2018
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Net cash provided by operating activities $ 461 $ 282
Net cash used in investing activities (49) (46)
Net cash used in financing activities $ (54) (274)
As originally reported    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Net cash provided by operating activities   282
Net cash used in investing activities   (49)
Net cash used in financing activities   (271)
Change | Accounting Standards Update 2016-15 [Member]    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Net cash provided by operating activities   0
Net cash used in investing activities   3
Net cash used in financing activities   $ (3)