XML 86 R71.htm IDEA: XBRL DOCUMENT
v3.7.0.1

NET SALES AND REVENUE (Details) - Schedule of Sales of Consolidated Ethanol Plants - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jan. 31, 2017 | Jan. 31, 2016 | Jan. 31, 2015
Revenue from External Customer [Line Items] |  |  |
Product or Service | $ 453,799 | $ 436,488 | $ 572,230
Ethanol [Member] |  |  |
Revenue from External Customer [Line Items] |  |  |
Product or Service | 358,349 | 333,200 | 452,831
Dried Distillers Grains [Member] |  |  |
Revenue from External Customer [Line Items] |  |  |
Product or Service | 71,204 | 81,116 | 96,328
Non-Food Grade Corn Oil [Member] |  |  |
Revenue from External Customer [Line Items] |  |  |
Product or Service | 18,518 | 15,510 | 16,985
Modified Distillers Grains [Member] |  |  |
Revenue from External Customer [Line Items] |  |  |
Product or Service | 5,326 | 5,999 | 4,814
Other Product [Member] |  |  |
Revenue from External Customer [Line Items] |  |  |
Product or Service | $ 402 | $ 663 | $ 1,272

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 932 -SubTopic 235 -Section 50 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=68064819&loc=d3e62246-109447 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 980 -SubTopic 605 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=68059722&loc=SL51755165-203213 Reference 3: 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=63488584&loc=d3e20235-122688 Reference 4: 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=68064819&loc=d3e62136-109447 + Details
Name: | us-gaap_OtherAlternativeEnergySalesRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_ProductOrServiceAxis=rex_EthanolMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ProductOrServiceAxis=rex_DriedDistillersGrainsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ProductOrServiceAxis=rex_NonFoodGradeCornOilMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ProductOrServiceAxis=rex_ModifiedDistillersGrainsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ProductOrServiceAxis=rex_OtherProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |