XML 74 R58.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Restructuring Plans (Details) $ in Thousands |  |  | 12 Months Ended | 36 Months Ended |  |
--- | --- | --- | --- | --- | --- | ---
Feb. 21, 2017 USD ($) | Feb. 05, 2015 | Jun. 30, 2017 USD ($) | Jun. 30, 2017 USD ($) | Jun. 30, 2016 USD ($) | Jun. 30, 2014 USD ($)
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Purchase obligation due in next twelve months |  |  | $ 76,359 | $ 76,359 |  |
Expected restructuring costs |  |  | 31,000 |  |  |
Restructuring charges |  |  | 8,590 | 35,555 |  |
Restructuring charges settled without cash |  |  | 2,475 | 3,731 |  |
Restructuring charges incurred to date |  |  | 31,500 | 31,500 |  |
Restructuring depreciation expense |  |  | 2,300 |  |  |
Restructuring non-cash rent expense |  |  | 8,356 | 31,523 |  |
Restructuring reserve |  |  | 301 | 301 | $ 2,542 | $ 0
Corporate Relocation Plan |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Restructuring, number of positions affected |  | 350 |  |  |  |
Employee-related |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Expected restructuring costs |  |  | 18,000 |  |  |
Restructuring charges |  |  | 1,109 | 17,352 |  |
Restructuring charges settled without cash |  |  | 0 | 0 |  |
Restructuring non-cash rent expense |  |  | 3,150 | 17,051 |  |
Restructuring reserve |  |  | 301 | 301 | 2,342 | 0
Employee-related | DSD Restructuring Plan |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Restructuring and related cost, incurred cost |  |  | 1,100 |  |  |
Restructuring reserve |  |  | 700 | 700 |  |
Facility Closing |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Expected restructuring costs |  |  | 5,000 |  |  |
Restructuring charges |  |  | 6,187 | 10,779 |  |
Restructuring charges settled without cash |  |  | 2,475 | 3,731 |  |
Restructuring non-cash rent expense |  |  | 3,712 | 7,048 |  |
Restructuring reserve |  |  | 0 | 0 | 0 | 0
Other Restructuring |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Expected restructuring costs |  |  | 8,000 |  |  |
Restructuring charges |  |  | 1,294 | 7,424 |  |
Restructuring charges settled without cash |  |  | 0 | 0 |  |
Restructuring depreciation expense |  |  | 1,100 |  |  |
Restructuring non-cash rent expense |  |  | 1,494 | 7,424 |  |
Restructuring reserve |  |  | 0 | 0 | $ 200 | $ 0
Sale-leaseback transaction, rent expense, noncash |  |  | 1,400 |  |  |
Other Restructuring | DSD Restructuring Plan |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Restructuring non-cash rent expense |  |  | 1,700 |  |  |
Restructuring and related cost, incurred cost |  |  | 1,300 |  |  |
Minimum | DSD Restructuring Plan |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Expected restructuring costs | $ 3,700 |  |  |  |  |
Minimum | Employee-related | DSD Restructuring Plan |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Expected restructuring costs | 1,900 |  |  |  |  |
Minimum | Other Restructuring | DSD Restructuring Plan |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Expected restructuring costs | 1,800 |  |  |  |  |
Maximum | DSD Restructuring Plan |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Expected restructuring costs | 4,900 |  |  |  |  |
Maximum | Employee-related | DSD Restructuring Plan |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Expected restructuring costs | 2,700 |  |  |  |  |
Maximum | Other Restructuring | DSD Restructuring Plan |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Expected restructuring costs | $ 2,200 |  |  |  |  |
Texas Facility Construction Contract [Member] |  |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |  |
Purchase obligation due in next twelve months |  |  | $ 1,600 | $ 1,600 |  |

X
- Definition Restructuring and Related Cost, Expected + References No definition available. + Details
Name: | farm_RestructuringandRelatedCostExpected
Namespace Prefix: | farm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Restructuring and Related Cost, Number of Positions Affected + References No definition available. + Details
Name: | farm_RestructuringandRelatedCostNumberofPositionsAffected
Namespace Prefix: | farm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash payments made as the result of exit or disposal activities. Excludes payments associated with a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3536-108585 + Details
Name: | us-gaap_PaymentsForRestructuring
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Minimum amount of purchase arrangement maturing in the next fiscal year following the latest fiscal year. Includes, but not limited to, recorded and unrecorded purchase obligations, long-term purchase commitments, and short-term purchase commitments. + References No definition available. + Details
Name: | us-gaap_PurchaseObligationDueInNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of costs incurred to date for the specified restructuring cost. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringAndRelatedCostCostIncurredToDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Discloses the amount charged against the accrued restructuring reserves, or earnings if not previously accrued, during the period for the specified type of restructuring cost. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringAndRelatedCostIncurredCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140864-122747 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4(b)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 + Details
Name: | us-gaap_RestructuringReserve
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accelerated depreciation charged against earnings associated with exit from or disposal of business activities or restructuring plan. + References No definition available. + Details
Name: | us-gaap_RestructuringReserveAcceleratedDepreciation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of decrease in the reserve for full or partial settlement through consideration other than cash. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4(b)(2)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 + Details
Name: | us-gaap_RestructuringReserveSettledWithoutCash2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of the current period expense recorded for use of the property in connection with the transaction involving the sale of property to another party and the lease of the property back to the seller. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41499-112717 + Details
Name: | us-gaap_SaleLeasebackTransactionRentExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RestructuringPlanAxis=farm_CorporateRelocationPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=farm_EmployeerelatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=farm_DSDRestructuringPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=us-gaap_FacilityClosingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=us-gaap_OtherRestructuringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis=farm_TexasFacilityConstructionContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |