XML 33 R22.htm IDEA: XBRL DOCUMENT v3.19.2
Derivative Instruments (Tables)
9 Months Ended
Apr. 30, 2019
Derivative Instruments and Hedging Activities Disclosure [Abstract]  
Schedule of outstanding foreign exchange contracts
Settlement Date  U.S. Dollar Amount   NOK Amount 
May-19  $500,000    4,107,440 
Jun-19   500,000    4,102,240 
Jul-19   500,000    4,097,140 
Aug-19   500,000    4,091,590 
Total  $2,000,000    16,398,410 
Schedule of fair value of outstanding derivative instruments
Derivatives Instruments  Balance Sheet Location  April 30,
2019
   July 31,
2018
 
      (in thousands) 
Derivatives not designated or not qualifying as hedging instruments:           
Foreign exchange forward contracts  Accrued expenses  $96   $41 
Schedule of derivative instruments on consolidated statements of comprehensive loss
   Amount of Loss Recognized on Derivatives 
Derivatives not designated or   Statement of  Three Months Ended   Nine Months Ended 
not qualifying as hedging   Comprehensive Loss  April 30,   April 30, 
instruments  Location  2019   2018   2019   2018 
      (in thousands)   (in thousands) 
Foreign exchange forward contracts  Net loss resulting from foreign exchange transactions  $80   $-   $254   $1