XML 57 R82.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Fair Value Measurements (Fair Value Measurements on a Recurring Basis) (Details) - Fair Value, Recurring - USD ($)
$ in Thousands
Nov. 30, 2019
Aug. 31, 2019
Level 1    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash equivalents $ 47,257 $ 27,804
Short-term investments 16,350 14,088
Level 2 | Prepaid expenses and other current assets | Designated as Hedging Instruments | Foreign exchange contracts    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Forward foreign exchange contracts 1,623 904
Level 2 | Prepaid expenses and other current assets | Not Designated as Hedging Instruments | Foreign exchange contracts    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Forward foreign exchange contracts 14,240 6,878
Level 2 | Accrued expenses | Designated as Hedging Instruments | Foreign exchange contracts    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Liabilities 3,357 15,999
Level 2 | Accrued expenses | Designated as Hedging Instruments | Interest rate swaps    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Liabilities 4,319 5,918
Level 2 | Accrued expenses | Not Designated as Hedging Instruments | Foreign exchange contracts    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Liabilities 13,154 55,391
Level 2 | Other liabilities | Designated as Hedging Instruments | Forward interest rate swaps    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Liabilities 28,784 35,045
Level 3    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Senior Non-Convertible Preferred Stock $ 25,200 $ 33,102