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

Summary of Significant Accounting Policies - Narrative (Details) | 3 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Jun. 30, 2018 USD ($) warehouse route | Mar. 31, 2018 USD ($) | Dec. 31, 2017 USD ($) | Sep. 30, 2017 USD ($) | Jun. 30, 2017 USD ($) | Mar. 31, 2017 USD ($) | Dec. 31, 2016 USD ($) | Sep. 30, 2016 USD ($) | Jun. 30, 2018 USD ($) warehouse route | Jun. 30, 2017 USD ($) | Jun. 30, 2016 USD ($) | Jul. 01, 2017 USD ($)
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
number of delivery routes | route | 447 |  |  |  |  |  |  |  | 447 |  |  |
Allowance for Doubtful Accounts Receivable, Period Increase (Decrease) |  |  |  |  |  |  |  |  | $ 226,000 | $ (7,000) |  |
Cost of goods sold | $ 96,939,000 | $ 105,716,000 | $ 111,175,000 | $ 85,672,000 | $ 91,025,000 | $ 88,305,000 | $ 89,531,000 | $ 85,761,000 | 399,502,000 | 354,622,000 | $ 373,214,000 |
Shipping and handling costs |  |  |  |  |  |  |  |  | 11,900,000 | 10,700,000 | 11,100,000 |
Undiscounted workers' compensation liability | 7,100,000 |  |  |  | 9,400,000 |  |  |  | 7,100,000 | 9,400,000 |  |
Reinsurance recoveries | 900,000 |  |  |  | 1,500,000 |  |  |  | 900,000 | 1,500,000 |  |
Liability for Claims and Claims Adjustment Expense | 1,700,000 |  |  |  | 900,000 |  |  |  | 1,700,000 | 900,000 |  |
Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Share-based Compensation Cost | 1,600,000 |  |  |  | 1,600,000 |  |  |  | 1,600,000 | 1,600,000 |  |
Adjustments to allowance for doubtful accounts |  |  |  |  |  |  |  |  | (909,000) | (325,000) | (71,000) |
Cash [Member] |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Letter of credit posted as security deposit |  |  |  |  |  |  |  |  | 2,300,000 |  |  |
Security Deposit - Letter of Credit |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Letter of credit posted as security deposit |  |  |  |  |  |  |  |  | $ 2,000,000 |  |  |
Workforce Subject to Collective Bargaining Arrangements |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Concentration risk (percent) |  |  |  |  |  |  |  |  | 27.00% |  |  |
Health Insurance Product Line |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Self Insurance Reserve | $ 1,600,000 |  |  |  | $ 2,500,000 |  |  |  | $ 1,600,000 | 2,500,000 |  |
Coffee Brewing Equipment and Service |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Cost of goods sold |  |  |  |  |  |  |  |  | $ 30,200,000 | 26,300,000 | $ 27,000,000 |
Branch Warehouses |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Number of real estate properties | warehouse | 111 |  |  |  |  |  |  |  | 111 |  |  |
Building and Facilities | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment useful life |  |  |  |  |  |  |  |  | 30 years |  |  |
Building and Facilities | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment useful life |  |  |  |  |  |  |  |  | 10 years |  |  |
Machinery and Equipment | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment useful life |  |  |  |  |  |  |  |  | 10 years |  |  |
Machinery and Equipment | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment useful life |  |  |  |  |  |  |  |  | 3 years |  |  |
Office Furniture and Equipment | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment useful life |  |  |  |  |  |  |  |  | 7 years |  |  |
Office Furniture and Equipment | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment useful life |  |  |  |  |  |  |  |  | 5 years |  |  |
Capitalized Software Costs | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment useful life |  |  |  |  |  |  |  |  | 5 years |  |  |
Capitalized Software Costs | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment useful life |  |  |  |  |  |  |  |  | 3 years |  |  |
Deposits [Member] |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Letter of credit posted as security deposit |  |  |  |  |  |  |  |  |  | $ 3,400,000 |  |
Accounting Standards Update 2017-12 [Member] |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Adjustment due to the adoption of ASU |  |  |  |  |  |  |  |  |  |  |  | $ 133,000
Accounting Standards Update 2017-12 [Member] | Retained Earnings |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Adjustment due to the adoption of ASU |  |  |  | $ 300,000 |  |  |  |  |  |  |  | $ 342,000

X
- Definition Adjustments to allowance for doubtful accounts + References No definition available. + Details
Name: | farm_Adjustmentstoallowancefordoubtfulaccounts
Namespace Prefix: | farm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition number of delivery routes + References No definition available. + Details
Name: | farm_Numberofdeliveryroutes
Namespace Prefix: | farm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of increase (decrease) in the allowance for doubtful accounts. + References No definition available. + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6351-108592 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13531-108611 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6404-108592 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total costs related to goods produced and sold during the reporting period. + References Reference 1: 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.2(a)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_CostOfGoodsSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after tax of increase (decrease) to equity or (increase) decrease to net assets, resulting from the cumulative effect adjustment of a new accounting principle applied in the period of adoption. + References No definition available. + Details
Name: | us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32632-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=96869850&loc=d3e28680-109314 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32621-109319 + Details
Name: | us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount needed to reflect the estimated ultimate cost of settling claims relating to insured events that have occurred on or before the balance sheet date, whether or not reported to the insurer at that date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=65670824&loc=d3e14764-158437 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (cc) -URI http://asc.fasb.org/extlink&oid=65670824&loc=d3e14764-158437 + Details
Name: | us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The liability as of the balance sheet date representing required funding mandated by statute or regulatory authority that is related directly or indirectly to underwriting activities, including pools for self-insurance and excluding premium taxes and income taxes. The funds derived from the assessments generally enable a government guarantor to pay insurance claims in the event that the underwriting insurer is insolvent or otherwise unable to meet its payment obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 405 -SubTopic 30 -Section 15 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=51828112&loc=d3e23169-109297 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 405 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6392405&loc=d3e24119-109301 + Details
Name: | us-gaap_LossContingencyUndiscountedAmountOfInsuranceRelatedAssessmentLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of real estate properties owned as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfRealEstateProperties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after valuation allowance, recoverable under reinsurance contracts including premium paid under reinsurance contracts. Examples include, but are not limited to, settled and unsettled claims, incurred but not reported losses, loss adjustment expense, premium paid, policy benefits and policy reserves. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6480758&loc=d3e6824-158387 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 310 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6485522&loc=d3e21409-158489 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.(a),6) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_ReinsuranceRecoverables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount (including both current and noncurrent portions) of accrued known and estimated losses incurred as of the balance sheet date for which no insurance coverage exists, and for which a claim has been made or is probable of being asserted, typically arising from workmen's compensation-type of incidents and personal injury to nonemployees from accidents on the entity's property. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.24) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_SelfInsuranceReserve
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cost incurred during the reporting period in transporting goods and services to customers. Includes freight-out costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 45 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=68080631&loc=d3e61069-111654 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 45 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=68075638&loc=d3e60635-111653 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18726-107790 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 45 -Section S99 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82851458&loc=d3e221937-122793 + Details
Name: | us-gaap_ShippingHandlingAndTransportationCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of obligations and payables pertaining to claims incurred of a workers compensation nature. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)(5)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(24)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)(a)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_WorkersCompensationLiabilityCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_CashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_FinancialStandbyLetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_WorkforceSubjectToCollectiveBargainingArrangementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ProductOrServiceAxis=us-gaap_HealthInsuranceProductLineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ProductOrServiceAxis=farm_CoffeeBrewingEquipmentAndServiceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=farm_BranchWarehousesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
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_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_MachineryAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_OfficeEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_SoftwareAndSoftwareDevelopmentCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | farm_SecurityDepositSelfInsuranceAxis=us-gaap_DepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=farm_AccountingStandardsUpdate201712Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |