XML 70 R60.htm IDEA: XBRL DOCUMENT
v3.20.1

DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments - USD ($) $ in Thousands | Jan. 31, 2020 | Jan. 31, 2019
--- | --- | ---
Commodity Contract [Member] |  |  |
DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [1] | $ 352 | $ 44
Liability Derivatives, Fair Value | [1] |  |
Forward Contracts [Member] |  |  |
DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [2] |  |
Liability Derivatives, Fair Value | [2] | $ 230 | $ 22
[1] | Commodity futures assets are included in prepaid expenses and other. These contracts are short/sell positions for approximately 3.7 million bushels of corn and long/buy positions for approximately 2.2 million bushels of corn at January 31, 2020. These contracts are short/sell positions for approximately 2.0 million bushels of corn at January 31, 2019.
[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.6 million bushels of corn at January 31, 2020 and 1.3 million bushels of corn at January 31, 2019.

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=121572278&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=121572278&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: |