XML 53 R45.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments - USD ($) $ in Thousands | Jul. 31, 2022 | Jan. 31, 2022
--- | --- | ---
Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value |  | $ 3,501 | $ 993
Liability Derivatives, Fair Value |  | 3,461 | 933
Commodity Contract [Member] |  |  |
Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [1] | 3,501 |
Liability Derivatives, Fair Value | [1] |  | 933
Forward Contracts [Member] |  |  |
Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items] |  |  |
Asset Derivatives, Fair Value | [2] |  | 993
Liability Derivatives, Fair Value | [2] | $ 3,461 |
[1] | Commodity futures assets are included in “Prepaid expenses and other current assets” on the accompanying Consolidated Condensed Balance Sheets. These contracts included short/sell positions and long/buy positions for approximately 7.4 million bushels and 25,000 bushels, respectively at July 31, 2022. Commodity futures liabilities are included in accrued expenses and other current liabilities. These contracts include short/sell positions for approximately 7.4 million bushels of corn at January 31, 2022.
[2] | Forward contract liabilities, are included in “Accrued expenses and other current liabilities” on the accompanying Consolidated Condensed Balance Sheets. These contracts were for purchases of approximately 12.3 million bushels of corn at July 31, 2022. Forward purchase contracts assets are included in prepaid expenses and other current assets. These contracts were for purchases of approximately 19.2 million bushels of corn at January 31, 2022.

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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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: |