Quarterly report pursuant to Section 13 or 15(d)

Credit Losses (Tables)

v3.23.2
Credit Losses (Tables)
3 Months Ended
Jul. 31, 2023
Credit Loss [Abstract]  
Summary of Activity in Allowance for Credit Losses on Trade Receivables
The activity in the allowance for credit losses on the Company's trade receivables is as follows:
(in thousands)
Balance at April 30, 2023 $ 44,377 
Provision for credit losses 5,965 
Write-offs (3,153)
Recoveries of amounts previously written off 95 
Foreign currency translation 134 
Balance at July 31, 2023 $ 47,418 
Schedule of Fair Value and Unrealized Losses on Available for Sale Debt Securities
The fair value and unrealized losses on available for sale debt securities, aggregated by investment category and the length of time the security has been in an unrealized loss position, are as follows:
Less Than 12 Months 12 Months or longer Balance Sheet Classification
Fair Value Unrealized Losses Fair Value Unrealized Losses Marketable Securities,
Current
Marketable
Securities, Non-
Current
(in thousands)
Balance at July 31, 2023
Corporate notes/bonds $ —  $ —  $ 18,121  $ 203  $ 18,121  $ — 
Balance at April 30, 2023            
Commercial paper $ 8,229  $ 26  $ 3,492  $ $ 11,721  $ — 
Corporate notes/bonds $ 9,581  $ 123  $ 13,815  $ 232  $ 20,489  $ 2,907