XML 95 R74.htm IDEA: XBRL DOCUMENT
v2.4.1.9

DISCONTINUED OPERATIONS (Details) - Schedule of Disposal Groups Including Discontinued Operations (USD $) In Thousands, unless otherwise specified | 12 Months Ended
--- | ---
Jan. 31, 2015 | Jan. 31, 2014 | Jan. 31, 2013
Schedule of Disposal Groups Including Discontinued Operations [Abstract] |  |  |
Net sales and revenue | $ 47 us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue | $ 1,512 us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue | $ 3,047 us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue
Cost of sales | (321)us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold | 732 us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold | 1,871 us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold
Income before income taxes | 368 us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax | 538 us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax | 512 us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax
Provision for income taxes | (134)us-gaap_DiscontinuedOperationTaxExpenseBenefitFromProvisionForGainLossOnDisposal | (213)us-gaap_DiscontinuedOperationTaxExpenseBenefitFromProvisionForGainLossOnDisposal | (183)us-gaap_DiscontinuedOperationTaxExpenseBenefitFromProvisionForGainLossOnDisposal
Income from discontinued operations, net of tax | 234 us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax | 325 us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax | 329 us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax
Gain on disposal before provision for income taxes | 513 us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax | 1,226 us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax | 211 us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax
Provision for income taxes | (186)us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation | (485)us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation | (75)us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation
Gain on disposal of discontinued operations, net of tax | $ 327 us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax | $ 741 us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax | $ 136 us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax

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