XML 45 R29.htm IDEA: XBRL DOCUMENT
v3.20.2

Credit Losses (Tables) | 6 Months Ended
--- | ---
Oct. 31, 2020
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, 2020 |  |  |  | $ | 23,795 |
Provision for credit losses |  |  |  |  | 7,993 |
Write-offs |  |  |  |  | (4,823 | )
Recoveries of amounts previously written off |  |  |  |  | 206 |
Foreign currency translation |  |  |  |  | 682 |
Balance at October 31, 2020 |  |  |  | $ | 27,853 |
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 |  |  | Balance Sheet Classification |
Balance at October 31, 2020 |  | Fair Value |  |  | Unrealized Loss |  |  | Cash and Cash Equivalents |  |  | Marketable Securities, Current |
|  | (in thousands) |
Commercial paper |  | $ | 15,988 |  |  | $ | 3 |  |  | $ | — |  |  | $ | 15,988 |
Corporate notes/bonds |  | $ | 10,470 |  |  | $ | 6 |  |  | $ | — |  |  | $ | 10,470 |
U.S. Treasury and Agency Securities |  | $ | 1,974 |  |  | $ | 1 |  |  | $ | — |  |  | $ | 1,974 |

X
- Definition Tabular disclosure of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447 + Details
Name: | us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_CreditLossAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121582814&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration