XML 56 R41.htm IDEA: XBRL DOCUMENT
v3.7.0.1

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) | 12 Months Ended
--- | ---
Jan. 31, 2017 USD ($) shares | Jan. 31, 2016 USD ($) | Jan. 31, 2015 USD ($)
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Number of Ethanol Entities Under Ownership Interest | 3 |  |
Concentration Risk Number of Customer | 5 | 4 | 4
Property, Plant and Equipment, Depreciation Methods | Depreciation is computed using the straight-line method. |  |
Impairment of Real Estate |  | $ 125,000 | $ 68,000
Depreciation | $ 19,519,000 | 18,638,000 | 16,387,000
Interest Paid |  |  | 2,136,000
Assets | $ 454,024,000 | 414,685,000 |
Derivative Settlement on Interest Rate Swap |  |  | $ 1,142,000
Employee Stock Ownership Plan (ESOP), Shares in ESOP (in Shares) | shares | 550,000 |  |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value |  | 4,000,000 |
Deferred Tax Expense from Stock Options Exercised |  | $ 800,000 |
Customer Concentration Risk [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Concentration Risk, Percentage | 83.00% | 75.00% | 74.00%
Accounts Receivable Balance [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Concentration Risk, Percentage | 88.00% | 47.00% |
Cost of Sales [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting | 20.00% |  |
Building and Building Improvements [Member] | Minimum [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Property, Plant and Equipment, Estimated Useful Lives | 15 |  |
Building and Building Improvements [Member] | Maximum [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Property, Plant and Equipment, Estimated Useful Lives | 40 years |  |
Fixtures And Equipment [Member] | Minimum [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Property, Plant and Equipment, Estimated Useful Lives | 2 |  |
Fixtures And Equipment [Member] | Maximum [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Property, Plant and Equipment, Estimated Useful Lives | 20 years |  |
Not Accounted For Under "Normal Purchases and Normal Sales" Scope [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Assets | $ 200,000 |  |
Liabilities | $ 100,000 | $ 300,000 |

X
- Definition Concentration risk number of customer. + References No definition available. + Details
Name: | rex_ConcentrationRiskNumberOfCustomer
Namespace Prefix: | rex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of derivative settlement on interest rate swap during the period. + References No definition available. + Details
Name: | rex_DerivativeSettlementOnInterestRateSwap
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of ethanol entities under ownership interest. + References No definition available. + Details
Name: | rex_NumberOfEthanolEntitiesUnderOwnershipInterest
Namespace Prefix: | rex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(12)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(11)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_Assets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6351-108592 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13531-108611 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6404-108592 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of deferred tax expense from write-off of the deferred tax asset related to deductible stock options at exercise. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=96864182&loc=d3e11283-113907 + Details
Name: | us-gaap_DeferredTaxExpenseFromStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 + Details
Name: | us-gaap_Depreciation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Sum of the allocated, committed-to-be-released and suspense shares of the entity held by the plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=65895303&loc=d3e17540-113929 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The charge against earnings in the period to reduce the carrying amount of real property to fair value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84176398&loc=d3e2921-110230 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 + Details
Name: | us-gaap_ImpairmentOfRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash paid for interest. Includes, but is not limited to, payment to settle zero-coupon bond attributable to accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4297-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3536-108585 + Details
Name: | us-gaap_InterestPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19-26) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_Liabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of the methodology for computing depreciation for classes of depreciable assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 + Details
Name: | us-gaap_PropertyPlantAndEquipmentDepreciationMethods
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 35 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=68071081&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 accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=rex_AccountsReceivableBalanceMember
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: |

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

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_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_FinancialInstrumentAxis=rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |