XML 38 R29.htm IDEA: XBRL DOCUMENT
v3.21.2

Investments (Tables) | 6 Months Ended
--- | ---
Jul. 31, 2021
Disclosure Text Block Supplement [Abstract] |
Equity Method Investments [Table Text Block] | The following table summarizes the Company’s equity method investment at July 31, 2021 and January 31, 2021 (dollars in thousands):
|  |  |  |  | Carrying Amount |
Entity |  | Ownership Percentage |  |  | July 31, 2021 |  |  | January 31, 2021 |
Big River |  | 10.3% |  |  | $ | 31,870 |  |  | $ | 29,456 |
Schedule of Financial Information for Equity Method Investments [Table Text Block] | Summarized financial information for the Company’s equity method investee is presented in the following table for the periods presented (amounts in thousands):
|  | Three Months Ended July 31, |  |  | Six Months Ended July 31, |
|  | 2021 |  |  | 2020 |  |  | 2021 |  |  | 2020 |
Net sales and revenue |  | $ | 363,383 |  |  | $ | 130,126 |  |  | $ | 619,799 |  |  | $ | 327,758 |
Gross profit (loss) |  | $ | 19,357 |  |  | $ | 3,565 |  |  | $ | 20,901 |  |  | $ | (2,378) |
Income (loss) from continuing operations |  | $ | 17,877 |  |  | $ | (4,914) |  |  | $ | 23,412 |  |  | $ | (9,540) |
Net income (loss) |  | $ | 17,877 |  |  | $ | (4,914) |  |  | $ | 23,412 |  |  | $ | (9,540) |

X
- Definition Tabular disclosure of financial information for equity method investments. + References No definition available. + Details
Name: | rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock
Namespace Prefix: | rex_
Data Type: | dtr:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information. + 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 -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentsTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration