XML 48 R65.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 | 6 Months Ended
--- | --- | ---
Jul. 31, 2014 | Jul. 31, 2013 | Jul. 31, 2014 | Jul. 31, 2013
Segment Reporting (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |
Net sales and revenues | $ 150,231 | $ 175,389 | $ 306,167 | $ 353,813
Segment gross profit (loss) | 38,818 | 10,878 | 75,443 | 19,876
Segment profit (loss) | 40,720 | 10,318 | 78,827 | 16,164
Alternative Energy Segment [Member] |  |  |  |
Segment Reporting (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |
Net sales and revenues | 150,133 | 175,290 | 305,960 | 353,614
Segment gross profit (loss) | 38,820 | 10,890 | 75,434 | 19,916
Segment profit (loss) | 41,509 | 11,114 | 80,385 | 17,740
Real Estate Segment [Member] |  |  |  |
Segment Reporting (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |
Net sales and revenues | 98 | 99 | 207 | 199
Segment gross profit (loss) | (2) | (12) | 9 | (40)
Segment profit (loss) | (28) | (74) | (44) | (163)
Corporate Segment [Member] |  |  |  |
Segment Reporting (Details) - Schedule of Segment Reporting Information, Profit Loss And Revenue Percentage [Line Items] |  |  |  |
Segment profit (loss) | $ (761) | $ (722) | $ (1,514) | $ (1,413)

X
- Details
Name: | rex_SegmentReportingDetailsScheduleofSegmentReportingInformationProfitLossAndRevenuePercentageLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 Revenue earned during the period from alternative energy sources (for example, ethanol, biomass, solar, geothermal, and wind power). + 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 FASB -Name Accounting Standards Codification -Topic 932 -SubTopic 235 -Section 50 -Paragraph 23 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=8451039&loc=d3e62136-109447 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 932 -SubTopic 235 -Section 50 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=8451039&loc=d3e62246-109447 + Details
Name: | us-gaap_OtherAlternativeEnergySalesRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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