XML 53 R42.htm IDEA: XBRL DOCUMENT
v3.22.1

INVESTMENTS (Details) $ in Thousands, gal in Millions | 12 Months Ended
--- | ---
Jan. 31, 2022 USD ($) gal | Jan. 31, 2021 USD ($) | Jan. 31, 2020 USD ($)
INVESTMENTS (Details) [Line Items] |  |  |
Income (Loss) from Equity Method Investments | $ 6,624 | $ 500 | $ 1,392
Proceeds from Equity Method Investment, Distribution | 5,514 | 3,508 | 1,003
Equity Method Investments | 30,566 | 29,456 |
Short-Term Investments | 25,877 | 36,194 |
Certificates of Deposit [Member] |  |  |
INVESTMENTS (Details) [Line Items] |  |  |
Short-Term Investments | $ 25,900 | $ 36,200 |
Debt Securities, Held-to-Maturity, Weighted Average Yield, Maturity, Year One | 0.10% | 0.20% |
Big River [Member] |  |  |
INVESTMENTS (Details) [Line Items] |  |  |
Payments to Acquire Equity Method Investments | $ 20,000 |  |
Quantity of ethanol shipped (in US Gallons) | gal | 421.0 |  |
Income (Loss) from Equity Method Investments | $ 6,600 | $ 500 | 1,400
Proceeds from Equity Method Investment, Distribution | 5,500 | $ 3,500 | $ 1,000
Equity Method Investments | 30,600 |  |
Equity Method Investment, Underlying Equity in Net Assets | 29,800 |  |
Other Restricted Assets | 116,200 |  |
Proportionate Share of Restricted Net Assets | $ 12,000 |  |

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 https://asc.fasb.org/extlink&oid=126954810&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 https://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 https://asc.fasb.org/extlink&oid=126953954&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 https://asc.fasb.org/extlink&oid=126954810&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 https://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 https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(10)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 25 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599 + 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 https://asc.fasb.org/extlink&oid=126953954&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 https://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 https://asc.fasb.org/extlink&oid=126954810&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 https://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 https://asc.fasb.org/extlink&oid=126901519&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 https://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 https://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(17)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=127002003&loc=SL6242269-115581 + 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 https://asc.fasb.org/extlink&oid=126954810&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 https://asc.fasb.org/extlink&oid=126897435&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 https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(8)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: 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 https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + 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: |