XML 68 R51.htm IDEA: XBRL DOCUMENT v3.24.1.1.u2
Leases - Supplemental Cash Flows (Details) - USD ($)
$ in Millions
9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Leases [Abstract]    
Cash paid for amounts included in the measurement of operating lease liabilities $ 58 $ 73
Right-of-use assets obtained in exchange for operating lease liabilities $ 28 $ 23