XML 54 R45.htm IDEA: XBRL DOCUMENT
v3.21.2

Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments - USD ($) $ in Thousands | Oct. 31, 2021 | Jan. 31, 2021
--- | --- | ---
Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value |  | $ 430 | $ 2,144
Liability Derivatives, Fair Value |  | 4,509 | 1,794
Commodity Contract [Member] |  |  |
Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [1] |  |
Liability Derivatives, Fair Value | [1] | 3,822 | 1,794
Forward Contracts [Member] |  |  |
Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [2] | 430 | 2,144
Liability Derivatives, Fair Value | [2] | $ 687 |
[1] | Commodity futures liabilities are included in accrued expenses and other current liabilities. These contracts include short/sell positions for approximately 690,000 bushels of corn and 5.5 million gallons of ethanol at October 31, 2021. These contracts include short/sell positions for approximately 6.9 million bushels of corn at January 31, 2021. These contracts included long/buy positions for approximately 2.3 million bushels of corn at October 31, 2021. There were no long/buy positions at January 31, 2021. Commodity futures assets, had there been any at either October 31, 2021 or January 31, 2021 would be included in prepaid expenses and other assets.
[2] | Forward purchase contracts assets are included in prepaid expenses and other current assets. These contracts are for purchases of approximately 5.7 million bushels of corn at October 31, 2021 and 6.4 million bushels of corn at January 31, 2021. Forward contract liabilities are included in accrued expenses and other current liabilities. These contracts are for purchases of approximately 6.7 million bushels of corn at October 31, 2021. There were no forward contract liabilities as of 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: |