XML 52 R43.htm IDEA: XBRL DOCUMENT
v3.21.2

Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments - USD ($) $ in Thousands | Jul. 31, 2021 | Jan. 31, 2021
--- | --- | ---
Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value |  | $ 1,457 | $ 2,144
Liability Derivatives, Fair Value |  | 4,590 | 1,794
Commodity Contract [Member] |  |  |
Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [1] | 784 |
Liability Derivatives, Fair Value | [1] | 4,590 | 1,794
Forward Contracts [Member] |  |  |
Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [2] | 673 | 2,144
Liability Derivatives, Fair Value | [2] |  |
[1] | Commodity futures liabilities are included in accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 8.6 million bushels of corn at July 31, 2021. These contracts are short/sell positions for approximately 6.9 million bushels of corn at January 31, 2021. Commodity futures assets are included in prepaid expenses and other assets. These contracts are long/buy positions for approximately 5.8 million bushels of corn at July 31, 2021. There were no long/buy positions at January 31, 2021.
[2] | Forward purchase contracts assets are included in prepaid expenses and other current assets. These contracts are for purchases of approximately 10.6 million bushels of corn at July 31, 2021 and 6.4 million bushels of corn at January 31, 2021.

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://www.xbrl.org/2003/role/disclosureRef -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/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 Reference 3: 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=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -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://www.xbrl.org/2003/role/disclosureRef -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 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 3: 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=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-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: |