XML 76 R63.htm IDEA: XBRL DOCUMENT
v3.25.2

Related-Party Transactions (Details) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jul. 31, 2025 | Jul. 31, 2024 | Jul. 31, 2025 | Jul. 31, 2024 | Jan. 31, 2025
Related-Party Transactions (Details) [Line Items] |  |  |  |  |
Purchase of Corn and Other Supplies from Affiliates | $ 29.0 | $ 28.3 | $ 53.9 | $ 59.0 |
Related Party [Member] |  |  |  |  |
Related-Party Transactions (Details) [Line Items] |  |  |  |  |
Accounts Payable | $ 1.8 |  | $ 1.8 |  | $ 1.4

X
- Definition Purchase of Corn and Other Supplies from Affiliates. + References No definition available. + Details
Name: | rex_PurchaseOfCornAndOtherSuppliesFromAffiliates
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_AccountsPayableCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_RelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |