XML 31 R42.htm IDEA: XBRL DOCUMENT
v2.4.1.9

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) (USD $) | 12 Months Ended
--- | ---
Jan. 31, 2015 | Jan. 31, 2014 | Jan. 31, 2013
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Number of Ethanol Entities Under Ownership Interest | 4 rex_NumberOfEthanolEntitiesUnderOwnershipInterest |  |
Number of Reportable Segments | 1 us-gaap_NumberOfReportableSegments |  |
Concentration Risk Number of Customer | 4 rex_ConcentrationRiskNumberOfCustomer |  |
Concentration Risk, Percentage | 74.00%us-gaap_ConcentrationRiskPercentage1 | 82.00%us-gaap_ConcentrationRiskPercentage1 | 81.00%us-gaap_ConcentrationRiskPercentage1
Property, Plant and Equipment, Depreciation Methods | Depreciation is computed using the straight-line method |  |
Impairment of Real Estate | $ 68,000 us-gaap_ImpairmentOfRealEstate | $ 55,000 us-gaap_ImpairmentOfRealEstate | $ 562,000 us-gaap_ImpairmentOfRealEstate
Estimated Cash Flow Percentage | 25.00%rex_EstimatedCashFlowPercentage |  |
EstimatedFutureCashFlowsTerms | six |  |
Depreciation | 16,387,000 us-gaap_Depreciation | 16,915,000 us-gaap_Depreciation | 16,081,000 us-gaap_Depreciation
Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting | 20.00%rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting |  |
Interest Paid | 2,136,000 us-gaap_InterestPaid | 3,492,000 us-gaap_InterestPaid | 4,449,000 us-gaap_InterestPaid
Derivative Settlement on Interest Rate Swap | 1,142,000 rex_DerivativeSettlementOnInterestRateSwap | 1,687,000 rex_DerivativeSettlementOnInterestRateSwap | 1,816,000 rex_DerivativeSettlementOnInterestRateSwap
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares) | 0 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross | 0 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross | 0 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value | 4,000,000 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue | 1,100,000 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue | 1,800,000 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Deferred Tax Expense from Stock Options Exercised | 800,000 us-gaap_DeferredTaxExpenseFromStockOptionsExercised | 400,000 us-gaap_DeferredTaxExpenseFromStockOptionsExercised | 200,000 us-gaap_DeferredTaxExpenseFromStockOptionsExercised
Cost of Sales [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Impairment of Real Estate |  | 55,000 us-gaap_ImpairmentOfRealEstate / us-gaap_IncomeStatementLocationAxis = us-gaap_CostOfSalesMember | 13,000 us-gaap_ImpairmentOfRealEstate / us-gaap_IncomeStatementLocationAxis = us-gaap_CostOfSalesMember
Discontinued Operation [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Impairment of Real Estate |  |  | $ 549,000 us-gaap_ImpairmentOfRealEstate / us-gaap_IncomeStatementLocationAxis = rex_DiscontinuedOperationMember
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 |  |
Fixtures And Equipment [Member] | Minimum [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Property, Plant and Equipment, Estimated Useful Lives | 3 |  |
Fixtures And Equipment [Member] | Maximum [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Property, Plant and Equipment, Estimated Useful Lives | 20 |  |
Customer Concentration Risk [Member] |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |
Concentration Risk, Percentage | 76.00%us-gaap_ConcentrationRiskPercentage1 / us-gaap_ConcentrationRiskByTypeAxis = us-gaap_CustomerConcentrationRiskMember | 91.00%us-gaap_ConcentrationRiskPercentage1 / us-gaap_ConcentrationRiskByTypeAxis = us-gaap_CustomerConcentrationRiskMember |

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 No authoritative reference available. + References No definition available. + Details
Name: | rex_EstimatedCashFlowPercentage
Namespace Prefix: | rex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description relates to the estimated future cash flows of an entity during the period. + References No definition available. + Details
Name: | rex_EstimatedFutureCashFlowsTerms
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: | 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
- Details
Name: | rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=35750535&loc=d3e13537-108611 Reference 2: 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=6927468&loc=d3e6404-108592 Reference 3: 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=35750535&loc=d3e13531-108611 Reference 4: 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=6927468&loc=d3e6351-108592 + 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=32706628&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=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_Depreciation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&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 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6391110&loc=d3e2921-110230 + Details
Name: | us-gaap_ImpairmentOfRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of cash paid for interest during the period. + 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=6367179&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=31042434&loc=d3e3536-108585 + Details
Name: | us-gaap_InterestPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References No definition available. + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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=6367646&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=6539997&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=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gross number of share options (or share units) granted during the period. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
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_IncomeStatementLocationAxis=rex_DiscontinuedOperationMember
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=rex_FixturesAndEquipmentMember
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: |