Net Income Per Share - Schedule of Reconciliation of Basic Weighted Average Shares Outstanding to Diluted Weighted Average Shares Outstanding (Details) - shares shares in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
|
| Earnings Per Share [Abstract] | ||||
| Weighted average common shares outstanding (in shares) | 936,293 | 966,234 | 957,280 | 964,702 |
| Effect of dilutive securities (in shares) | 6,477 | 11,855 | 7,935 | 12,783 |
| Weighted average common and dilutive potential common shares outstanding (in shares) | 942,770 | 978,089 | 965,215 | 977,485 |