XML 67 R50.htm IDEA: XBRL DOCUMENT v3.24.1.1.u2
Leases - Lease Cost (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Apr. 30, 2024
Apr. 30, 2023
Leases [Abstract]        
Operating lease cost $ 25 $ 33 $ 77 $ 97
Variable lease cost 6 6 18 15
Sublease income (3) (3) (9) (9)
Total net lease cost $ 28 $ 36 $ 86 $ 103