XML 42 R42.htm IDEA: XBRL DOCUMENT v3.20.1
Leases - Lease Cost (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2020
Apr. 30, 2020
Leases [Abstract]    
Operating lease cost $ 16 $ 53
Variable lease cost 3 9
Sublease income (5) (19)
Total net lease cost $ 14 $ 43