XML 43 R59.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Discontinued Operations (Details) - Schedule of Disposal Groups Including Discontinued Operations (USD $) In Thousands, unless otherwise specified | 3 Months Ended | 9 Months Ended
--- | --- | ---
Oct. 31, 2014 | Oct. 31, 2013 | Oct. 31, 2014 | Oct. 31, 2013
Schedule of Disposal Groups Including Discontinued Operations [Abstract] |  |  |  |
Net sales and revenue |  | $ 392 |  | $ 1,473
Cost of sales |  | 146 | (8) | 341
Income before income taxes |  | 471 | 8 | 912
Provision for income taxes |  | (184) | (3) | (356)
Income from discontinued operations, net of tax |  | 287 | 5 | 556
Gain on disposal | 210 | 983 | 217 | 1,200
Provision for income taxes | (72) | (383) | (81) | (468)
Gain on disposal of discontinued operations, net of tax | $ 138 | $ 600 | $ 136 | $ 732

X
- Details
Name: | rex_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsAbstract
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss), before tax expense or benefit and not previously recognized, resulting from the sale of a business component. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6892542&loc=d3e957-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6360339&loc=d3e1361-107760 + Details
Name: | us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain (loss), after tax expense or benefit and not previously recognized, resulting from the sale of a business component. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6892542&loc=d3e957-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6360339&loc=d3e1361-107760 + Details
Name: | us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Overall income (loss) from a disposal group that is classified as a component of the entity, before income tax, reported as a separate component of income before extraordinary items. Includes the following (before income tax): income (loss) from operations during the phase-out period, gain (loss) on disposal, provision (or any reversals of earlier provisions) for loss on disposal, and adjustments of a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6360339&loc=d3e1361-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6892542&loc=d3e957-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.12) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 13 -Article 7 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 05 -Paragraph 15 -Article 3 + Details
Name: | us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Tax effect allocated to a disposal group that is classified as a component of the entity reported as a separate component of income before extraordinary items. Includes the tax effects of the following: income (loss) from operations during the phase-out period, gain (loss) on disposal, provision (or any reversals of earlier provisions) for loss on disposal, and adjustments of a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b),(c) -URI http://asc.fasb.org/extlink&oid=6360339&loc=d3e1361-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32672-109319 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=18498875&loc=d3e38679-109324 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6892542&loc=d3e957-107759 + Details
Name: | us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Tax benefit from provision recognizing a loss for initial, or subsequent, write-down to fair value (less cost to sell) of a of a disposal group that is classified as a component of the entity, which remains unsold as of the reporting date. May include a tax on the (gain) for the recognition of a subsequent increase in fair value (less cost to sell), but not in excess of the cumulative loss previously recognized through write-downs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6892542&loc=d3e957-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6360339&loc=d3e1361-107760 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=18498875&loc=d3e38679-109324 + Details
Name: | us-gaap_DiscontinuedOperationTaxExpenseBenefitFromProvisionForGainLossOnDisposal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of costs of goods sold attributable to the disposal group, including a component of the entity (discontinued operation), during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6360339&loc=d3e1361-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of sales or other form of revenues attributable to the disposal group, including a component of the entity (discontinued operation), during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6360339&loc=d3e1361-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (loss) from a disposal group, net of income tax before extraordinary items allocable to noncontrolling interests. Includes, net of tax, income (loss) from operations during the phase-out period, gain (loss) on disposal, provision (or any reversals of earlier provisions) for loss on disposal, and adjustments of a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6892542&loc=d3e957-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.12) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 13 -Article 7 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6360339&loc=d3e1361-107760 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.14) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 15 -Article 5 + Details
Name: | us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration