XML 59 R33.htm IDEA: XBRL DOCUMENT
v3.20.1

LEASES (Tables) | 12 Months Ended
--- | ---
Jan. 31, 2020
LEASES (Tables) [Line Items] |
Lease, Cost [Table Text Block] | For fiscal year 2019, the components of lease expense, classified as SG&A expenses on the Consolidated Statement of Operations are as follows (amounts in thousands):
Operating lease expense | $ | 6,526 |
Variable lease expense |  |  | 556 |
Total lease expense | $ | 7,082 |
Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block] | The following table is a summary of future minimum rentals on such leases at January 31, 2020 (amounts in thousands):
Years Ended January 31, |  | Minimum Rentals
| 2021 |  |  | $ | 5,668 |
| 2022 |  |  |  | 4,958 |
| 2023 |  |  |  | 3,251 |
| 2024 |  |  |  | 2,085 |
| 2025 |  |  |  | 1,228 |
| Thereafter |  |  |  | 29 |
| Total |  |  |  | 17,219 |
| Less: present value discount |  |  |  | 1,596 |
| Operating lease liabilities |  |  | $ | 15,623 |
3743 Railroad Equipment [Member] |
LEASES (Tables) [Line Items] |
Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block] | At January 31, 2019 the Company had operating lease agreements (pursuant to ASC 840, “Leases”), as lessee for railcars and other equipment. At January 31, 2019, future minimum annual rentals on such leases were as follows (amounts in thousands):
Years Ended January 31, |  | Minimum Rentals
| 2020 |  |  | $ | 6,767 |
| 2021 |  |  |  | 5,487 |
| 2022 |  |  |  | 4,791 |
| 2023 |  |  |  | 3,208 |
| 2024 |  |  |  | 2,041 |
| Thereafter |  |  |  | 1,221 |
| Total |  |  | $ | 23,515 |

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

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121573735&loc=d3e41502-112717 + Details
Name: | us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis=sic_Z3743
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |