XML 95 R85.htm IDEA: XBRL DOCUMENT
v2.4.0.8

SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage (USD $) In Thousands, unless otherwise specified | 3 Months Ended | 12 Months Ended
--- | --- | ---
Jan. 31, 2014 | Oct. 31, 2013 | Jul. 31, 2013 | Apr. 30, 2013 | Jan. 31, 2013 | Oct. 31, 2012 | Jul. 31, 2012 | Apr. 30, 2012 | Jan. 31, 2014 | Jan. 31, 2013 | Jan. 31, 2012
SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net sales and revenues | $ 146,090 | [1] | $ 166,188 | [1] | $ 175,389 | [1] | $ 178,424 | [1] | $ 174,347 | [1] | $ 178,639 | [1] | $ 152,898 | [1] | $ 150,755 | [1] | $ 666,091 | $ 656,639 | $ 408,879
Gross profit | 26,279 | [1] | 18,010 | [1] | 10,870 | [1] | 8,992 | [1] | (2,558) | [1] | 3,691 | [1] | 7,006 | [1] | 5,463 | [1] | 64,151 | 13,602 | 34,831
(Loss) income from continuing operations before income taxes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 59,770 | (3,822) | 48,812
Interest income |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 136 | 124 | 367
Depreciation and amortization expense |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 17,045 | 16,210 | 11,756
Equity in income of unconsolidated affiliates |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 17,175 | 627 | 21,532
Additions to property and equipment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,768 | 2,802 | 7,342
Alternative Energy Segment [Member] | Ethanol [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sale of Product |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 75.00% | 76.00% | 82.00%
Alternative Energy Segment [Member] | Dried Distillers Grains [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sale of Product |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 19.00% | 18.00% | 17.00%
Alternative Energy Segment [Member] | Modified Distillers Grains [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sale of Product |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3.00% | 4.00% | 1.00%
Alternative Energy Segment [Member] | Other Products [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sale of Product |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3.00% | 2.00% |
Alternative Energy Segment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net sales and revenues |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 665,625 | 656,167 | 408,635
Gross profit |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 64,261 | 13,830 | 35,179
(Loss) income from continuing operations before income taxes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 63,228 | (1,027) | 48,580
Sale of Product |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% | 100.00% | 100.00%
Interest income |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 62 | 37 | 48
Depreciation and amortization expense |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 16,914 | 16,073 | 11,653
Equity in income of unconsolidated affiliates |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 17,175 | 627 | 21,532
Additions to property and equipment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,374 | 2,802 | 7,276
Real Estate Segment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net sales and revenues |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 466 | 472 | 244
Gross profit |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (110) | (228) | (348)
(Loss) income from continuing operations before income taxes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (358) | (497) | (603)
Leasing |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% | 100.00% | 100.00%
Depreciation and amortization expense |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 131 | 137 | 103
Additions to property and equipment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 66
Corporate Segment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
(Loss) income from continuing operations before income taxes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (3,100) | (2,298) | (2,048)
Interest income |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 74 | 87 | 319
Equity in income of unconsolidated affiliates |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 17,175 | 627 | 21,532
Additions to property and equipment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 394 |  |
Synthetic Fuel Investments [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SEGMENT REPORTING (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
(Loss) income from continuing operations before income taxes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 2,883
[1] | Amounts differ from those previously reported as a result of retail operations and certain real estate assets sold being reclassified as discontinued operations and other reclassifications.

X
- Definition The percentage of net lease revenue to total net revenue from the lease as of year end. + References No definition available. + Details
Name: | rex_LeaseRevenueNetPercentage
Namespace Prefix: | rex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of net product revenue to total net revenue from the sale of goods as of year end. + References No definition available. + Details
Name: | rex_SalesRevenueGoodsNetPercent
Namespace Prefix: | rex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_DepreciationAndAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1,2) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 + Details
Name: | us-gaap_GrossProfit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the income or loss from continuing operations attributable to the economic entity which may also be defined as revenue less expenses from ongoing operations, after income or loss from equity method investments, but before income taxes, extraordinary items, and noncontrolling interest. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 10 -Article 5 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 9 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=16385135&loc=d3e33749-111570 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.12) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 11 -Article 7 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 7 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.7(b)) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 + Details
Name: | us-gaap_InvestmentIncomeInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of acquisition of long-lived, physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentAdditions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 1 -Article 5 + Details
Name: | us-gaap_SalesRevenueNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration