XML 69 R49.htm IDEA: XBRL DOCUMENT v3.23.1
Leases - Supplemental Cash Flows (Details) - USD ($)
$ in Millions
9 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Leases [Abstract]    
Cash paid for amounts included in the measurement of operating lease liabilities $ 73 $ 77
Right-of-use assets obtained in exchange for operating lease liabilities $ 23 $ 81