SUPPLEMENTAL CONDENSED CONSOLIDATED FINANCIAL STATEMENT INFORMATION SUPPLEMENTAL CONDENSED CONSOLIDATED FINANCIAL STATEMENT INFORMATION - CASH FLOW INFORMATION (Details) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Supplemental Cash Flow Elements [Abstract]    
Cash paid for interest $ 2,647 $ 3,962
Cash payments of income taxes, net 4,999 9,355
Accrued but unpaid purchases of property and equipment 3,397 2,956
Inventory transfers to property and equipment 603 225
Liabilities for contingent consideration in business combinations, including measurement period adjustments $ 69 $ 1,900