XML 17 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2019
Jan. 31, 2018
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net loss $ 6,245 $ (54,469)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 19,442 16,315
Amortization of debt discount and issuance costs 6,013 0
Stock-based compensation 47,686 44,655
Charges to bad debt and revenue reserves 352 0
Deferred tax assets (7,340) 24,287
Amortization of premium on available-for-sale securities (3,816) 361
Other non-cash items affecting net income (loss) 515  
Changes in operating assets and liabilities:    
Accounts receivable 4,414 (16,345)
Unbilled accounts receivable (30,190) 0
Prepaid expenses and other assets (66) (3,139)
Accounts payable (14,475) 4,834
Accrued employee compensation (15,262) (17,547)
Deferred revenues (27,650) 16,690
Other liabilities 1,111 804
Net cash used in operating activities (13,021) 16,446
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchases of available-for-sale securities (462,902) (110,820)
Sales of available-for-sale securities 410,583 170,316
Purchase of property and equipment (11,006) (4,620)
Capitalized software development costs (1,103) (769)
Net cash used in investing activities (64,428) (76,269)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from issuance of common stock upon exercise of stock options 1,103 727
Net cash provided by financing activities 1,103 727
Effect of foreign exchange rate changes on cash and cash equivalents (625) 1,207
NET CHANGE IN CASH AND CASH EQUIVALENTS (76,971) (57,889)
CASH AND CASH EQUIVALENTS—Beginning of period 437,140 263,176
CASH AND CASH EQUIVALENTS—End of period 360,169 205,287
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:    
Cash paid for income taxes 2,540 1,677
Accruals for purchase of property and equipment 3,609 1,497
Accruals for capitalized software costs $ 75 $ 40