XML 72 R59.htm IDEA: XBRL DOCUMENT v3.10.0.1
Derivative Instruments - Effect of Derivative Instruments on Statements of Income (Detail) - Cash Flow Hedging - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2018
Nov. 30, 2017
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives $ 380 $ 363
Gain (loss) recognized in OCI on derivatives (effective portion) (3,196) 1,147
Gain (loss) reclassified accumulated OCI income (effective portion) (632) 344
Gain (loss) recognized on derivative (ineffective portion and amount excluded from effectiveness testing) 604 138
Foreign Exchange Forward    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (effective portion) 72 730
Foreign Exchange Forward | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives 380 380
Foreign Exchange Forward | Sales    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) reclassified accumulated OCI income (effective portion) 256 710
Gain (loss) recognized on derivative (ineffective portion and amount excluded from effectiveness testing) 262 56
Foreign Exchange Forward | Cost Of Revenue    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (effective portion) (1,495) (354)
Gain (loss) reclassified accumulated OCI income (effective portion) (232) (199)
Gain (loss) recognized on derivative (ineffective portion and amount excluded from effectiveness testing) 389 82
Interest rate swap contracts    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (effective portion) (1,773) 771
Interest rate swap contracts | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives   (17)
Gain (loss) reclassified accumulated OCI income (effective portion) (144) $ (167)
Gain (loss) recognized on derivative (ineffective portion and amount excluded from effectiveness testing) $ (47)