XML 57 R42.htm IDEA: XBRL DOCUMENT
v3.8.0.1

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) | 1 Months Ended | 3 Months Ended | 11 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Jan. 31, 2018 USD ($) shares | Oct. 31, 2017 | Dec. 31, 2017 | Jan. 31, 2018 USD ($) shares | Jan. 31, 2017 USD ($) | Jan. 31, 2016 USD ($)
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |  |  |  |
Number of Entities Under Ownership Interest (in Dollars) |  |  |  | $ 5 |  |
Number of Consolidated Subsidiaries |  |  |  | 4 |  |
Number of Equity Method Investments |  |  |  | 1 |  |
Number of Reportable Segments |  | 2 |  | 2 | 1 |
Inventory Write-down (in Dollars) |  |  |  | $ 0 | $ 0 | $ 0
Property, Plant and Equipment, Depreciation Methods |  |  |  | Depreciation is computed using the straight-line method. |  |
Asset Impairment Charges (in Dollars) |  |  |  | $ 0 | 0 | 125,000
Depreciation (in Dollars) |  |  |  | 21,462,000 | 19,519,000 | 18,638,000
Material Settlements of Forward Contracts (in Dollars) |  |  |  | 0 | 0 | 0
Assets (in Dollars) | $ 478,864,000 |  |  | 478,864,000 | 454,024,000 | $ 414,685,000
Liabilities (in Dollars) | $ 121,000 |  |  | $ 121,000 | $ 100,000 |
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized (in Shares) | shares | 550,000 |  |  | 550,000 |  |
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent | 21.00% |  | 35.00% | 33.80% | 35.00% | 35.00%
Other Comprehensive Income (Loss), Net of Tax (in Dollars) |  |  |  | $ 0 |  |
Customer Concentration Risk [Member] |  |  |  |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |  |  |  |
Concentration Risk Number of Customer |  |  |  | 6 | 5 | 4
Concentration Risk, Percentage |  |  |  | 87.00% | 83.00% | 75.00%
Refined Coal [Member] |  |  |  |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |  |  |  |
Number of Entities Under Ownership Interest (in Dollars) |  |  |  | $ 5 |  |
Assets (in Dollars) | $ 12,165,000 |  |  | $ 12,165,000 |  |
Ethanol [Member] |  |  |  |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |  |  |  |
Number of Operating Segments |  |  |  | 3 |  |
Assets (in Dollars) | $ 384,997,000 |  |  | $ 384,997,000 | $ 371,464,000 | $ 348,779,000
Majority-Owned Subsidiary, Unconsolidated [Member] |  |  |  |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |  |  |  |
Number of Consolidated Subsidiaries |  |  |  | 2 |  |
Majority-Owned Subsidiary, Unconsolidated [Member] | Refined Coal [Member] |  |  |  |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |  |  |  |
Number of Operating Segments |  |  |  | 1 |  |
Majority-Owned Subsidiary, Unconsolidated [Member] | Ethanol [Member] |  |  |  |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |  |  |  |
Number of Operating Segments |  |  |  | 2 |  |
Accounts Receivable Balance [Member] | Customer Concentration Risk [Member] |  |  |  |  |  |
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) [Line Items] |  |  |  |  |  |
Concentration Risk, Percentage |  |  |  | 89.00% | 88.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 |  |  |  | 5 |  |
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 (in Dollars) |  |  |  |  |  | $ 100,000
Liabilities (in Dollars) |  |  |  |  | $ 200,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 Material Settlements of Forward Contracts recorded at fair value + References No definition available. + Details
Name: | rex_MaterialSettlementsOfForwardContracts
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
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
- References No definition available. + Details
Name: | rex_NumberOfConsolidatedSubsidiaries
Namespace Prefix: | rex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Entities Under Ownership Interest + References No definition available. + Details
Name: | rex_NumberOfEntitiesOwnershipInterest
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

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

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

X
- Definition Amount of write-down of assets recognized in the income statement. Includes, but is not limited to, losses from tangible assets, intangible assets and goodwill. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=68055307&loc=d3e2420-110228 Reference 2: 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 + Details
Name: | us-gaap_AssetImpairmentCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 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 Percentage of domestic federal statutory tax rate applicable to pretax income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 6.I) -URI http://asc.fasb.org/extlink&oid=34349781&loc=d3e330036-122817 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32698-109319 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
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/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=66092785&loc=d3e4542-108314 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 35 -Paragraph 1C -URI http://asc.fasb.org/extlink&oid=68049868&loc=SL66093883-108312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 35 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=68049868&loc=SL66093879-108312 + Details
Name: | us-gaap_InventoryWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. + References No definition available. + Details
Name: | us-gaap_NumberOfOperatingSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
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 Amount after tax and reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669619-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669625-108580 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 55 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=84158357&loc=d3e1436-108581 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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=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 The maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested). + 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 (a)(3) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=rex_RefinedCoalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OwnershipAxis=us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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