XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.21.1

INVESTMENTS (Details) $ in Thousands, gal in Millions | 12 Months Ended
--- | ---
Jan. 31, 2021 USD ($) gal | Jan. 31, 2020 USD ($) | Jan. 31, 2019 USD ($)
INVESTMENTS (Details) [Line Items] |  |  |
Income (Loss) from Equity Method Investments | $ 500 | $ 1,392 | $ 1,536
Proceeds from Equity Method Investment, Distribution | 3,508 | 1,003 | 4,010
Equity Method Investments | 29,456 | 32,464 |
Short-term Investments | 36,194 | 26,073 |
Certificates of Deposit [Member] |  |  |
INVESTMENTS (Details) [Line Items] |  |  |
Short-term Investments | $ 36,200 | $ 26,100 |
Debt Securities, Held-to-Maturity, Weighted Average Yield, Maturity, Year One | 0.20% | 1.80% |
Big River [Member] |  |  |
INVESTMENTS (Details) [Line Items] |  |  |
Payments to Acquire Equity Method Investments | $ 20,000 |  |
Quantity of ethanol shipped (in US Gallons) | gal | 387.7 |  |
Income (Loss) from Equity Method Investments | $ 500 | $ 1,400 | 1,500
Proceeds from Equity Method Investment, Distribution | 3,500 | $ 1,000 | $ 4,000
Equity Method Investments | 29,500 |  |
Equity Method Investment, Underlying Equity in Net Assets | 25,600 |  |
Other Restricted Assets | 150,000 |  |
Proportionate Share of Restricted Net Assets | $ 15,500 |  |

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: | dtr: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 current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1403 -Paragraph (a) -Subparagraph (1) Reference 2: 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: | dtr-types: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=123570139&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=120400993&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=123367319&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=123570139&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=123359005&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=120391452&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 income (loss) for proportionate share of equity method investee's income (loss). + 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=123367319&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=120400993&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=123570139&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=120399700&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=123359005&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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=120413209&loc=SL6242269-115581 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.17) -URI http://asc.fasb.org/extlink&oid=120391452&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=123570139&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(4)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(5)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(g)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: 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(2)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ShortTermInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_CertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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