XML 43 R35.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Accounting Policies (Details) - USD ($) | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jul. 31, 2022 | Jul. 31, 2021 | Jul. 31, 2022 | Jul. 31, 2021 | Jan. 31, 2022
Accounting Policies (Details) [Line Items] |  |  |  |  |
Outbound Freight Charges | $ 2,627,000 | $ 1,561,000 | $ 2,900,000 | $ 7,156,000 |
Income Taxes Paid |  |  | 1.1 | 1.9 |
Proceeds from Income Tax Refunds |  |  | 0 | $ 0 |
Unrecognized Tax Benefits | 16,827,000 |  | 16,827,000 |  | $ 16,741,000
Income Tax Examination, Penalties and Interest Accrued | 46,000 |  | 46,000 |  | 40,000
Inventory Write-down |  |  | $ 800,000 |  | $ 500,000
Property, Plant and Equipment, Estimated Useful Lives |  |  | Property and Equipment Property and equipment is recorded at cost or the fair value on the date of acquisition (for property and equipment acquired in a business combination). Depreciation is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements, and 3 to 20 years for fixtures and equipment. In accordance with ASC 360-10 “Impairment or Disposal of Long-Lived Assets”, the carrying value of long-lived assets is assessed for recoverability by management when changes in circumstances indicate that the carrying amount may not be recoverable. The Company did not identify any indicators of impairment during the first six months of fiscal year 2022 or 2021, thus there were no impairment charges in the first six months of fiscal year 2022 or 2021. The Company tests for recoverability of an asset group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount exceeds its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by which the asset group’s carrying amount exceeds its fair value, if any. |  |
Government Assistance, Amount | 7,800,000 |  |  |  |
Building and Building Improvements [Member] | Minimum [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Estimated Useful Lives |  |  | 15 |  |
Building and Building Improvements [Member] | Maximum [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Estimated Useful Lives |  |  | 40 years |  |
Fixtures And Equipment [Member] | Minimum [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Estimated Useful Lives |  |  | 3 |  |
Fixtures And Equipment [Member] | Maximum [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 | $ 16,700,000 |  | $ 16,700,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 Amount of government assistance recognized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 832 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128342832&loc=SL128342943-244231 + Details
Name: | us-gaap_GovernmentAssistanceAmount
Namespace Prefix: | us-gaap_
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 https://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 https://asc.fasb.org/extlink&oid=126999549&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 https://asc.fasb.org/extlink&oid=126954810&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 https://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 https://asc.fasb.org/extlink&oid=126954810&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 https://asc.fasb.org/extlink&oid=126999549&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 https://asc.fasb.org/extlink&oid=126905813&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 https://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 https://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: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
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_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember
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: |