Higher commodity prices lifted revenue and cash flow to record levels.