XML 43 R31.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Derivative Financial Instruments and Hedging Activities (Tables) | 9 Months Ended
--- | ---
May 31, 2018
Derivative Instruments and Hedging Activities Disclosure [Abstract] |
Fair value of assets and liabilities related to foreign forward exchange contracts measured on recurring basis | The following table presents the Company’s assets and liabilities related to forward foreign exchange contracts measured at fair value on a recurring basis as of May 31, 2018, aggregated by the level in the fair-value hierarchy in which those measurements are classified (in thousands):
| Level 1 |  | Level 2 |  | Level 3 |  | Total
Assets: |  |  |  |  |  |  |
Forward foreign exchange contracts | $ | — |  |  | 13,662 |  |  | — |  |  | $ | 13,662 |
Liabilities: |  |  |  |  |  |  |
Forward foreign exchange contracts | — |  |  | (31,847 | ) |  | — |  |  | (31,847 | )
Total | $ | — |  |  | (18,185 | ) |  | — |  |  | $ | (18,185 | )
Fair value of derivative instruments located on consolidated balance sheets | The following table presents the fair values of the Company’s derivative instruments recorded in the Condensed Consolidated Balance Sheets as of May 31, 2018 and August 31, 2017 (in thousands):
| Fair Values of Derivative Instruments
| Asset Derivatives |  | Liability Derivatives
| Balance Sheet Location |  | Fair Value as of May 31, 2018 |  | Fair Value as of August 31, 2017 |  | Balance Sheet Location |  | Fair Value as of May 31, 2018 |  | Fair Value as of August 31, 2017
Derivatives designated as hedging instruments: |  |  |  |  |  |  |  |  |  |  |
Forward foreign exchange contracts | Prepaid expenses and other current assets |  | $ | 7,022 |  |  | $ | 8,380 |  |  | Accrued expenses |  | $ | 9,607 |  |  | $ | 1,408 |
Derivatives not designated as hedging instruments: |  |  |  |  |  |  |  |  |  |  |
Forward foreign exchange contracts | Prepaid expenses and other current assets |  | $ | 6,640 |  |  | $ | 31,280 |  |  | Accrued expenses |  | $ | 22,240 |  |  | $ | 9,131 |

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

X
- Definition Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -URI http://asc.fasb.org/extlink&oid=84234895&loc=SL5624163-113959 + Details
Name: | us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19190-110258 + Details
Name: | us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration