XML 47 R36.htm IDEA: XBRL DOCUMENT
v3.22.1

DISCONTINUED OPERATIONS (Tables) | 12 Months Ended
--- | ---
Jan. 31, 2022
DISCONTINUED OPERATIONS (Tables) [Line Items] |
Disposal Groups, Including Discontinued Operations [Table Text Block] | Below is a table reflecting certain items of the Consolidated Condensed Statement of Operations that were reclassified as discontinued operations for fiscal years 2021, 2020 and 2019 (amounts in thousands):
|  | 2021 |  |  | 2020 |  |  | 2019 |
Net sales and revenue1 |  | $ | 400 |  |  | $ | 182 |  |  | $ | 334 |
Cost of Sales |  |  | 8,602 |  |  |  | 5,854 |  |  |  | 8,251 |
Gross loss |  |  | (8,202 | ) |  |  | (5,672 | ) |  |  | (7,917 | )
Selling, general and administrative |  |  | 698 |  |  |  | 22 |  |  |  | (274 | )
Loss before income taxes |  |  | (8,900 | ) |  |  | (5,694 | ) |  |  | (7,643 | )
Benefit for income taxes |  |  | 13,295 |  |  |  | 6,554 |  |  |  | 10,828 |
Net income from discontinued operations, net of tax |  |  | 4,395 |  |  |  | 860 |  |  |  | 3,185 |
Net loss attributable to noncontrolling interests2 |  |  | 397 |  |  |  | 261 |  |  |  | 340 |
Net income attributable to REX common shareholders |  | $ | 4,792 |  |  | $ | 1,121 |  |  | $ | 3,525 |
1 Refined coal sales were recorded net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold. 2 Net loss attributable to noncontrolling interest represents the minority investor’s share of the loss before income taxes as noncontrolling interests does not include any gain from the refined coal tax credits.
Discontinued Items Assets [Member] |
DISCONTINUED OPERATIONS (Tables) [Line Items] |
Disposal Groups, Including Discontinued Operations [Table Text Block] | Below is a table reflecting certain items of the Consolidated Condensed Balance Sheets that were reclassified as discontinued operations as of January 31, 2021 (amounts in thousands):
|  | January 31, 2021 |
Assets: |  |  |  |
Current assets: |  |  |  |
Prepaid expenses and other |  | $ | 34 |
Inventory |  |  | 454 |
Total current assets |  |  | 488 |
Property and equipment, net |  |  | 2,325 |
Total Assets |  |  | 2,813 |
Liabilities: |  |  |  |
Current liabilities: |  |  |  |
Accounts payable, trade |  |  | 334 |
Accrued expenses and other current liabilities |  |  | 201 |
Total current liabilities |  |  | 535 |
Total liabilities |  |  | 535 |
Net assets included in discontinued operations |  | $ | 2,278 |

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

X
- Definition Tabular disclosure of information related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3A -URI https://asc.fasb.org/extlink&oid=109226691&loc=SL51724579-110230 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109222650&loc=d3e1474-107760 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5D -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721677-107760 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 3A -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721659-107760 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 4B -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721665-107760 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760 Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 10: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760 Reference 11: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5A -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721671-107760 Reference 12: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 Reference 13: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 4A -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721663-107760 + Details
Name: | us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=rex_DiscontinuedItemsAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |