XML 63 R54.htm IDEA: XBRL DOCUMENT
v3.21.2

Discontinued Operations (Details) - Schedule Of Discontinued Items Balance Sheet - USD ($) $ in Thousands | Oct. 31, 2021 | Jan. 31, 2021
--- | --- | ---
Current assets: |  |
Prepaid expenses and other | $ 146 | $ 34
Inventory | 246 | 454
Assets | 392 | 488
Property and equipment, net | 233 | 2,325
Total Assets | 625 | 2,813
Current liabilities: |  |
Accounts payable, trade | 253 | 334
Accrued expenses and other current liabilities | 29 | 201
Total current liabilities | 282 | 535
Total liabilities | 282 | 535
Net assets included in discontinued operations | $ 343 | $ 2,278

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

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

X
- References No definition available. + Details
Name: | rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount classified as assets attributable to disposal group held for sale or disposed of. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-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 http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760 + Details
Name: | us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as assets attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=123351718&loc=d3e2473-110228 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 + Details
Name: | us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as accounts payable attributable to disposal group held for sale or disposed of. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 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 http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount classified as accrued liabilities attributable to disposal group held for sale or disposed of. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount classified as inventory attributable to disposal group held for sale or disposed of. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-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 http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as prepaid and other assets attributable to disposal group held for sale or disposed of. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as property, plant and equipment attributable to disposal group held for sale or disposed of. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as liabilities attributable to disposal group held for sale or disposed of. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount classified as liabilities attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-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 http://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 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=123351718&loc=d3e2473-110228 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760 + Details
Name: | us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant