XML 36 R25.htm IDEA: XBRL DOCUMENT v3.20.4
Derivative Instruments (Tables)
6 Months Ended
Jan. 31, 2021
Derivative Instruments and Hedging Activities Disclosure [Abstract]  
Schedule of outstanding foreign exchange contracts
Settlement Date  U.S. Dollar Amount   NOK Amount 
Feb-21   200,000    1,818,509 
Mar-21   200,000    1,693,583 
Apr-21   200,000    1,693,903 
May-21   200,000    1,694,083 
Total  $800,000    6,900,078 
Settlement Date  U.S. Dollar Amount   EUR Amount 
Feb-21   175,000    149,009 
Mar-21   200,000    163,480 
Apr-21   200,000    163,360 
May-21   200,000    163,253 
   $775,000    639,102 
Schedule of fair value of derivative assets and liabilities
      January 31,
2021
   July 31,
2020
 
Assets and Liabilities Derivatives:  Balance Sheet Location  (in thousands) 
Derivatives not designated or not qualifying as hedging instruments        
Foreign exchange forward contracts  Other current assets  $        8   $ 10 
Schedule of derivative instruments on consolidated statements of comprehensive loss
      Amount of Gain (Loss) Recognized on Derivatives 
     Three Months Ended
January 31,
   Six Months Ended
January 31,
 
Amount of Gain (Loss) Recognized on Derivatives  (in thousands)   (in thousands) 
Derivatives not designated or not qualifying as hedging instruments  Location of Gain (Loss) Recognized on Derivatives  2021   2020   2021   2020 
Foreign exchange forward contracts  Net gain (loss) resulting from foreign exchange transactions  $92   $20    51   $(54)