XML 56 R44.htm IDEA: XBRL DOCUMENT
v3.19.1

INVESTMENTS (Details) $ in Thousands, gal in Millions | 12 Months Ended
--- | ---
Jan. 31, 2019 USD ($) gal | Jan. 31, 2018 USD ($) | Jan. 31, 2017 USD ($)
INVESTMENTS (Details) [Line Items] |  |  |
Income (Loss) from Equity Method Investments | $ 1,536 | $ 3,232 | $ 6,144
Proceeds from Equity Method Investment, Distribution | 4,010 | 6,516 | 7,018
Equity Method Investments | $ 32,075 | 34,549 |
Debt Securities, Held-to-maturity, Maturity, within One Year, Weighted Average Yield | 2.29% |  |
Debt Securities, Held-to-maturity |  | 0 |
Big River [Member] |  |  |
INVESTMENTS (Details) [Line Items] |  |  |
Payments to Acquire Equity Method Investments | $ 20,000 |  |
Quantity of ethanol shipped (in US Gallons) | gal | 428.6 |  |
Income (Loss) from Equity Method Investments | $ 1,500 | 3,200 | 6,100
Proceeds from Equity Method Investment, Distribution | 4,000 | $ 6,500 | $ 7,000
Equity Method Investments | 32,100 |  |
Equity Method Investment, Underlying Equity in Net Assets | 28,300 |  |
Other Restricted Assets | 185,100 |  |
Proportionate Share of Restricted Net Assets | $ 19,100 |  |

X
- References No definition available. + Details
Name: | rex_INVESTMENTSDetailsLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proportionate share of restricted net assets as of the reporting date. + References No definition available. + Details
Name: | rex_ProportionateShareOfRestrictedNetAssets
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Quantity of ethanol shipped. + References No definition available. + Details
Name: | rex_QuantityOfEthanolShipped
Namespace Prefix: | rex_
Data Type: | num:volumeItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average yield of investment in debt security measured at amortized cost (held-to-maturity), maturing in next fiscal year following latest fiscal year. Excludes interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher SEC -Name Industry Guide -Number 3 -Section II -Paragraph B + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -URI http://asc.fasb.org/extlink&oid=114873790&loc=SL114874131-224263 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(12)) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 21D -URI http://asc.fasb.org/extlink&oid=109223946&loc=SL94080555-108585 + Details
Name: | us-gaap_EquityMethodInvestmentDividendsOrDistributions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This item represents the entity's ownership percentage in the investee multiplied by the investee's total equity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 25 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8813-108599 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_EquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109979856&loc=d3e26610-111562 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27232-111563 + Details
Name: | us-gaap_HeldToMaturitySecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(12)) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -URI http://asc.fasb.org/extlink&oid=114873790&loc=SL114874131-224263 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)(f)) -URI http://asc.fasb.org/extlink&oid=114873765&loc=SL114874048-224260 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total assets that cannot be used for operating purposes because of contract or regulatory requirements that are in effect for a period that extends beyond one year. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_OtherRestrictedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |