XML 17 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Cash flows from operating activities:    
Net income $ 39,377 $ 53,052
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 87,329 49,548
Write-off and amortization of debt discount and debt issuance costs 2,505 2,141
Provision for losses on accounts and notes receivable 240 133
Provision for obsolescence of inventory 416 113
Effects of fair value adjustments to inventory 4,129 276
Increase in fair value of contingent consideration 535 195
Equity-based compensation 4,706 4,375
Gain on sale and disposal of assets (412) (648)
Change in fair value of financial instruments 6,395 710
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable 23,243 14,545
Inventories (11,576) (23,893)
Prepaid expenses and other assets (968) (8,756)
Accounts payable (17,856) (5,723)
Accrued compensation and employee benefits (3,824) (7,140)
Derivative liability (10,778)  
Other accrued expenses and liabilities 446 312
Deferred income taxes (18,470) (12,860)
Cash provided by operating activities 105,437 66,380
Cash flows from investing activities:    
Purchases of property and equipment (13,385) (13,408)
Proceeds from sale of assets 910 2,374
Acquisition of businesses, net of cash acquired (579,731) (23,568)
Cash used in investing activities (592,206) (34,602)
Cash flows from financing activities:    
Repayments on the revolving credit facility (748,999) (597,092)
Borrowings from the revolving credit facility 886,896 493,739
Payments of principal on long-term debt (7,476) (4,332)
Payments of principal on capital lease obligations (13,923) (4,530)
Borrowings from term loan 996,840 577,616
Repayments of term loan (571,840) (477,616)
Repurchases of common stock (11,514)  
Debt issuance costs (7,933) (3,283)
Proceeds from exercises of stock options 1,280 130
Other financing activities 1,355 (2,032)
Cash provided by (used in) financing activities 524,686 (17,400)
Effect of exchange rates on cash and cash equivalents (7)  
Increase in cash and cash equivalents 37,910 14,378
Cash and cash equivalents, beginning of period 36,437 14,561
Cash and cash equivalents, end of period 74,347 28,939
Supplemental cash flow disclosures:    
Cash paid for income taxes 16,121 35,005
Cash paid for interest 45,724 21,192
Supplemental schedule of noncash activities:    
Assets acquired under capital lease 102,053 7,953
Issuance of installment notes associated with equity-based compensation liability awards $ 5,356 $ 11,898