XML 50 R38.htm IDEA: XBRL DOCUMENT
v3.19.1

Segment Reporting (Tables) | 12 Months Ended
--- | ---
Jan. 31, 2019
Segment Reporting (Tables) [Line Items] |
Schedule of Segment Reporting Information, by Segment [Table Text Block] | The following tables summarize segment and other results and assets (amounts in thousands):
|  | Fiscal Year |
|  | 2018 |  |  | 2017 |  |  | 2016 |
Net sales and revenue: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 485,885 |  |  | $ | 452,153 |  |  | $ | 453,799 |
Refined coal 1 |  |  | 786 |  |  |  | 433 |  |  |  | — |
Total net sales and revenue |  | $ | 486,671 |  |  | $ | 452,586 |  |  | $ | 453,799 |
Segment gross profit (loss): |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 43,856 |  |  | $ | 51,509 |  |  | $ | 71,039 |
Refined coal |  |  | (13,641 | ) |  |  | (7,348 | ) |  |  | — |
Total gross profit |  | $ | 30,215 |  |  | $ | 44,161 |  |  | $ | 71,039 |
Income (loss) before income taxes: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 31,545 |  |  | $ | 38,352 |  |  | $ | 59,447 |
Refined coal |  |  | (15,204 | ) |  |  | (10,021 | ) |  |  | — |
Corporate and other |  |  | (1,753 | ) |  |  | (2,938 | ) |  |  | (2,536 | )
Total income before income taxes |  | $ | 14,588 |  |  | $ | 25,393 |  |  | $ | 56,911 |
Benefit (provision) for income taxes: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | (2,343 | ) |  | $ | 3,245 |  |  | $ | (18,259 | )
Refined coal |  |  | 24,674 |  |  |  | 15,168 |  |  |  | — |
Corporate and other |  |  | 591 |  |  |  | 1,106 |  |  |  | 866 |
Total benefit (provision) for income taxes |  | $ | 22,922 |  |  | $ | 19,519 |  |  | $ | (17,393 | )
Segment profit (loss): |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 23,346 |  |  | $ | 35,880 |  |  | $ | 33,950 |
Refined coal |  |  | 10,148 |  |  |  | 5,628 |  |  |  | — |
Corporate and other |  |  | (1,849 | ) |  |  | (1,802 | ) |  |  | (1,617 | )
Net income attributable to REX common shareholders |  | $ | 31,645 |  |  | $ | 39,706 |  |  | $ | 32,333 |
|  | Fiscal Year |
|  | 2018 |  |  | 2017 |  |  | 2016 |
Sales of products, ethanol and by-products segment: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol |  | $ | 368,319 |  |  | $ | 359,239 |  |  | $ | 358,349 |
Dried distillers grains |  |  | 85,417 |  |  |  | 63,120 |  |  |  | 71,204 |
Non-food grade corn oil |  |  | 20,097 |  |  |  | 21,195 |  |  |  | 18,518 |
Modified distillers grains |  |  | 11,950 |  |  |  | 8,525 |  |  |  | 5,326 |
Other |  |  | 102 |  |  |  | 74 |  |  |  | 402 |
Total sales |  | $ | 485,885 |  |  | $ | 452,153 |  |  | $ | 453,799 |
Sales of products, refined coal segment: |  |  |  |  |  |  |  |  |  |  |  |
Refined coal |  | $ | 786 |  |  | $ | 433 |  |  | $ | — |
Interest income: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 2,460 |  |  | $ | 878 |  |  | $ | 212 |
Refined coal |  |  | — |  |  |  | — |  |  |  | — |
Corporate and other |  |  | 1,054 |  |  |  | 678 |  |  |  | 222 |
Total interest income |  | $ | 3,514 |  |  | $ | 1,556 |  |  | $ | 434 |
Depreciation expense: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 22,004 |  |  | $ | 20,037 |  |  | $ | 19,464 |
Refined coal |  |  | 2,784 |  |  |  | 1,385 |  |  |  | — |
Corporate and other |  |  | 40 |  |  |  | 40 |  |  |  | 55 |
Total depreciation expense |  | $ | 24,828 |  |  | $ | 21,462 |  |  | $ | 19,519 |
Equity in income of unconsolidated affiliates: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 1,536 |  |  | $ | 3,232 |  |  | $ | 6,144 |
Refined coal |  |  | — |  |  |  | — |  |  |  | — |
Corporate and other |  |  | — |  |  |  | — |  |  |  | — |
Total equity in income of unconsolidated affiliates |  | $ | 1,536 |  |  | $ | 3,232 |  |  | $ | 6,144 |
(Loss) gain on sale of investment: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | — |  |  | $ | (13 | ) |  | $ | 192 |
Refined coal |  |  | — |  |  |  | — |  |  |  | — |
Corporate and other |  |  | — |  |  |  | — |  |  |  | — |
Total gain on sale of investment |  | $ | — |  |  | $ | (13 | ) |  | $ | 192 |
1 Sales in the refined coal segment are recorded net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal is sold.
Assets [Member] |
Segment Reporting (Tables) [Line Items] |
Schedule of Segment Reporting Information, by Segment [Table Text Block] |
|  | January 31, |
Assets: |  | 2019 |  |  | 2018 |
Ethanol and by-products |  | $ | 393,691 |  |  | $ | 384,997 |
Refined coal |  |  | 8,625 |  |  |  | 12,165 |
Corporate and other |  |  | 69,077 |  |  |  | 81,702 |
Total assets |  | $ | 471,393 |  |  | $ | 478,864 |
Additions to other long lived assets: |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | — |  |  | $ | 796 |
Refined coal |  |  | — |  |  |  | — |
Corporate and other |  |  | — |  |  |  | — |
Total additions to other long lived assets |  | $ | — |  |  | $ | 796 |
Additions to property and equipment: |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 10,697 |  |  | $ | 24,017 |
Refined coal |  |  | 78 |  |  |  | — |
Corporate and other |  |  | — |  |  |  | — |
Total additions to property and equipment |  | $ | 10,775 |  |  | $ | 24,017 |

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

X
- Definition Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8813-108599 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8721-108599 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8906-108599 + Details
Name: | us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=us-gaap_AssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |