XML 24 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2018
Jan. 31, 2017
Cash flows from operating activities:    
Net income (loss) $ 59,852 $ (11,449)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation 5,656 4,090
Amortization of intangible assets 4,107  
Amortization of deferred financing costs 392 281
Accretion of debt discount 2,117 1,940
Share-based compensation 7,397 381
Non-cash (gains) losses, net (12,398) (531)
Gains on investments in affiliates (401) (896)
Changes in operating assets and liabilities, net of business acquired:    
Accounts receivable, net 20,388 5,169
Inventories, net 17,659 2,349
Prepaid expenses and other current assets (1,535) 1,330
Accounts payable, accrued restructuring and accrued expenses (15,422) (19,358)
Refundable and accrued income taxes, net 3,767 (372)
Deferred tax assets and liabilities (79,918)  
Other assets and liabilities (6,279) (35)
Net cash provided by (used in) operating activities 5,382 (17,101)
Cash flows from investing activities:    
Payments to acquire business (469,221)  
Additions to property and equipment (9,303) (3,301)
Proceeds from the disposition of property and equipment 20,589  
Proceeds from the sale of Trading Securities 13,775 5,832
Proceeds from investments in affiliates 401 896
Net cash provided by (used in) investing activities (443,759) 3,427
Cash flows from financing activities:    
Proceeds from long-term debt 393,000  
Proceeds from issuance of preferred stock 35,000  
Proceeds from revolving line of credit 6,000  
Payment of deferred financing costs (1,334)  
Purchase of the Company's Convertible Notes   (1,763)
Repayments on capital lease obligations (77) (126)
Proceeds from issuance of common stock 3 12
Net cash provided by (used in) financing activities 432,592 (1,877)
Net effect of exchange rate changes on cash and cash equivalents 1,548 (905)
Net decrease in cash and cash equivalents (4,237) (16,456)
Cash and cash equivalents at beginning of period 110,670 130,790
Cash and cash equivalents at end of period $ 106,433 $ 114,334