XML 87 R63.htm IDEA: XBRL DOCUMENT v3.21.2
Leases - Supplemental Cash Flows (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Leases [Abstract]    
Cash paid for amounts included in the measurement of operating lease liabilities $ 76 $ 70
Right-of-use assets obtained in exchange for new operating lease liabilities $ 60 346
Right-of-use assets, obtained in exchange for new operating lease liabilities, existing prior to August 1, 2019   319
Right-of-use assets, obtained in exchange for new operating lease liabilities, operating leases not yet commenced   $ 27