| Schedule of Condensed Balance Sheet | 
 Consolidated Balance Sheets 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
|   | 
As of June 30, | 
 
| (In thousands) | 
2021 | 
 | 
2020 | 
 
| Accounts receivable, net: | 
 | 
 | 
 | 
 
| Accounts receivable, gross | 
$ | 
1,323,515  | 
 | 
 | 
$ | 
1,119,235  | 
 | 
 
| Allowance for credit losses | 
(18,036) | 
 | 
 | 
(11,822) | 
 | 
 
 | 
$ | 
1,305,479  | 
 | 
 | 
$ | 
1,107,413  | 
 | 
 
| Inventories: | 
 | 
 | 
 | 
 
| Customer service parts | 
$ | 
349,743  | 
 | 
 | 
$ | 
338,608  | 
 | 
 
| Raw materials | 
595,151  | 
 | 
 | 
478,594  | 
 | 
 
| Work-in-process | 
453,432  | 
 | 
 | 
334,965  | 
 | 
 
| Finished goods | 
177,054  | 
 | 
 | 
158,818  | 
 | 
 
 | 
$ | 
1,575,380  | 
 | 
 | 
$ | 
1,310,985  | 
 | 
 
| Other current assets: | 
 | 
 | 
 | 
 
| Contract assets | 
$ | 
91,052  | 
 | 
 | 
$ | 
99,876  | 
 | 
 
| Deferred costs of revenue | 
59,953  | 
 | 
 | 
77,219  | 
 | 
 
| Prepaid expenses | 
76,649  | 
 | 
 | 
74,955  | 
 | 
 
| Prepaid income and other taxes | 
68,847  | 
 | 
 | 
56,809  | 
 | 
 
| Other current assets | 
24,366  | 
 | 
 | 
15,816  | 
 | 
 
 | 
$ | 
320,867  | 
 | 
 | 
$ | 
324,675  | 
 | 
 
| Land, property and equipment, net: | 
 | 
 | 
 | 
 
| Land | 
$ | 
67,862  | 
 | 
 | 
$ | 
67,858  | 
 | 
 
| Buildings and leasehold improvements | 
458,605  | 
 | 
 | 
405,238  | 
 | 
 
| Machinery and equipment | 
743,710  | 
 | 
 | 
677,627  | 
 | 
 
| Office furniture and fixtures | 
32,856  | 
 | 
 | 
29,964  | 
 | 
 
| Construction-in-process | 
182,320  | 
 | 
 | 
93,736  | 
 | 
 
 | 
1,485,353  | 
 | 
 | 
1,274,423  | 
 | 
 
| Less: accumulated depreciation | 
(822,326) | 
 | 
 | 
(754,599) | 
 | 
 
 | 
$ | 
663,027  | 
 | 
 | 
$ | 
519,824  | 
 | 
 
| Other non-current assets: | 
 | 
 | 
 | 
 
| Executive Deferred Savings Plan | 
$ | 
266,199  | 
 | 
 | 
$ | 
213,487  | 
 | 
 
| Operating lease right of use assets | 
102,883  | 
 | 
 | 
100,790  | 
 | 
 
| Other non-current assets | 
75,823  | 
 | 
 | 
48,702  | 
 | 
 
 | 
$ | 
444,905  | 
 | 
 | 
$ | 
362,979  | 
 | 
 
| Other current liabilities: | 
 | 
 | 
 | 
 
| Executive Deferred Savings Plan | 
$ | 
268,028  | 
 | 
 | 
$ | 
215,167  | 
 | 
 
| Compensation and benefits | 
305,445  | 
 | 
 | 
251,379  | 
 | 
 
| Other accrued expenses | 
180,982  | 
 | 
 | 
183,435  | 
 | 
 
| Customer credits and advances | 
250,784  | 
 | 
 | 
114,896  | 
 | 
 
| Income taxes payable | 
87,320  | 
 | 
 | 
35,640  | 
 | 
 
| Interest payable | 
36,135  | 
 | 
 | 
36,265  | 
 | 
 
| Operating lease liabilities | 
32,322  | 
 | 
 | 
28,994  | 
 | 
 
 | 
$ | 
1,161,016  | 
 | 
 | 
$ | 
865,776  | 
 | 
 
| Other non-current liabilities: | 
 | 
 | 
 | 
 
| Pension liabilities | 
$ | 
87,602  | 
 | 
 | 
$ | 
78,911  | 
 | 
 
| Income taxes payable | 
333,866  | 
 | 
 | 
383,447  | 
 | 
 
| Operating lease liabilities | 
70,739  | 
 | 
 | 
70,885  | 
 | 
 
| Other non-current liabilities | 
139,083  | 
 | 
 | 
139,041  | 
 | 
 
 | 
$ | 
631,290  | 
 | 
 | 
$ | 
672,284  | 
 | 
 
  
 | 
| Schedule of Consolidated Statements of Operations | 
 Consolidated Statements of Operations 
The following table shows other expense (income), net for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
|   | 
Year Ended June 30, | 
 
| (In thousands) | 
2021 | 
 | 
2020 | 
 | 
2019 | 
 
| Other expense (income), net: | 
 | 
 | 
 | 
 | 
 | 
 
| Interest income | 
$ | 
(8,929) | 
 | 
 | 
$ | 
(21,646) | 
 | 
 | 
$ | 
(40,367) | 
 | 
 
| Foreign exchange (gains) losses, net | 
5,005  | 
 | 
 | 
4,236  | 
 | 
 | 
(322) | 
 | 
 
| Net realized losses (gains) on sale of investments | 
(253) | 
 | 
 | 
(297) | 
 | 
 | 
1,294  | 
 | 
 
| Other | 
(25,125) | 
 | 
 | 
20,385  | 
 | 
 | 
7,933  | 
 | 
 
 | 
$ | 
(29,302) | 
 | 
 | 
$ | 
2,678  | 
 | 
 | 
$ | 
(31,462) | 
 | 
 
  
 |