XML 45 R52.htm IDEA: XBRL DOCUMENT
v2.4.0.8

BUSINESS COMBINATIONS (Details) (USD $) | 12 Months Ended | 24 Months Ended |
--- | --- | --- | ---
Jan. 31, 2014 | Jan. 31, 2012 | Jan. 31, 2013 | Nov. 30, 2011 gal
BUSINESS COMBINATIONS (Details) [Line Items] |  |  |  |
Annual Nameplate Capacity of Ethanol In Gallons (in US Gallons) |  |  |  | 100,000,000
Business Acquisition, Pro Forma Revenue |  | $ 684,615,000 |  |
Business Acquisition, Pro Forma Net Income (Loss) |  | 34,939,000 |  |
Payments to Acquire Businesses, Gross | 10,413,000 |  |  |
Business Combination, Step Acquisition, Equity Interest in Acquiree, Fair Value | 18,642,000 |  |  |
Equity Method Investment, Ownership Percentage |  | 48.00% |  |
Business Combination, Step Acquisition, Equity Interest in Acquiree, Remeasurement Loss |  | 5,400,000 |  |
Business Acquisition Cost of Acquired Entity Purchase Price For Additional Equity Interest |  |  | 10,400,000 |
Business Acquisition Additional Percentage of Voting Interest |  |  | 50.00% |
Business Combination, Bargain Purchase, Gain Recognized, Amount | 8,990,000 | 3,541,000 | 3,500,000 |
Market Approach Valuation Technique [Member] | NuGen [Member] |  |  |  |
BUSINESS COMBINATIONS (Details) [Line Items] |  |  |  |
Business Acquisition, Purchase Price Allocation, Property Plant And Equipment, Carrying Value |  | 83,000,000 |  |
Business Acquisition, Purchase Price Allocation, Property Plant And Equipment, Fair Value |  | 42,900,000 |  |
Income Approach Valuation Technique [Member] | NuGen [Member] |  |  |  |
BUSINESS COMBINATIONS (Details) [Line Items] |  |  |  |
Business Acquisition, Purchase Price Allocation, Property Plant And Equipment, Carrying Value |  | 74,200,000 |  |
Business Acquisition, Purchase Price Allocation, Property Plant And Equipment, Fair Value |  | 35,600,000 |  |
Fair Value Inputs, Discount Rate |  | 23.00% |  |
NuGen [Member] |  |  |  |
BUSINESS COMBINATIONS (Details) [Line Items] |  |  |  |
Business Combination, Step Acquisition, Equity Interest in Acquiree, Percentage |  |  |  | 50.00%
Noncontrolling Interest, Ownership Percentage by Parent |  |  |  | 98.00%
Business Acquisition, Pro Forma Revenue |  | 84,100,000 |  |
Business Acquisition, Pro Forma Net Income (Loss) |  | 4,000,000 |  |
Payments to Acquire Businesses, Gross |  | 10,400,000 |  |
Business Combination, Step Acquisition, Equity Interest in Acquiree, Fair Value |  | 18,600,000 |  |
Equity Method Investment, Ownership Percentage |  | 48.00% |  |
Business Combination Step Acquisition Equity Interest In Acquiree Carrying Value |  | 24,000,000 |  |
Business Acquisition, Purchase Price Allocation, Property Plant And Equipment, Carrying Value |  | 78,600,000 |  |
Business Acquisition, Purchase Price Allocation, Property Plant And Equipment, Fair Value |  | 39,000,000 |  |
Business Combination, Bargain Purchase, Gain Recognized, Amount |  |  | $ 8,900,000 |

X
- Definition Annual nameplate capacity of ethanol in gallons. + References No definition available. + Details
Name: | rex_AnnualNameplateCapacityOfEthanolInGallons
Namespace Prefix: | rex_
Data Type: | num:volumeItemType
Balance Type: | na
Period Type: | instant

X
- Definition Business acquisition additional percentage of voting interest. + References No definition available. + Details
Name: | rex_BusinessAcquisitionAdditionalPercentageOfVotingInterest
Namespace Prefix: | rex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Business acquisition cost of acquired entity purchase price for additional equity interest. + References No definition available. + Details
Name: | rex_BusinessAcquisitionCostOfAcquiredEntityPurchasePriceForAdditionalEquityInterest
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition No authoritative reference available. + References No definition available. + Details
Name: | rex_BusinessAcquisitionPurchasePriceAllocationPropertyPlantAndEquipmentCarryingValue
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition No authoritative reference available. + References No definition available. + Details
Name: | rex_BusinessAcquisitionPurchasePriceAllocationPropertyPlantAndEquipmentFairValue
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | rex_BUSINESSCOMBINATIONSDetailsLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Business combination step acquisition equity interest in acquiree carrying value. + References No definition available. + Details
Name: | rex_BusinessCombinationStepAcquisitionEquityInterestInAcquireeCarryingValue
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2)-(3) -URI http://asc.fasb.org/extlink&oid=25497992&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2)-(3) -URI http://asc.fasb.org/extlink&oid=25497992&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition In a business combination in which the amount of net identifiable assets acquired and liabilities assumed exceeds the aggregate consideration transferred or to be transferred (as defined), this element represents the amount of gain recognized by the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (f)(1) -URI http://asc.fasb.org/extlink&oid=7488404&loc=d3e6927-128479 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6571-128477 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6527-128477 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6396-128476 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6387-128476 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6393-128476 + Details
Name: | us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value at acquisition-date of the equity interest in the acquiree held by the acquirer, immediately before the acquisition date for businesses combined in stages. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (g)(1) -URI http://asc.fasb.org/extlink&oid=25497992&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of equity in the acquiree held by the acquirer immediately before the acquisition date in a business combination. + References No definition available. + Details
Name: | us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition In a business combination achieved in stages, this element represents the amount of loss recognized by the entity as a result of remeasuring to fair value the equity interest in the acquiree it held before the business combination. + References No definition available. + Details
Name: | us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Interest rate used to find the present value of an amount to be paid or received in the future as an input to measure fair value. For example, but not limited to, weighted average cost of capital (WACC), cost of capital, cost of equity and cost of debt. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb) -URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueInputsDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByParent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration