XML 71 R59.htm IDEA: XBRL DOCUMENT
v3.19.1

DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments - USD ($) $ in Thousands | Jan. 31, 2019 | Jan. 31, 2018
--- | --- | ---
Commodity Contract [Member] |  |  |
DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [1] | $ 44 |
Liability Derivatives, Fair Value | [1] |  | 87
Forward Contracts [Member] |  |  |
DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [2] |  | 72
Liability Derivatives, Fair Value | [2] | $ 22 | $ 34
[1] | Commodity futures assets are included in prepaid expense and other. Commodity futures liabilities are included in accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 2.0 million bushels of corn at January 31, 2019. These contracts are short/sell positions for approximately 2.5 million bushels of corn and approximately 2.8 million gallons of ethanol and long/buy positions for approximately 2.8 million gallons of ethanol at January 31, 2018.
[2] | Forward purchase contracts liabilities are included in accrued expenses and other current liabilities while forward purchase contracts assets are included in prepaid expenses and other. These contracts are for purchases of approximately 1.3 million bushels of corn at January 31, 2019 and 11.7 million bushels of corn at January 31, 2018.

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

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109250915&loc=d3e13433-108611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109250915&loc=d3e13433-108611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |