XML 49 R36.htm IDEA: XBRL DOCUMENT v3.19.1
Contract Receivables, net (Tables)
12 Months Ended
Jul. 31, 2018
Contract Receivables, net [Abstract]  
Contract Receivables, Net
Contract receivables, net are summarized in the following table.

  
July 31,
 
  
2018
  
2017
(Restated)
 
  
(in thousands)
 
Contract receivables:
      
Billed
 
$
12,905
  
$
15,003
 
Unbilled
  
13,994
   
17,990
 
   
26,899
   
32,993
 
Allowance for doubtful accounts
  
(1,284
)
  
(2,044
)
Contract receivables, net
 
$
25,615
  
$
30,949
 
Contract Receivable and Allowance for Doubtful Accounts by Geographical Areas
Significant concentrations of contract receivables and the allowance for doubtful accounts are summarized in the following table.

  
July 31, 2018
  
July 31, 2017
 
Region
 
Contract
Receivables
  
Allowance for
Doubtful
Accounts
  
Contract
Receivables
(Restated)
  
Allowance for
Doubtful
Accounts
(Restated)
 
  
(in thousands)
 
             
U.S. operations
 
$
21,580
  
$
569
  
$
25,472
  
$
797
 
South American operations
  
5,319
   
715
   
7,521
   
1,247
 
Totals
 
$
26,899
  
$
1,284
  
$
32,993
  
$
2,044
 
Allowance for Doubtful Accounts
Activity within the allowance for doubtful accounts is summarized in the following table.

  
Fiscal Year Ended July 31,
 
  
2018
  
2017
(Restated)
  
2016
(Restated)
 
  
(in thousands)
 
          
Balance at beginning of period
 
$
2,044
  
$
6,792
  
$
6,817
 
Provision for doubtful accounts during the period
  
813
   
682
   
1,164
 
Write-offs and recoveries of allowance recorded in prior periods
  
(943
)
  
(5,430
)
  
(1,189
)
Reclassification of allowance from current to noncurrent
  
(630
)
  
---
   
---
 
Balance at end of period
 
$
1,284
  
$
2,044
  
$
6,792