XML 57 R46.htm IDEA: XBRL DOCUMENT v3.6.0.2
Effect of Derivative Instruments on Statements of Income (Detail) - Cash Flow Hedging - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2016
Nov. 30, 2015
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives $ 85 $ (100)
Gain (loss) recognized in OCI on derivatives (effective portion) (6,144) (7,635)
Loss reclassified from accumulated OCI into income (effective portion) (481) (712)
Gain (loss)recognized on derivative (ineffective portion and amount excluded from effectiveness testing) (1,290) 4,592
Foreign Exchange Forward    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (effective portion) (6,456) (7,043)
Foreign Exchange Forward | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives 47 (186)
Foreign Exchange Forward | Sales    
Derivative Instruments, Gain (Loss) [Line Items]    
Loss reclassified from accumulated OCI into income (effective portion) (87) (267)
Gain (loss)recognized on derivative (ineffective portion and amount excluded from effectiveness testing) (1,258) 4,592
Foreign Exchange Forward | Cost Of Revenue    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (effective portion) (834)  
Loss reclassified from accumulated OCI into income (effective portion) (56)  
Gain (loss)recognized on derivative (ineffective portion and amount excluded from effectiveness testing) (32)  
Interest rate swap contracts    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (effective portion) 1,146 (592)
Interest rate swap contracts | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives 38 86
Loss reclassified from accumulated OCI into income (effective portion) $ (338) $ (445)