XML 29 R18.htm IDEA: XBRL DOCUMENT v3.7.0.1
Derivative Instruments (Tables)
9 Months Ended
Apr. 30, 2017
Derivative Instruments [Abstract]  
Schedule of derivative instruments outstanding contracts
Settlement Date U.S. Dollar Amount  NOK Amount 
May 2017  500,000   4,132,484 
June 2017*  500,000   4,179,494 
July 2017*  500,000   4,179,038 

 

* Entered into pursuant to the Foreign Exchange Agreement with Western Alliance Bank.

Schedule of derivative assets fair value

 

Asset Derivatives Balance Sheet Location April 30,
2017
  July 31,
2016
 
    (in thousands) 
Derivatives not designated or not qualifying as hedging instruments:        
Foreign exchange forward contracts Other current assets $  $21
Schedule of derivative liability fair value

 

Liability Derivatives Balance Sheet Location April 30,
2017
  July 31,
2016
 
    (in thousands) 
Derivatives not designated or not qualifying as hedging instruments:        
Foreign exchange forward contracts Accrued expenses $44  $15
Schedule of derivative instruments on consolidated statements of comprehensive (loss) income
  Amount of Gain (Loss) Recognized on Derivatives 
  

Three Months Ended
April 30,

  

Nine Months Ended
April 30,

 
Derivatives not designated or not qualifying as hedging instruments Location of Gain (Loss) Recognized on Derivatives 2017  2016  2017  2016 
    (in thousands) 
Foreign exchange forward contracts Net (loss) gain resulting from foreign exchange transactions $(92) $156  $(68) $(68)