XML 63 R53.htm IDEA: XBRL DOCUMENT
v2.4.0.8

BUSINESS COMBINATIONS (Details) - Schedule of Recognized Identified Assets Acquired and Liabilities Assumed (USD $) In Thousands, unless otherwise specified | 12 Months Ended | 24 Months Ended
--- | --- | ---
Jan. 31, 2014 | Jan. 31, 2012 | Jan. 31, 2013
Consideration transferred: |  |  |
Cash | $ 10,413 |  |
Fair value of non-controlling interest | 955 |  |
Fair value of 48% equity method investment | 18,642 |  |
| 30,010 |  |
Net assets acquired: |  |  |
Cash | 24,971 |  |
Accounts receivable | 7,381 |  |
Inventory | 8,491 |  |
Prepaid expenses and other current assets | 711 |  |
Other assets | 2,995 |  |
Property, plant and equipment | 78,618 |  |
Current liabilities | (19,167) |  |
Long-term debt | (65,000) |  |
| 39,000 |  |
Bargain purchase gain | $ 8,990 | $ 3,541 | $ 3,500

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

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

X
- Definition The total cost of the acquired entity including the cash paid to shareholders of acquired entities, fair value of debt and equity securities issued to shareholders of acquired entities, the fair value of the liabilities assumed, and direct costs of the acquisition. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total purchase price of the acquired entity. This includes cash paid to equity interest holders of the acquired entity, fair value of debt and equity securities issued to equity holders of the acquired entity, and transaction costs paid to third parties to consummate the acquisition. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of cash and cash equivalents acquired in a business combination. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsCashAndCashEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of acquisition cost of a business combination allocated to inventory, including finished goods, work-in-process, and raw materials. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsInventory
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of acquisition cost of a business combination allocated to prepaid expenses and other current assets. Does not include amounts allocated to cash and cash equivalents, marketable securities, receivables, inventory, and assets not to be used. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsPrepaidExpenseAndOtherAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of acquisition cost of a business combination allocated to receivables. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of acquisition cost of a business combination allocated to current liabilities of the acquired entity. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of acquisition cost of a business combination allocated to noncontrolling interests. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of acquisition cost of a business combination allocated to notes payables and long-term debt assumed from the acquired entity. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationNotesPayableAndLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of acquisition cost of a business combination allocated to other noncurrent assets not separately disclosed. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationOtherNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of acquisition cost of a business combination allocated to property, plant and equipment to be used in ongoing operations. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition In a business combination in which the amount of net identifiable assets acquired and liabilities assumed exceeds the aggregate consideration transferred or to be transferred (as defined), this element represents the amount of gain recognized by the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (f)(1) -URI http://asc.fasb.org/extlink&oid=7488404&loc=d3e6927-128479 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6571-128477 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6527-128477 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6396-128476 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6387-128476 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6393-128476 + Details
Name: | us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value at acquisition-date of the equity interest in the acquiree held by the acquirer, immediately before the acquisition date for businesses combined in stages. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (g)(1) -URI http://asc.fasb.org/extlink&oid=25497992&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration