Credit Losses - Schedule of Activity in Allowance for Credit Losses on Trade Receivables (Detail) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Accounts Receivable, Allowance for Credit Loss [Roll Forward] | ||
| Beginning balance | $ 42,527 | |
| Provision for credit losses | 5,155 | $ 4,793 |
| Write-offs | (3,479) | |
| Recoveries of amounts previously written off | 427 | |
| Foreign currency translation | (39) | |
| Ending balance | $ 44,591 | |
| X | ||||||||||
- Definition Allowance for doubtful accounts foreign currency translation. No definition available.
|
| X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in allowance for credit loss on accounts receivable, from recovery. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of direct write-downs of accounts receivable charged against the allowance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|