XML 45 R30.htm IDEA: XBRL DOCUMENT v3.22.4
Credit Losses (Tables)
9 Months Ended
Jan. 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, 2022$36,384 
Provision for credit losses16,725 
Write-offs(10,116)
Recoveries of amounts previously written off598 
Foreign currency translation15 
Balance at January 31, 2023$43,606 
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 Months12 Months or longerBalance Sheet Classification
Fair ValueUnrealized LossesFair ValueUnrealized LossesCash and Cash
Equivalent
Marketable Securities,
Current
Marketable
Securities, Non-
Current
(in thousands)
Balance at January 31, 2023
Commercial paper$13,567 $78 $2,648 $$— $16,215 $— 
Corporate notes/bonds$13,454 $211 $14,160 $278 $— $20,311 $7,303 
Balance at April 30, 2022       
Commercial paper$37,002 $125 $4,499 $$15,489 $26,012 $— 
Corporate notes/bonds$32,186 $446 $3,800 $$— $18,942 $17,044 
U.S. Treasury and Agency Securities$987 $$— $— $— $987 $—