XML 44 R35.htm IDEA: XBRL DOCUMENT
v3.21.2

Accounting Policies (Details) - USD ($) | 3 Months Ended | 9 Months Ended | 12 Months Ended
--- | --- | --- | ---
Oct. 31, 2021 | Oct. 31, 2020 | Oct. 31, 2021 | Oct. 31, 2020 | Jan. 31, 2021
Accounting Policies (Details) [Line Items] |  |  |  |  |
Outbound Freight Charges | $ 210,000 | $ 916,000 | $ 7,366,000 | $ 3,078,000 |
Income Taxes Paid |  |  | 2,800,000 | 500,000 |
Proceeds from Income Tax Refunds |  |  |  | $ 700,000 |
Unrecognized Tax Benefits | 8,793,000 |  | 8,793,000 |  | $ 8,380,000
Income Tax Examination, Penalties and Interest Accrued | 35,000 |  | 35,000 |  | 20,000
Inventory Write-down |  |  | $ 100,000 |  | $ 1,000,000
Minimum [Member] | Building and Building Improvements [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Estimated Useful Lives |  |  | 15 |  |
Minimum [Member] | Fixtures And Equipment [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Estimated Useful Lives |  |  | 3 |  |
Maximum [Member] | Building and Building Improvements [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Estimated Useful Lives |  |  | 40 years |  |
Maximum [Member] | Fixtures And Equipment [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Estimated Useful Lives |  |  | 20 years |  |
Provision for Income Taxes [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Unrecognized Tax Benefits | $ (8,800,000) |  | $ (8,800,000) |  |
Cost of Sales [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting |  |  | 20.00% |  |

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

X
- Definition Maximum percentage of equity ownership interest which may be considered for equity method of accounting. + References No definition available. + Details
Name: | rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting
Namespace Prefix: | rex_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585 + Details
Name: | us-gaap_IncomeTaxesPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=116847112&loc=d3e4542-108314 + Details
Name: | us-gaap_InventoryWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of cash received during the period as refunds for the overpayment of taxes. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586 + Details
Name: | us-gaap_ProceedsFromIncomeTaxRefunds
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Describes the periods of time over which an entity anticipates to receive utility from its property, plant and equipment (that is, the periods of time over which an entity allocates the initial cost of its property, plant and equipment). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 35 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123364984&loc=d3e1205-110223 + Details
Name: | us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 10B -URI http://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=rex_ProvisionForIncomeTaxesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |