Long-term borrowing and inventory investment