XML 38 R61.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Derivative Instruments - Effect of Derivative Instruments on Statements of Income (Detail) - Cash Flow Hedging - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2019
Nov. 30, 2018
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives $ 2,698 $ (3,196)
Gain (loss) reclassified accumulated OCI income (408) (632)
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) 422 604
Foreign Exchange Forward | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives 71 380
Foreign Exchange Forward | Sales    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives 573 72
Gain (loss) reclassified accumulated OCI income (166) (256)
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) 453 262
Foreign Exchange Forward | Cost Of Revenue    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (594) (1,495)
Gain (loss) reclassified accumulated OCI income (75) (232)
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) 134 389
Interest rate swap contracts | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives 2,719 (1,773)
Gain (loss) reclassified accumulated OCI income (167) (144)
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) $ (165) $ (47)