XML 50 R41.htm IDEA: XBRL DOCUMENT
v3.20.1

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) - Schedule of Components of Basis of Presentation - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jan. 31, 2020 | Jan. 31, 2019 | Jan. 31, 2018
Schedule of Components of Basis of Presentation [Abstract] |  |  |
Interest income | $ 4,120 | $ 3,514 | $ 1,556
Grant income |  |  | 691
Loss on sale of investment |  |  | (13)
Loss on disposal of real estate and property and equipment, net |  | (104) | (192)
Other | 92 | (22) | 18
Total | $ 4,212 | $ 3,388 | $ 2,060

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

X
- Definition The difference between the carrying value and the sale price of equity securities, not separately or otherwise categorized as trading or available-for-sale. This element includes investments in which the entity holds a small ownership stake (generally, less than 20% of the shares outstanding) and cannot exert significant influence. + References No definition available. + Details
Name: | us-gaap_GainLossOnSaleOfEquityInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain (loss) included in earnings for investments classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 + Details
Name: | us-gaap_GainLossOnSaleOfOtherInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 + Details
Name: | us-gaap_GainLossOnSaleOfPropertyPlantEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of amounts due under the terms of governmental, corporate, or foundation grants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.8) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_GrantsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.7(b)) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599 + Details
Name: | us-gaap_InvestmentIncomeInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after accretion (amortization) of discount (premium), and investment expense, of interest income and dividend income on nonoperating securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.7(a),(b)) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 + Details
Name: | us-gaap_InvestmentIncomeNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration